:root {
    --ink: #102124;
    --muted: #68777a;
    --line: #dfe8e7;
    --green: #0a6d5c;
    --green-dark: #075247;
    --mint: #82e7cb;
    --panel: #071b1d;
    --white: #ffffff;
    --shadow: 0 28px 70px rgba(11, 43, 45, .13);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    color: var(--ink);
    background: #f5f8f7;
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(430px, 1.05fr) minmax(520px, .95fr);
}

.brand-panel {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 52px clamp(48px, 6vw, 104px);
    display: flex;
    flex-direction: column;
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(15, 104, 91, .18), transparent 42%),
        radial-gradient(circle at 78% 28%, rgba(70, 198, 166, .12), transparent 30%),
        var(--panel);
}

.brand-panel::after {
    content: "";
    position: absolute;
    right: -16%;
    bottom: -25%;
    width: 620px;
    aspect-ratio: 1;
    border: 1px solid rgba(130, 231, 203, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(130, 231, 203, .025), 0 0 0 160px rgba(130, 231, 203, .018);
}

.brand-panel__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.brand-panel__glow--one { width: 220px; height: 220px; top: 16%; right: 8%; background: rgba(42, 178, 146, .08); }
.brand-panel__glow--two { width: 150px; height: 150px; bottom: 18%; left: -4%; background: rgba(77, 161, 255, .07); }

.brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    width: fit-content;
    color: var(--white);
    text-decoration: none;
    font: 700 19px/1 "Manrope", sans-serif;
    letter-spacing: -.02em;
}

.brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}

.brand__mark svg { width: 29px; fill: none; stroke: var(--mint); stroke-width: 2; }

.brand-copy {
    position: relative;
    z-index: 1;
    margin: auto 0;
    max-width: 670px;
    padding: 80px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: #a7bab8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.eyebrow span { width: 28px; height: 1px; background: var(--mint); }

.brand-copy h1 {
    margin: 0;
    font: 700 clamp(40px, 4.2vw, 66px)/1.08 "Manrope", sans-serif;
    letter-spacing: -.055em;
}

.brand-copy h1 em { color: var(--mint); font-style: normal; }

.brand-copy p {
    max-width: 560px;
    margin: 28px 0 0;
    color: #a9bcba;
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.65;
}

.trust-row {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.trust-row div { display: grid; gap: 6px; }
.trust-row strong { color: #eafff9; font-size: 13px; }
.trust-row span { color: #819694; font-size: 11px; line-height: 1.5; }

.form-panel {
    min-height: 100vh;
    padding: 42px clamp(32px, 6vw, 96px) 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(10, 109, 92, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 109, 92, .03) 1px, transparent 1px),
        #f8faf9;
    background-size: 34px 34px;
}

.login-card {
    width: min(100%, 470px);
    padding: clamp(34px, 4vw, 48px);
    border: 1px solid rgba(219, 230, 228, .85);
    border-radius: 24px;
    background: rgba(255, 255, 255, .95);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--green-dark);
    background: #e9f7f2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: #1ba77f; box-shadow: 0 0 0 4px rgba(27, 167, 127, .12); }

.login-card h2 {
    margin: 22px 0 8px;
    font: 800 34px/1.15 "Manrope", sans-serif;
    letter-spacing: -.04em;
}

.login-card__intro > p { margin: 0 0 31px; color: var(--muted); font-size: 15px; }

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -9px 0 22px;
    padding: 13px 14px;
    border: 1px solid #f2d5ce;
    border-radius: 12px;
    color: #8d3d2f;
    background: #fff7f5;
    font-size: 13px;
    line-height: 1.45;
}

.alert svg { flex: 0 0 18px; width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; }
.label-row { display: flex; align-items: center; justify-content: space-between; margin-top: 21px; }
.label-row label { margin: 0; }
.label-row a { color: var(--green); font-size: 12px; font-weight: 700; text-decoration: none; }
.label-row a:hover { text-decoration: underline; }

.input-wrap { position: relative; }
.input-wrap > svg {
    position: absolute;
    top: 50%; left: 15px;
    width: 19px;
    transform: translateY(-50%);
    fill: none;
    stroke: #879795;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

input[type="email"], input[type="password"] {
    width: 100%;
    height: 53px;
    padding: 0 48px 0 45px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    color: var(--ink);
    background: #fbfdfc;
    font: 500 14px "DM Sans", sans-serif;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

input::placeholder { color: #9ca9a8; }
input:focus { border-color: #37a58d; background: var(--white); box-shadow: 0 0 0 4px rgba(28, 139, 115, .11); }

.password-toggle {
    position: absolute;
    top: 50%; right: 10px;
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    color: #71817f;
    background: transparent;
    cursor: pointer;
}
.password-toggle:hover { background: #eef4f2; }
.password-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.remember { display: flex; align-items: center; gap: 10px; margin: 19px 0 24px; color: #586866; font-size: 12px; font-weight: 500; cursor: pointer; }
.remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }

.primary-button {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    color: var(--white);
    background: linear-gradient(135deg, #0b7c68, #07594d);
    box-shadow: 0 12px 24px rgba(7, 89, 77, .2);
    font: 700 14px "DM Sans", sans-serif;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(7, 89, 77, .27); }
.primary-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.support-copy { margin: 25px 0 0; text-align: center; color: #7a8886; font-size: 12px; }
.support-copy a { color: var(--green); font-weight: 700; text-decoration: none; }
.support-copy a:hover { text-decoration: underline; }

.mobile-brand { display: none; }
footer { width: 100%; margin-top: 28px; color: #94a09f; text-align: center; font-size: 11px; }

@media (max-width: 980px) {
    .auth-shell { grid-template-columns: 1fr; }
    .brand-panel { display: none; }
    .form-panel { padding: 28px 20px 22px; }
    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 25px;
        color: var(--panel);
        font: 700 18px "Manrope", sans-serif;
    }
    .mobile-brand .brand__mark { background: var(--panel); }
}

@media (max-width: 520px) {
    .login-card { padding: 30px 22px; border-radius: 19px; }
    .login-card h2 { font-size: 29px; }
}
