/* --- AUTHENTICATION / LOGIN SECTION --- */
.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 5%;
    min-height: 75vh; /* Keeps the card centered beautifully on the screen */
}

.auth-card {
    width: 100%;
    max-width: 500px; /* Constrains the login form to a highly readable width */
    padding: 4rem;
    border: 1px solid rgba(0,0,0,0.04);
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-subtitle {
    color: var(--text-color);
    font-size: 0.95rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.auth-links {
    text-align: right;
    margin-bottom: 1.5rem;
}

.forgot-password-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.forgot-password-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* IMPORTANT UPDATE: Add input[type="password"] to your existing 
   .elegant-form input selector so the password field gets styled! 
*/
.elegant-form input[type="text"],
.elegant-form input[type="email"],
.elegant-form input[type="number"],
.elegant-form input[type="date"],
.elegant-form input[type="password"], /* Added for the login page */
.elegant-form select,
.elegant-form textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.elegant-form input:focus,
.elegant-form select:focus,
.elegant-form textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

/* Responsive adjust for mobile phones */
@media (max-width: 600px) {
    .auth-card {
        padding: 3rem 2rem;
    }
}



