/* auth.css */
/* Styles for login, signup, and onboarding pages */

/* General form styling for auth pages */
/* The .contact-section is used as the container for the form on auth pages */
.contact-section {
    width: 100%; /* Take full width of its parent (main) */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    /* min-height and background are handled by body.auth-page in style.css */
    /* Remove light-bg class from HTML section tag */
}

.contact-form {
    max-width: 500px; /* Make forms slightly narrower for a focused look */
    width: 100%; /* Ensure it's responsive */
    margin: 0 auto; /* Center the form within the section */
    background-color: var(--primary-color); /* Dark blue form background */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    color: var(--text-color-on-dark); /* Light text for labels etc. */
    text-align: left;
    display: flex; /* Use flexbox for form elements */
    flex-direction: column; /* Stack elements vertically */
}

/* Ensure the logo for auth pages is visible and prominent */
.logo.large-logo {
    color: var(--accent-color); /* Use accent color for prominence */
}
/* Headings on auth pages should be white */
.auth-page h1, .auth-page .section-description {
    color: var(--text-color-on-dark);
}


/* Input fields, textarea, select should inherit from components.css */
/* Labels inside contact-form should be light text on dark background */
.contact-form label {
    color: var(--text-color-on-dark);
}

/* Specific styling for the Remember Me / Forgot Password row */
.remember-me-forgot-password {
    margin-top: 5px; /* Adjust spacing above this row */
    margin-bottom: 25px; /* Space before the login button */
    align-items: center; /* Vertically align items */
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 10px; /* Space between checkbox group and link */
}

.checkbox-group {
    display: flex;
    align-items: center;
}
.checkbox-group label.inline-label {
    margin-bottom: 0; /* Override default label margin */
    margin-left: 5px; /* Space between checkbox and label */
    font-size: 0.95rem;
}
.checkbox-group input[type="checkbox"] {
    width: 18px; /* Standardize checkbox size */
    height: 18px;
    margin-right: 0; /* Managed by label margin-left */
    flex-shrink: 0; /* Prevent checkbox from shrinking */
}

/* Social login buttons */
.social-login-section {
    margin-top: 20px; /* Space above social login buttons */
    text-align: center;
}
.social-login-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons by default */
    gap: 10px; /* Space between social buttons */
}
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icon and text */
    background-color: rgba(255,255,255,0.1); /* Light background for social buttons */
    color: var(--text-color-on-dark); /* Light text */
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%; /* Full width within its container */
}
.social-btn:hover {
    background-color: rgba(255,255,255,0.15);
}
.social-btn i {
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
    .remember-me-forgot-password {
        flex-direction: column;
        align-items: flex-start; /* Stack them top-left */
        gap: 15px; /* More space when stacked */
    }
    .social-login-buttons {
        flex-direction: column; /* Ensure stacking on smaller screens */
    }
}

@media (max-width: 500px) {
    .contact-form {
        padding: 25px 15px; /* Even smaller padding */
    }
    .logo.large-logo {
        font-size: 2rem;
    }
    .section-description {
        font-size: 0.95rem;
    }
}

