.auth-container {
    display: flex;
    min-width: 100%;
    padding: 50px 0;
}

.auth-illustration {
    flex: 1;
    /* background: #F8F9FA; */
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding: 40px;
}

/* .auth-illustration img {
    max-width: 80%;
    height: auto;
} */

.auth-forms-container {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form {
    width: 100%;
    max-width: 400px;
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E6E6E6;
    border-radius: 16px;
    font-size: 14px;
    height: 52px;
    color: #000;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #00C3F9;
    outline: none;
}

.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.toggle-password:focus,
.toggle-password:hover {
    opacity: 0.7;
    background: none;
}

.eye-icon {
    fill: #666;
    width: 20px;
    height: 20px;
}

.form-footer {
    margin-bottom: 24px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.forgot-password {
    font-size: 14px;
    color: #00C3F9;
    text-decoration: none;
}

.auth-button {
    width: 100%;
    padding: 14px;
    background: #00C3F9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-button:hover {
    background: #0097c4;
}

/* Account Type Selector */
.account-type-selector {
    margin-bottom: 30px;
}

.account-type-selector h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.account-types {
    display: flex;
    gap: 15px;
}

.account-type {
    flex: 1;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: 0;
    gap: 5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-type input[type="radio"] {
    display: none;
}

.account-type .type-icon {
    font-size: 12px;
    margin-bottom: 8px;
}

.account-type .type-label {
    font-size: 14px;
    font-weight: normal;
    color: #000;
}

.account-type:hover {
    border-color: #00C3F9;
}

.account-type input[type="radio"]:checked+.type-icon+.type-label,
.account-type input[type="radio"]:checked+.type-icon {
    color: #00C3F9;
}

.account-type input[type="radio"]:checked~* {
    color: #00C3F9;
}

.account-type.student {
    background-color: #F0F9FF;
}

.account-type.parent {
    background-color: #FFF8E6;
}

.account-type input[type="radio"]:checked~* {
    color: #00C3F9;
}

/* Terms and Conditions */
.terms-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 20px 0;
    font-size: 14px;
}

.terms-group .terms-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.terms-group .terms-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.terms-link,
.privacy-link {
    color: #00C3F9;
    text-decoration: none;
}

.auth-button.loading {
    position: relative;
    color: transparent;
}

.auth-button.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s infinite linear;
}

.social-login {
    margin-top: 32px;
    text-align: center;
}

.social-login p {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    gap: 16px;
}

.facebook-login,
.google-login {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #E6E6E6;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.facebook-login:hover {
    background: #045cb4;
    border-color: #0097c4;
    color: #fff;

}

.google-login:hover {
    background: #dd0707;
    border-color: #ff3b30;
    color: #fff;
}

.facebook-login img,
.google-login img {
    width: 20px;
    height: 20px;
}

.switch-form {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

.switch-form a {
    color: #00C3F9;
    text-decoration: none;
    font-weight: 500;
}

.error-message {
    color: #ff3b30;
    font-size: 12px;
    margin-top: 4px;
}

/* Verification Form */
.verification-form {
    max-width: 400px;
    margin: 0 auto;
}

.verification-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

.otp-input-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 2px solid #E6E6E6;
    border-radius: 8px;
    font-size: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: #00C3F9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 195, 249, 0.2);
}

.otp-input.filled {
    border-color: #00C3F9;
    background-color: #F0F9FF;
}

.verification-timer {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 14px;
}

.verification-footer {
    text-align: center;
    margin-top: 20px;
}

.back-button {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.back-button:hover {
    color: #00C3F9;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-illustration {
        display: none;
    }

    .auth-forms-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .social-buttons {
        flex-direction: column;
    }
}