:root {
    --deep-teal: #052025;
    --deep-teal-2: #031619;
    --dark-teal: #2F4C4B;
    --sage-green: #576259;
    --gold: #D6AA68;
    --champagne: #EBD19F;
    --warm-white: #E8E6D9;
    --muted-white: rgba(232, 230, 217, .68);
    --line-gold: rgba(214, 170, 104, .22);
    --shadow: 0 24px 70px rgba(0, 0, 0, .22);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--warm-white);
    background:
        radial-gradient(circle at 90% 5%, rgba(214, 170, 104, .16), transparent 30%),
        linear-gradient(135deg, var(--deep-teal) 0%, var(--deep-teal-2) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.serif {
    font-family: 'Cormorant Garamond', serif;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 16px;
}

.auth-card {
    border: 1px solid rgba(214, 170, 104, .16);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035));
    box-shadow: 0 18px 52px rgba(0, 0, 0, .16);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.brand-mark {
    width: 58px;
    height: 58px;
    border: 1px solid var(--gold);
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.95rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 0 24px rgba(214, 170, 104, .12);
    margin: 0 auto 18px;
}

.page-eyebrow {
    color: var(--gold);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--champagne);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin: 0;
    line-height: 1;
}

.auth-subtitle {
    color: var(--muted-white);
    font-size: .95rem;
    line-height: 1.7;
    margin-top: 14px;
}

.form-label {
    color: var(--champagne) !important;
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: .65rem;
}

.premium-input {
    height: 54px;
    border-radius: 16px;
    border: 1px solid rgba(214, 170, 104, .16);
    background: rgba(255, 255, 255, .045);
    color: var(--warm-white);
    padding: 0 1rem;
    font-size: .95rem;
    font-weight: 500;
    box-shadow: none;
    transition: .2s ease;
}

.premium-input::placeholder {
    color: rgba(232, 230, 217, .42);
}

.premium-input.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: .82rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--champagne));
    color: var(--deep-teal);
    border: 0;
    border-radius: 999px;
    padding: .9rem 1.1rem;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.btn-gold:hover {
    color: var(--deep-teal);
    filter: brightness(1.04);
}

.admin-link-gold {
    color: var(--gold);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.admin-link-gold:hover {
    color: var(--champagne);
}

.alert {
    border-radius: 16px;
    border-width: 1px;
    font-size: .9rem;
}

.alert-success {
    background: rgba(25, 135, 84, .14);
    color: #d1f3dc;
    border-color: rgba(25, 135, 84, .32);
}

.alert-danger {
    background: rgba(220, 53, 69, .14);
    color: #ffd6da;
    border-color: rgba(220, 53, 69, .32);
}

.btn-close {
    filter: invert(1) brightness(1.8);
    opacity: .75;
}

.btn-close:hover {
    opacity: 1;
}
