/* ==========================================================================
   Auth shell — glass card over the brand gradient.

   Extracted from login.html so the password-reset pages don't become a third
   and fourth copy of it. login.html and register.html still carry their own
   inline versions; migrating them onto this file is a follow-up.
   ========================================================================== */

body { font-family: 'Poppins', sans-serif; }

.auth-bg {
    background:
        linear-gradient(135deg, rgba(61,18,21,0.96) 0%, rgba(88,27,31,0.92) 50%, rgba(160,101,107,0.88) 100%),
        url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&h=1080&fit=crop') center/cover no-repeat fixed;
}

.glass-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
}

.auth-input {
    width: 85%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

.auth-input::placeholder { color: rgba(255,255,255,0.45); }

.auth-input:focus {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
}

.auth-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.auth-btn-primary {
    width: 100%;
    background: #fff;
    color: #581b1f;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn-primary:hover:not(:disabled) {
    background: rgba(255,255,255,0.92);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.auth-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.auth-lede {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.7);
    margin: 0 0 1.5rem;
}

/* Feedback banner — one element for both outcomes, colour-coded. */
.auth-note {
    display: none;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.auth-note.is-success {
    display: block;
    background: rgba(16,185,129,0.14);
    border: 1px solid rgba(16,185,129,0.35);
    color: #d4f5e8;
}

.auth-note.is-error {
    display: block;
    background: rgba(239,68,68,0.14);
    border: 1px solid rgba(239,68,68,0.35);
    color: #ffd9d9;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.auth-back:hover { color: #fff; }
