/* Reset & Layout Setup */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0078FF, #00C6FF);
    background-image: url('bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    /* min-height: 100vh; */
}

/* Main content wrapper */
.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container Styles */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    background-color: #ffffffcc;
    padding: 20px;
    box-sizing: border-box;
}

/* Logo Styling */
.logo {
    height: 120px;
    width: auto;
    margin: 10px;
}

/* Accordion Button */
.accordion {
    background-color: #0078AA;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 18px;
    border-radius: 10px;
    margin-top: 15px;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.accordion:hover,
.accordion.active {
    background-color: #005f88;
}

/* Panel Animation */
.panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    border-radius: 10px;
    margin-top: 10px;
    padding: 0 18px;
}

/* Form Inputs */
input[type="text"],
input[type="number"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #4c87af;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

input:focus {
    border-color: #456fa0;
    box-shadow: 0 0 10px rgba(72, 239, 112, 0.7);
    outline: none;
}

/* Button Styling */
.display-button {
    background-color: #0078AA;
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
}

.display-button:hover {
    background-color: #17c5f1;
}

/* Header */
.header-container {
    text-align: center;
    background-color: #fcfdff8a;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

h2 {
    color: #0078AA;
    font-size: 24px;
    margin: 0;
    font-weight: bold;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

h2:hover {
    color: #004aad;
    transform: scale(1.05);
}

/* Footer */
.footer {
    text-align: center;
    background-color: #0078AA;
    color: white;
    padding: 1px 0;
    width: 100%;
    font-size: 14px;
    box-sizing: border-box;
}

/* Error & Notes */
.error-message {
    display: flex;
    align-items: center;
    color: #d9534f; /* Soft Red */
    font-weight: 500;
    margin-top: 4px;
}

.success-message {
    display: flex;
    align-items: center;
    color: #5cb85c; /* Soft Green */
    font-weight: 500;
    margin-top: 4px;
}


.note {
    font-size: 12px;
    color: #0078AA;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 15px;
    }

    .logo {
        height: 80px;
    }

    .accordion {
        font-size: 16px;
        padding: 12px 20px;
    }

    .panel {
        max-height: 0;
        transition: max-height 0.4s ease;
        border-radius: 10px;
        margin-top: 10px;
        padding: 0 18px;
    }

    h2 {
        font-size: 22px;
    }

    .display-button {
        padding: 12px 25px;
    }
}
.accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    outline: none;
    padding: 15px;
    width: 100%;
    text-align: left;
    font-size: 18px;
    transition: background-color 0.3s;
}

.accordion:hover {
    background-color: #0056b3;
}

.icon {
    width: 20px;
    height: 20px;
}
select {
    width: 100%;
    padding: 8px;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
}
