:root {
    --forest: #1a2e1c;
    --moss: #2d4a2e;
    --gold: #c9a84c;
    --gold-light: #e8d5a3;
    --cream: #faf7f2;
    --bark: #7a6250;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--cream);
    color: var(--forest);
}

/* ── LEFT PANEL ── */
.auth-left {
    background: var(--forest);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 60px;
    min-height: 100vh;
}

.auth-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 80% 15%, rgba(201, 168, 76, .15) 0%, transparent 60%), radial-gradient(ellipse 50% 60% at 5% 85%, rgba(201, 168, 76, .10) 0%, transparent 55%);
    pointer-events: none;
}

.auth-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    text-decoration: none;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.auth-logo span {
    color: #fff;
}

.auth-left-body {
    position: relative;
    z-index: 1;
}

.auth-left-body h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 4vw, 3.8rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 22px;
}

.auth-left-body h1 em {
    font-style: italic;
    color: var(--gold-light);
}

.auth-left-body p {
    color: rgba(255, 255, 255, .5);
    font-size: 15px;
    line-height: 1.75;
    max-width: 320px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: rgba(255, 255, 255, .35);
    text-decoration: none;
    margin-top: 28px;
    letter-spacing: .5px;
    transition: color .2s;
}

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

.auth-left-footer {
    font-size: 12px;
    color: rgba(255, 255, 255, .22);
    letter-spacing: .5px;
    position: relative;
    z-index: 1;
}

/* ── RIGHT PANEL ── */
.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    min-height: 100vh;
}

.auth-box {
    width: 100%;
    max-width: 390px;
}

.auth-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.3rem;
    font-weight: 400;
    color: var(--forest);
    margin-bottom: 6px;
}

.auth-sub {
    color: var(--bark);
    font-size: 14px;
    margin-bottom: 32px;
}

.msg {
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    margin-bottom: 10px;
}

.msg.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.msg.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #374151;
    margin-bottom: 7px;
}

.field input {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.field input:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(26, 46, 28, .08);
}

.auth-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 26px;
    font-size: 13px;
}

.auth-options a {
    color: var(--forest);
    font-weight: 600;
    text-decoration: none;
}

.auth-options a:hover {
    color: var(--gold);
}

.btn-submit {
    width: 100%;
    background: var(--forest);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.btn-submit:hover {
    background: var(--moss);
    transform: translateY(-1px);
}

.auth-switch {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: var(--bark);
}

.auth-switch a {
    color: var(--forest);
    font-weight: 700;
    text-decoration: none;
}

.auth-switch a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    body {
        grid-template-columns: 1fr;
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 48px 24px;
        min-height: 100vh;
    }
}