body.auth-page {
    min-height: 100%;
    margin: 0;
    background: #f8fafc;
    color: #111827;
    font-family: var(--font-sans, "Inter", system-ui, sans-serif);
}

.auth-body {
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(320px, 1fr);
    width: min(100%, 900px);
    min-height: 540px;
    overflow: hidden;
    border: 1px solid #dbe4ea;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
}

.auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: #050c08;
    color: #e5e7eb;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.auth-logo .logo-text {
    color: #f8fafc;
    font-size: .95rem;
    font-weight: 600;
}

.auth-intro-copy {
    max-width: 25rem;
}

.auth-eyebrow {
    display: block;
    margin-bottom: .8rem;
    color: #6eb7e7;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-intro h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    line-height: 1.1;
}

.auth-intro p {
    margin: 1rem 0 0;
    color: #aebbb4;
    font-size: .9rem;
    line-height: 1.6;
}

.auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.75rem, 5vw, 3.5rem);
    background: #fff;
}

.auth-title {
    margin: 0;
    color: #102a2a;
    font-size: 1.55rem;
    font-weight: 600;
}

.auth-subtitle {
    margin: .45rem 0 1.5rem;
    color: #6b7280;
    font-size: .88rem;
    line-height: 1.5;
}

.auth-errors {
    margin-bottom: 1rem;
    padding: .7rem .8rem;
    border: 1px solid #fecaca;
    border-radius: .6rem;
    background: #fef2f2;
    color: #b91c1c;
    font-size: .82rem;
}

.auth-form,
.auth-field {
    display: flex;
    flex-direction: column;
}

.auth-form { gap: 1rem; }
.auth-field { gap: .4rem; }

.auth-field label {
    color: #334155;
    font-size: .8rem;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    min-height: 2.8rem;
    padding: .65rem .75rem;
    border: 1px solid #cbd5e1;
    border-radius: .6rem;
    background: #fff;
    color: #111827;
    font: inherit;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-field input:focus {
    border-color: #2281c5;
    box-shadow: 0 0 0 3px rgba(34, 129, 197, .14);
}

.auth-submit {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 2.85rem;
    margin-top: .25rem;
    border: 0;
    border-radius: .6rem;
    background: #173d36;
    color: #fff;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}

.auth-submit:hover { background: #20574c; transform: translateY(-1px); }
.auth-submit:active { transform: none; }

@media (max-width: 700px) {
    .auth-body {
        align-items: start;
        padding: 0;
        background: #fff;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-intro {
        justify-content: flex-start;
        gap: 2.25rem;
        padding: 1rem 1.25rem 1.75rem;
    }

    .auth-intro-copy {
        max-width: 31rem;
    }

    .auth-eyebrow {
        margin-bottom: .55rem;
        font-size: .68rem;
    }

    .auth-intro h1 {
        max-width: 26rem;
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.15;
    }

    .auth-intro p {
        max-width: 31rem;
        margin-top: .7rem;
        font-size: .84rem;
        line-height: 1.5;
    }

    .auth-card {
        justify-content: flex-start;
        padding: 1.75rem 1.25rem 2rem;
    }
}

@media (max-width: 380px) {
    .auth-intro { gap: 1.5rem; padding-bottom: 1.35rem; }
    .auth-card { padding-top: 1.35rem; }
    .auth-subtitle { margin-bottom: 1.2rem; }
}
