/* START OF FILE css/login.css */

/* Container to center the card */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Calculate height minus header and estimated footer height */
    min-height: calc(100vh - var(--header-height) - 70px);
    padding: 50px 20px; /* More vertical padding */
}

/* The main authentication card */
.auth-card {
    background-color: var(--card-bg); /* White background */
    color: var(--text-dark); /* Dark text */
    padding: 35px 40px; /* Increased padding */
    border-radius: 12px; /* Slightly more rounded */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.05); /* Softer shadow */
    text-align: center;
    max-width: 400px; /* Limit width */
    width: 100%;
}

/* Card Heading (Login or Sign Up) */
.auth-card h2 {
    color: var(--text-dark);
    font-size: 1.75rem; /* Larger heading */
    font-weight: 700;
    margin-bottom: 12px; /* Reduced space below heading */
}

/* Instructional paragraph */
.auth-card p { /* Default p styling */
    color: var(--secondary-color); /* Muted gray */
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Error Message Styling - Uses component styling */
/* .auth-card #auth-error.message {} */


/* Form styling */
.auth-card form {
    margin-bottom: 25px; /* Space below form before guest link */
    text-align: left; /* Align labels/inputs left */
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    display: block; /* Label on its own line */
    font-weight: 600; /* Semi-bold labels */
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex; /* Keep icon alignment */
    align-items: center;
    gap: 6px;
}
.auth-card .form-group label i {
    font-size: 0.9em;
    color: var(--secondary-color); /* Muted icon color */
}

.auth-card .form-group input {
    width: 100%;
    padding: 12px 15px; /* Comfortable padding */
    border: 1px solid var(--border-color-light); /* Light gray border */
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 8px; /* Consistent rounding */
    font-size: 1rem;
    font-family: var(--font-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Smooth transition */
}

.auth-card .form-group input::placeholder {
    color: var(--text-muted); /* Lighter placeholder text */
    opacity: 1; /* Ensure placeholder is visible */
}

/* Input focus state - yellow ring */
.auth-card .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.3); /* Yellow focus ring */
}

/* Button styling within the card - Uses base styling for .btn, overrides margin */
.auth-card .btn {
    margin-top: 15px; /* Space above first button, and between buttons */
    padding: 12px 25px; /* Slightly larger padding for login buttons */
    font-size: 1rem;
}

/* Specific button colors - Uses base styling for .btn-primary, .btn-secondary */
/* .auth-card #login-button {} */
/* .auth-card #signup-button {} */


/* Guest Option Link */
.auth-card .guest-option {
    margin-top: 30px; /* More space above guest link */
    font-size: 0.9em;
    color: var(--secondary-color); /* Muted gray text */
}

.auth-card .guest-option a {
     color: var(--primary-color); /* Yellow link */
     font-weight: 600;
     text-decoration: none; /* No underline by default */
     display: inline-flex;
     align-items: center;
     gap: 5px;
}
.auth-card .guest-option a:hover {
     color: var(--primary-color-dark);
     text-decoration: underline; /* Underline on hover */
}
.auth-card .guest-option a i {
     transition: transform 0.3s ease;
     font-size: 0.9em;
}
.auth-card .guest-option a:hover i {
     transform: translateX(3px);
}

/* Responsive Login Adjustments */
@media (max-width: 480px) {
    .auth-card {
        padding: 25px 20px; /* Reduce padding */
        border-radius: 8px;
    }
    .auth-card h2 { font-size: 1.5rem; }
    .auth-card p { font-size: 0.95rem; margin-bottom: 20px;}
    .auth-card .form-group { margin-bottom: 15px;}
    .auth-card .form-group label { font-size: 0.85rem;}
    .auth-card .form-group input { padding: 10px 12px; font-size: 0.9rem;}
    .auth-card .btn { font-size: 0.9rem; padding: 10px 20px; margin-top: 10px;}
    .auth-card .guest-option { margin-top: 20px; font-size: 0.85em;}
}


/* END OF FILE css/login.css */