
/* --- Authentication Pages Styles --- */
.auth-section {
    padding: 80px 0; /* Match general section padding */
    display: flex;
    align-items: center;
    min-height: calc(100vh - 150px); /* Adjust based on header/footer height */
}

.auth-container {
    max-width: 500px;
    margin: 40px auto; /* Add top/bottom margin */
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
    text-align: center;
}

.auth-container h2 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Slightly less rounded than buttons */
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.15); /* Adjusted focus shadow */
}

.auth-form .form-options {
    text-align: right;
    font-size: 0.9rem;
}

.auth-form .form-options a {
    color: var(--secondary-color);
}
.auth-form .form-options a:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%; /* Make button full width */
    margin-top: 10px; /* Add some space before button */
    padding: 14px 30px; /* Slightly larger padding */
}

.auth-switch {
    margin-top: 30px;
    font-size: 0.95rem;
    color: #555;
}

.auth-switch a {
    font-weight: 600;
    color: var(--secondary-color);
}
.auth-switch a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.terms-check {
    display: flex;
    align-items: flex-start; /* Align checkbox with start of text */
    text-align: left;
    font-size: 0.9rem;
    color: #555;
}

.terms-check input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px; /* Align checkbox slightly better */
    flex-shrink: 0; /* Prevent checkbox from shrinking */
}

.terms-check label {
    margin-bottom: 0; /* Override default label margin */
    font-weight: 400; /* Normal weight for terms text */
     line-height: 1.4;
}
.terms-check label a {
    color: var(--secondary-color);
    text-decoration: underline;
}
.terms-check label a:hover {
    color: var(--primary-color);
}

/* --- Responsive Adjustments for Auth --- */
@media (max-width: 576px) {
    .auth-container {
        padding: 30px 20px;
        margin: 20px auto;
    }
    .auth-section {
         padding: 40px 0;
         min-height: calc(100vh - 120px);
    }
}