/* ================================================================
   AUTH PAGES — Login / Register / Forgot / Reset
   Uses the same CSS variables defined in header.php
   ================================================================ */

.auth-section {
    padding: calc(var(--nav-h, 120px) + 60px) 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 44px 40px;
}

.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 6px;
    color: var(--brown-dark);
}

.auth-subtitle {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 6px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e4dccf;
    border-radius: var(--radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--brown-dark);
    background: var(--cream-2);
    transition: border-color .25s ease, box-shadow .25s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 155, 82, .18);
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 44px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    line-height: 1;
}

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

.auth-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.auth-link {
    font-size: 0.85rem;
    color: var(--teal);
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--brown);
    color: var(--white);
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    transition: background .25s ease, transform .2s ease;
}

.auth-btn:hover {
    background: var(--brown-dark);
    transform: translateY(-1px);
}

.auth-switch {
    margin-top: 24px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--muted);
}

.auth-switch a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
}

/* Flash banner shown site-wide right below the fixed navbar */
.site-flash {
    position: fixed;
    top: calc(var(--nav-h, 120px) + 12px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    min-width: 280px;
    max-width: 90%;
    box-shadow: 0 10px 30px rgba(75, 49, 40, .15);
}

@media (max-width: 575px) {
    .auth-card {
        padding: 32px 22px;
        margin: 0 16px;
    }
}
