
:root {
    --forest: #263F34;
    --dark: #192D24;
    --cream: #F5F1E8;
    --white: #FFFEFA;
    --sage: #A9B9A7;
    --sand: #D4BE96;
    --muted: #72796F;
    --border: #E4E1D7;
}

* {
    box-sizing: border-box;
}

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background: var(--cream);
    color: var(--dark);
    font-family: "DM Sans", sans-serif;
}

.auth-topbar {
    padding: 25px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.auth-logo {
    color: var(--forest);
    font-family: "Playfair Display", serif;
    font-size: 30px;
    text-decoration: none;
}

.auth-topbar p {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.auth-layout {
    width: min(1100px, 90%);
    min-height: 620px;
    margin: 20px auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border: 1px solid var(--border);
}

.auth-visual {
    min-height: 620px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    background:
        linear-gradient(
            0deg,
            rgba(25, 45, 36, .88),
            rgba(25, 45, 36, .05)
        ),
        url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1200&q=85")
        center / cover;
}

.auth-visual .eyebrow {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.auth-visual h1 {
    margin: 15px 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 400;
    line-height: 1.1;
}

.auth-visual p {
    max-width: 330px;
    color: #F5F1E8;
    line-height: 1.8;
    font-size: 14px;
}

.auth-form-area {
    padding: 55px clamp(25px, 5vw, 65px);
    align-self: center;
}

.auth-form-area h2 {
    margin: 0 0 12px;
    color: var(--forest);
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 400;
}

.auth-subtitle {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.auth-field {
    margin-bottom: 19px;
}

.auth-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--dark);
    font: inherit;
    font-size: 14px;
    outline: none;
}

.auth-field input:focus {
    border-color: var(--forest);
}

.auth-button {
    width: 100%;
    margin-top: 5px;
    padding: 15px;
    border: 1px solid var(--forest);
    background: var(--forest);
    color: white;
    font: inherit;
    cursor: pointer;
    transition: .2s;
}

.auth-button:hover {
    background: var(--dark);
}

.auth-switch {
    margin-top: 25px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.auth-switch a {
    color: var(--forest);
    font-weight: 700;
}

.auth-message {
    padding: 12px 14px;
    margin-bottom: 20px;
    background: #F8EDE6;
    color: #7A3528;
    font-size: 13px;
    line-height: 1.6;
}

.auth-message.success {
    background: #EAF0E8;
    color: var(--forest);
}

.auth-footer {
    padding: 0 20px 30px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

@media (max-width: 760px) {
    .auth-topbar {
        padding: 20px 5%;
    }

    .auth-topbar p {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .auth-layout {
        grid-template-columns: 1fr;
        margin-top: 5px;
    }

    .auth-visual {
        min-height: 260px;
        padding: 30px;
    }

    .auth-visual h1 {
        font-size: 38px;
    }

    .auth-form-area {
        padding: 35px 25px;
    }
}
