/* Authentication specific refinements (shared basics in forms.css) */

.auth-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--light-gold) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.auth-form {
    padding: 3rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.auth-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: .5rem;
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.form-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-size: 1.1rem;
}

.password-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    transition: color .3s ease;
}

.password-toggle:hover {
    color: var(--primary-gold);
}

/* Password strength bar */
.password-strength {
    margin-top: .5rem;
    text-align: left;
}

.password-strength-bar {
    height: 4px;
    background: var(--beige-light);
    border-radius: 2px;
    margin-bottom: .5rem;
    overflow: hidden;
}

.password-strength-weak {
    width: 33%;
    height: 100%;
    background: #e74c3c;
    transition: width .3s ease;
}

.password-strength-medium {
    width: 66%;
    height: 100%;
    background: #f39c12;
    transition: width .3s ease;
}

.password-strength-strong {
    width: 100%;
    height: 100%;
    background: #27ae60;
    transition: width .3s ease;
}

/* Checkboxes */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.form-checkbox a {
    color: var(--primary-gold);
    text-decoration: none;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Dividers & links */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--glass-border);
}

.auth-divider span {
    background: var(--beige-light);
    color: var(--text-light);
    padding: 0 1rem;
    position: relative;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Messages */
.error-message {
    background: rgba(231, 76, 60, .1);
    color: #e74c3c;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid rgba(231, 76, 60, .3);
}

.success-message {
    background: rgba(39, 174, 96, .1);
    color: #27ae60;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid rgba(39, 174, 96, .3);
}

.field-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, .1) !important;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: var(--text-light);
    text-decoration: none;
    font-size: .9rem;
}

.forgot-password a:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

@media (max-width:768px) {
    .auth-container {
        max-width: 100%;
        margin: 0 20px;
    }

    .auth-form {
        padding: 2rem;
    }

    .auth-title {
        font-size: 2rem;
    }
}