/* Auth Section */
body {
    background-color: var(--white);
}

.auth-section {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: none;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    height: 100vh;
    width: 100%;
}

.auth-header {
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.auth-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.auth-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.auth-form {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: var(--white);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.auth-form h2 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(147, 112, 219, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%239370DB' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    padding-right: 2rem;
}

 
.form-group input[type="number"]::-webkit-inner-spin-button,
.form-group input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-group input[type="number"] {
    -moz-appearance: textfield;
}

.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    padding-right: 2.5rem !important;
}

 

.toggle-password {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}


.toggle-password:hover {
    opacity: 1;
}

.forgot-password {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--medium-purple);
}

.password-strength {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.strength-bar {
    height: 4px;
    flex: 1;
    background-color: #ddd;
    border-radius: 2px;
    transition: background-color 0.3s;
}

.strength-text {
    font-size: 0.8rem;
    color: var(--gray);
    margin-left: 10px;
}

.terms {
    display: flex;
    align-items: center;
}

.terms input {
    width: auto;
    margin-right: 10px;
}

.terms label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.terms a {
    color: var(--medium-purple);
    text-decoration: none;
}

.auth-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--medium-purple);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-btn:hover {
    background-color: var(--dark-purple);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(147, 112, 219, 0.2);
}

.auth-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.auth-btn:disabled {
    background-color: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer p {
    font-size: 0.9rem;
    color: var(--gray);
}

.auth-footer a {
    color: var(--medium-purple);
    text-decoration: none;
    font-weight: 500;
}

.auth-logo {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.auth-image {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px;
    height: 100vh;
}

.auth-image img {
    max-width: 100%;
    border-radius: 15px;
}

/* Active state for auth navigation */
.login-btn.active,
.signup-btn.active {
    color: var(--dark-purple);
    font-weight: 600;
}

.signup-btn.active {
    background-color: var(--dark-purple);
    color: var(--white);
}

/* Remember Me Checkbox */
.remember-me {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.remember-me input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
}

.remember-me label {
    font-size: 0.85rem;
    color: var(--gray);
    margin: 0;
}

/* Password Requirements */
.password-requirements {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

.password-requirements.invalid {
    color: #ff4d4d;
}

.password-requirements.valid {
    color: #4CAF50;
}

/* Responsive */
@media (max-width: 1200px) {
    .auth-form {
        max-width: 500px;
        padding: 40px;
    }
    
    .auth-image {
        padding: 60px;
    }
}

@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-image {
        display: none;
    }
    
    .auth-form {
        max-width: 100%;
        padding: 40px;
    }
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 0.75rem;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-form h2 {
        font-size: 2rem;
    }
    
    .form-group input {
        padding: 14px 16px;
    }
}

/* Header */
.auth-header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.header-container {
    padding-left: 20px;
}

.header-logo {
    display: block;
}

.header-logo img {
    height: 40px;
    width: auto;
}



/* Disabled State */

.birthday-selects {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 0.5rem;
}

.birthday-selects select {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--input-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%239370DB' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    padding-right: 2rem;
}

.birthday-selects select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(147, 112, 219, 0.1);
}