:root {
    --wb-auth-navy: #10264a;
    --wb-auth-blue: #1769d2;
    --wb-auth-blue-hover: #1058b7;
    --wb-auth-ink: #17263d;
    --wb-auth-muted: #68778d;
    --wb-auth-border: #dce5f0;
    --wb-auth-bg: #f3f7fc;
    --wb-auth-white: #fff;
}
* { box-sizing: border-box; }
body.wb-auth-page {
    margin: 0;
    min-height: 100vh;
    color: var(--wb-auth-ink);
    background:
        radial-gradient(ellipse at 5% 5%, rgba(23,105,210,.09), transparent 36%),
        radial-gradient(ellipse at 95% 95%, rgba(16,38,74,.08), transparent 32%),
        var(--wb-auth-bg);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.wb-auth-shell {
    width: min(100% - 32px, 510px);
    margin: 0 auto;
    padding: 34px 0 26px;
}
.wb-auth-brand {
    display: flex;
    justify-content: center;
    margin: 0 auto 25px;
}
.wb-auth-brand img {
    display: block;
    width: min(210px, 62vw);
    max-height: 66px;
    object-fit: contain;
}
.wb-auth-card {
    padding: clamp(23px, 5vw, 42px);
    border: 1px solid rgba(220,229,240,.95);
    border-radius: 22px;
    background: var(--wb-auth-white);
    box-shadow: 0 22px 65px rgba(16,38,74,.09);
}
.wb-auth-kicker {
    color: var(--wb-auth-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    margin-bottom: 12px;
}
.wb-auth-card h1 {
    margin: 0;
    color: var(--wb-auth-navy);
    font-size: clamp(27px, 5vw, 35px);
    line-height: 1.17;
    letter-spacing: -.04em;
}
.wb-auth-intro {
    margin: 12px 0 25px;
    color: var(--wb-auth-muted);
    font-size: 14px;
    line-height: 1.7;
}
.wb-auth-alert, .wb-auth-success {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.wb-auth-alert {
    color: #8e2525;
    background: #fff1f1;
    border: 1px solid #f1cccc;
}
.wb-auth-success {
    color: #17603c;
    background: #edf9f1;
    border: 1px solid #c9ead4;
}
.wb-field {
    display: block;
    margin-bottom: 17px;
}
.wb-field > span {
    display: block;
    margin-bottom: 8px;
    color: #263750;
    font-size: 13px;
    font-weight: 700;
}
.wb-field em {
    color: var(--wb-auth-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}
.wb-field input, .wb-country-wrap > input {
    width: 100%;
    min-height: 49px;
    border: 1px solid var(--wb-auth-border);
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
    background: #fff;
    color: var(--wb-auth-ink);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s, box-shadow .18s;
}
.wb-field input:focus, .wb-country-wrap > input:focus {
    border-color: var(--wb-auth-blue);
    box-shadow: 0 0 0 3px rgba(23,105,210,.12);
}
.wb-field small {
    display: block;
    margin-top: 7px;
    color: var(--wb-auth-muted);
    font-size: 11px;
    line-height: 1.5;
}
.wb-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 20px;
    color: var(--wb-auth-muted);
    font-size: 12px;
    line-height: 1.6;
}
.wb-auth-check input {
    margin-top: 3px;
    accent-color: var(--wb-auth-blue);
}
.wb-auth-card a {
    color: var(--wb-auth-blue);
    font-weight: 700;
    text-decoration: none;
}
.wb-auth-card a:hover { text-decoration: underline; }
.wb-auth-submit {
    width: 100%;
    min-height: 51px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--wb-auth-blue);
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(23,105,210,.19);
    transition: background .18s, transform .18s, box-shadow .18s;
}
.wb-auth-submit:hover {
    background: var(--wb-auth-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 11px 23px rgba(23,105,210,.23);
}
.wb-auth-submit:focus-visible, .wb-auth-link-button:focus-visible,
.wb-biometric:focus-visible {
    outline: 3px solid rgba(23,105,210,.28);
    outline-offset: 3px;
}
.wb-auth-inline {
    display: flex;
    justify-content: flex-end;
    margin: -4px 0 19px;
    font-size: 12px;
}
.wb-auth-switch {
    margin: 23px 0 0;
    text-align: center;
    color: var(--wb-auth-muted);
    font-size: 13px;
    line-height: 1.7;
}
.wb-auth-footnote {
    margin: 18px auto 0;
    max-width: 420px;
    text-align: center;
    color: var(--wb-auth-muted);
    font-size: 11px;
    line-height: 1.7;
}
.wb-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 17px;
    color: #8290a3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
}
.wb-auth-divider::before, .wb-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6ebf2;
}
.wb-biometric-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wb-biometric {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    text-align: left;
    background: #f8fafc;
    color: #7c899b;
    cursor: not-allowed;
}
.wb-biometric strong, .wb-biometric small { display: block; }
.wb-biometric strong { font-size: 12px; color: #5d6b80; }
.wb-biometric small { margin-top: 4px; font-size: 10px; line-height: 1.4; }
.wb-bio-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    height: 30px;
    border-radius: 9px;
    color: #7c899b;
    background: #e9eef5;
    font-size: 21px;
}
.wb-auth-resend { margin-top: 13px; text-align: center; }
.wb-auth-link-button {
    border: 0;
    padding: 8px;
    color: var(--wb-auth-blue);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.wb-country-wrap { position: relative; }
.wb-country-list {
    position: absolute;
    z-index: 10;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 230px;
    overflow: auto;
    padding: 5px;
    border: 1px solid var(--wb-auth-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16,38,74,.14);
}
.wb-country-option {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    text-align: left;
    color: var(--wb-auth-ink);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}
.wb-country-option:hover, .wb-country-option:focus {
    background: #eef5ff;
    outline: none;
}
.wb-country-option[hidden] { display: none; }
.wb-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
@media (max-width: 420px) {
    .wb-auth-shell { width: min(100% - 20px, 510px); padding-top: 22px; }
    .wb-auth-card { border-radius: 17px; padding: 22px 18px; }
    .wb-biometric-options { grid-template-columns: 1fr; }
}
