.auth-body { background: var(--surface); }

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    min-height: 100vh;
}

.auth-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 38px 46px 32px;
    color: #e7efe9;
    background:
        radial-gradient(700px 500px at 90% 8%, rgba(35, 155, 98, 0.28), transparent 68%),
        radial-gradient(620px 500px at 4% 100%, rgba(24, 110, 70, 0.2), transparent 70%),
        linear-gradient(145deg, #14251b, #0c1510 65%);
}
.auth-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image: radial-gradient(rgba(255, 255, 255, 0.5) 0.7px, transparent 0.7px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.auth-brand::after {
    content: "U";
    position: absolute;
    right: -30px;
    bottom: -80px;
    color: rgba(255, 255, 255, 0.025);
    font-size: 36rem;
    font-weight: 800;
    line-height: 0.7;
    pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1; }

.auth-brand__top { display: flex; align-items: center; gap: 12px; }
.auth-brand__top div { display: grid; line-height: 1.3; }
.auth-brand__top strong { color: #fff; font-size: 1.05rem; }
.auth-brand__top small { color: #8fa498; font-size: 0.74rem; }
.auth-logo {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(145deg, #1c9a63, #0a5e3a);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 22px rgba(0, 0, 0, 0.28);
}
.auth-logo--sm { width: 38px; height: 38px; border-radius: 10px; font-size: 1.2rem; }

.auth-brand__body { max-width: 530px; padding: 45px 0; animation: fade-up 600ms var(--ease) both; }
.auth-eyebrow { margin-bottom: 13px; color: #7fd3a9; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.auth-brand h1 { color: #f4f9f6; font-size: clamp(2.2rem, 3.8vw, 3.5rem); font-weight: 700; line-height: 1.17; letter-spacing: -0.025em; }
.auth-brand h1 span { color: #7fd3a9; }
.auth-lead { max-width: 460px; margin-top: 19px; color: #a5b8ac; font-size: 0.95rem; line-height: 1.8; }
.auth-features { display: grid; gap: 12px; margin-top: 30px; }
.auth-features li { display: flex; align-items: center; gap: 10px; color: #c7d7cd; font-size: 0.86rem; }
.auth-features li span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(127, 211, 169, 0.27); border-radius: 50%; color: #7fd3a9; background: rgba(127, 211, 169, 0.08); }
.auth-features .icon { width: 13px; height: 13px; }

.auth-brand__foot { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.auth-brand__foot p { max-width: 430px; color: #8fa498; font-size: 0.78rem; font-style: italic; }
.auth-brand__foot small { display: block; margin-top: 8px; color: #61786a; font-size: 0.69rem; }
.auth-brand__foot strong { color: #8fa498; font-weight: 600; }

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 32px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(14, 122, 75, 0.04), transparent 70%),
        var(--surface);
}
.auth-panel__inner { width: 100%; max-width: 400px; animation: fade-up 500ms 80ms var(--ease) both; }
.auth-mobile-brand { display: none; }
.auth-card { padding: 4px 0; }
.auth-card .eyebrow { margin-bottom: 7px; }
.auth-card h2 { font-size: clamp(1.5rem, 2.2vw, 1.8rem); }
.auth-card__sub { margin-top: 6px; margin-bottom: 23px; color: var(--muted); font-size: 0.86rem; }
.auth-form { display: grid; gap: 15px; }
.auth-form .field__label { font-size: 0.82rem; }
.auth-form input { min-height: 45px; }
.auth-submit { min-height: 46px; margin-top: 4px; font-size: 0.92rem; }
.auth-submit .icon { margin-left: auto; }
.auth-note { margin-top: 17px; color: var(--muted); font-size: 0.75rem; line-height: 1.6; text-align: center; }
.auth-copyright { margin-top: 30px; color: var(--muted-2); font-size: 0.69rem; text-align: center; }
.auth-copyright strong { color: var(--muted); font-weight: 600; }

.demo-box { margin-top: 20px; padding: 10px 12px; border: 1px dashed var(--border-strong); border-radius: 10px; background: var(--surface-muted); }
.demo-box summary { color: var(--muted); font-size: 0.75rem; font-weight: 600; cursor: pointer; }
.demo-box__grid { display: grid; gap: 7px; margin-top: 9px; }
.demo-box__grid span { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 0.7rem; }
.demo-box__grid strong { color: var(--text-soft); font-weight: 600; }

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .auth-panel { min-height: 100vh; padding: 26px 20px; align-items: flex-start; }
    .auth-panel__inner { max-width: 440px; margin-top: 5vh; }
    .auth-mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
    .auth-mobile-brand div { display: grid; line-height: 1.28; }
    .auth-mobile-brand strong { font-size: 1rem; }
    .auth-mobile-brand small { color: var(--muted); font-size: 0.72rem; }
}

@media (max-width: 480px) {
    .auth-panel { padding: 20px 16px; }
    .auth-panel__inner { margin-top: 2vh; }
    .auth-card h2 { font-size: 1.45rem; }
    .auth-copyright { margin-top: 22px; }
}
