/* Secrets Host V5 authentication system — 2026-07-17 */
:root {
    --auth-canvas: #031b2e;
    --auth-deep: #021522;
    --auth-navy: #03395f;
    --auth-surface: rgba(13, 58, 92, .52);
    --auth-surface-strong: rgba(8, 45, 74, .82);
    --auth-mint: #5aeacf;
    --auth-blue: #289df3;
    --auth-text: #f2f8fd;
    --auth-text-2: #c6d9e7;
    --auth-muted: #8fadc4;
    --auth-faint: #5a7b96;
    --auth-line: rgba(141, 196, 235, .16);
    --auth-line-soft: rgba(141, 196, 235, .08);
    --auth-focus: rgba(90, 234, 207, .28);
    --auth-danger: #f0879b;
    --auth-success: #4fd99a;
    --auth-radius-sm: 10px;
    --auth-radius: 16px;
    --auth-radius-lg: 20px;
    --auth-shadow: 0 20px 55px -34px rgba(0, 8, 16, .9);
    --auth-ui: var(--sh-font-ui, "Thmanyah Sans", "Geist Sans", system-ui, sans-serif);
    --auth-display: var(--sh-font-display, "Thmanyah Serif Display", "Space Grotesk", "Geist Sans", sans-serif);
}

body.sh-auth-login,
body.sh-auth-register,
body.sh-auth-reset,
body.sh-auth-two-factor {
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--auth-canvas);
    color: var(--auth-text);
    font-family: var(--auth-ui);
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.sh-auth-login *,
body.sh-auth-register *,
body.sh-auth-reset *,
body.sh-auth-two-factor * {
    box-sizing: border-box;
}

body[class^="sh-auth-"] a {
    color: inherit;
    text-decoration: none;
}

body[class^="sh-auth-"] button,
body[class^="sh-auth-"] input,
body[class^="sh-auth-"] select {
    font: inherit;
}

body[class^="sh-auth-"] .sh-page {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 100svh;
    padding: 72px 0 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 30%, rgba(40, 157, 243, .09), transparent 34%),
        linear-gradient(90deg, var(--auth-canvas), var(--auth-deep));
}

body[class^="sh-auth-"] .sh-page::before {
    content: "" !important;
    position: fixed !important;
    z-index: -2 !important;
    inset: 72px 50% 0 0 !important;
    background:
        radial-gradient(circle at -8% 0%, transparent 0 397px, rgba(90, 234, 207, .38) 401px 406px, rgba(40, 157, 243, .17) 414px 434px, transparent 458px),
        radial-gradient(ellipse 82% 76% at 12% 22%, rgba(40, 157, 243, .13), transparent 68%) !important;
    pointer-events: none;
    display: block !important;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform-origin: left top !important;
    will-change: transform, opacity !important;
    transform: none !important;
    animation: none !important;
}

body[class^="sh-auth-"] .sh-page::after {
    content: "" !important;
    position: fixed !important;
    z-index: -1 !important;
    inset: auto !important;
    width: 440px !important;
    height: 440px !important;
    top: 24% !important;
    left: 6% !important;
    aspect-ratio: auto !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(40, 157, 243, .11), rgba(90, 234, 207, .035) 44%, transparent 72%) !important;
    box-shadow: none !important;
    filter: blur(74px) !important;
    pointer-events: none;
    display: block !important;
    opacity: 1 !important;
    will-change: auto !important;
    transform: none !important;
    animation: none !important;
}

/* Quiet shared navigation */
body[class^="sh-auth-"] .sh-auth-nav {
    position: absolute;
    z-index: 40;
    inset: 0 0 auto;
    min-height: 72px;
    padding: 0 clamp(24px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--auth-line-soft);
    background: rgba(2, 21, 34, .82);
    backdrop-filter: blur(18px);
}

body[class^="sh-auth-"] .sh-auth-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--auth-text);
    font-family: "Space Grotesk", "Geist Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -.03em;
}

body[class^="sh-auth-"] .sh-auth-nav__brand img {
    width: 34px;
    height: 40px;
    object-fit: contain;
}

body[class^="sh-auth-"] .sh-auth-nav__brand > span > span {
    color: var(--auth-muted);
    font-weight: 500;
}

body[class^="sh-auth-"] .sh-auth-nav__tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

body[class^="sh-auth-"] .sh-auth-nav__back,
body[class^="sh-auth-"] .sh-util-pill {
    min-height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: var(--auth-radius-sm);
    background: transparent;
    color: var(--auth-text-2);
    font-size: 13px;
    font-weight: 650;
    list-style: none;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

body[class^="sh-auth-"] .sh-auth-nav__back:hover,
body[class^="sh-auth-"] .sh-util-pill:hover,
body[class^="sh-auth-"] .sh-util-menu[open] > .sh-util-pill {
    color: var(--auth-text);
    border-color: var(--auth-line);
    background: rgba(13, 58, 92, .36);
}

body[class^="sh-auth-"] .sh-auth-nav__back svg {
    width: 17px;
    height: 17px;
}

[dir="ltr"] body[class^="sh-auth-"] .sh-auth-nav__back svg {
    transform: scaleX(-1);
}

body[class^="sh-auth-"] .sh-util-bar {
    position: static;
    inset: auto;
    display: flex;
    gap: 8px;
    margin: 0;
}

body[class^="sh-auth-"] .sh-util-menu {
    position: relative;
}

body[class^="sh-auth-"] .sh-util-pill::-webkit-details-marker {
    display: none;
}

body[class^="sh-auth-"] .sh-util-ico {
    width: auto;
    height: auto;
    background: transparent;
    color: var(--auth-muted);
    font-size: 11px;
}

body[class^="sh-auth-"] .sh-util-caret {
    width: 7px;
    height: 7px;
    border: 0;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: .72;
}

body[class^="sh-auth-"] .sh-util-menu[open] .sh-util-caret {
    transform: rotate(225deg) translate(-1px, -1px);
}

body[class^="sh-auth-"] .sh-util-drop {
    position: absolute;
    z-index: 60;
    top: calc(100% + 8px);
    inset-inline-start: auto;
    inset-inline-end: 0;
    min-width: 170px;
    padding: 7px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    background: rgba(2, 21, 34, .98);
    box-shadow: 0 20px 50px rgba(0, 8, 16, .46);
}

body[class^="sh-auth-"] .sh-util-opt {
    min-height: 38px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    color: var(--auth-text-2);
    font-size: 12px;
}

body[class^="sh-auth-"] .sh-util-opt:hover,
body[class^="sh-auth-"] .sh-util-opt.active {
    color: var(--auth-mint);
    background: rgba(90, 234, 207, .06);
}

body[class^="sh-auth-"] .sh-currency-chip {
    min-height: 40px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-inline-start: 1px solid var(--auth-line);
    color: var(--auth-text-2);
    font: 600 12px/1 "Space Grotesk", "Geist Sans", sans-serif;
}

/* Desktop composition */
body[class^="sh-auth-"] .sh-shell {
    position: relative;
    width: 100%;
    min-height: calc(100svh - 72px);
    display: grid;
    grid-template-columns: minmax(420px, .96fr) minmax(560px, 1.04fr);
    direction: ltr;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

[dir="rtl"] body[class^="sh-auth-"] .sh-brand,
[dir="rtl"] body[class^="sh-auth-"] .sh-form-side {
    direction: rtl;
}

[dir="ltr"] body[class^="sh-auth-"] .sh-brand,
[dir="ltr"] body[class^="sh-auth-"] .sh-form-side {
    direction: ltr;
}

body[class^="sh-auth-"] .sh-brand {
    position: relative;
    min-height: calc(100svh - 72px);
    padding: clamp(36px, 5vw, 72px);
    display: grid;
    place-items: center;
    overflow: hidden;
    border-inline-end: 1px solid var(--auth-line-soft);
    background: transparent;
}

body[class^="sh-auth-"] .sh-brand::before,
body[class^="sh-auth-"] .sh-brand::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

body[class^="sh-auth-"] .sh-brand::before {
    inset: 50% auto auto 50%;
    width: min(42vw, 640px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(141, 196, 235, .10);
    box-shadow:
        0 0 0 74px rgba(141, 196, 235, .032),
        0 0 0 148px rgba(141, 196, 235, .018);
    opacity: .82;
}

body[class^="sh-auth-"] .sh-brand::after {
    inset: 50% auto auto 50%;
    width: min(34vw, 500px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(40, 157, 243, .15), rgba(90, 234, 207, .045) 42%, transparent 70%);
    filter: blur(24px);
}

body[class^="sh-auth-"] .sh-brand-inner,
body[class^="sh-auth-"] .sh-brand-mid {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

body[class^="sh-auth-"] .sh-brand-top,
body[class^="sh-auth-"] .sh-brand-bot,
body[class^="sh-auth-"] .sh-divline,
body[class^="sh-auth-"] .sh-badge,
body[class^="sh-auth-"] .sh-steps,
body[class^="sh-auth-"] .sh-features,
body[class^="sh-auth-"] .sh-h1,
body[class^="sh-auth-"] .sh-desc,
body[class^="sh-auth-"] .sh-wordmark {
    display: none;
}

body[class^="sh-auth-"] .sh-logo-glow {
    position: relative;
    z-index: 2;
    width: clamp(360px, 36vw, 560px);
    height: clamp(420px, 34vw, 530px);
    margin: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body[class^="sh-auth-"] .sh-logo-glow img {
    position: relative;
    z-index: 3;
    width: clamp(176px, 15.5vw, 238px);
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 26px 44px rgba(0, 8, 16, .48))
        drop-shadow(0 0 30px rgba(40, 157, 243, .10));
    animation: none !important;
    will-change: transform, filter;
}

body[class^="sh-auth-"] .sh-logo-glow::before {
    display: none !important;
}

body[class^="sh-auth-"] .sh-v9-auth-ring,
body[class^="sh-auth-"] .sh-v9-auth-glow {
    position: absolute;
    inset: 50% auto auto 50% !important;
    border-radius: 50%;
    transform: none;
    transform-origin: center;
    pointer-events: none;
    animation: none !important;
}

body[class^="sh-auth-"] .sh-v9-auth-ring--outer {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid rgba(141, 196, 235, .10);
    box-shadow: inset 0 0 80px rgba(40, 157, 243, .025), 0 0 70px rgba(40, 157, 243, .025);
}

body[class^="sh-auth-"] .sh-v9-auth-ring--inner {
    width: 72%;
    aspect-ratio: 1;
    border: 1px solid rgba(90, 234, 207, .13);
}

body[class^="sh-auth-"] .sh-v9-auth-ring::before,
body[class^="sh-auth-"] .sh-v9-auth-ring::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--auth-mint);
    box-shadow: 0 0 7px rgba(90, 234, 207, .95), 0 0 22px rgba(90, 234, 207, .64);
}

body[class^="sh-auth-"] .sh-v9-auth-ring--outer::before {
    top: 13%;
    left: 23%;
}

body[class^="sh-auth-"] .sh-v9-auth-ring--outer::after {
    right: 8%;
    bottom: 27%;
    width: 6px;
    height: 6px;
    background: var(--auth-blue);
    box-shadow: 0 0 7px rgba(40, 157, 243, .95), 0 0 20px rgba(40, 157, 243, .62);
}

body[class^="sh-auth-"] .sh-v9-auth-ring--inner::before {
    top: auto;
    right: auto;
    bottom: 1%;
    left: 38%;
    width: 7px;
    height: 7px;
}

body[class^="sh-auth-"] .sh-v9-auth-ring--inner::after {
    display: none;
}

body[class^="sh-auth-"] .sh-v9-auth-glow {
    z-index: 0;
    width: 54%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(90, 234, 207, .18), rgba(40, 157, 243, .10) 46%, transparent 72%);
    filter: blur(30px);
}

body[class^="sh-auth-"] .sh-v9-auth-wordmark {
    position: absolute;
    z-index: 4;
    top: calc(50% + clamp(150px, 12vw, 178px));
    bottom: auto !important;
    inset-inline: 0;
    display: flex !important;
    direction: ltr;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: var(--auth-text);
    font: 700 24px/1 "Space Grotesk", "Geist Sans", sans-serif;
    letter-spacing: -.045em;
}

body[class^="sh-auth-"] .sh-v9-auth-wordmark strong {
    color: var(--auth-muted);
    font-weight: 500;
}

/* Unified brand scene: one center for the arc, shield, rings, dots and wordmark. */
body[class^="sh-auth-"] .sh-shell {
    width: 100% !important;
    max-width: none !important;
    min-height: calc(100svh - 72px) !important;
    margin: 0 !important;
    gap: 0 !important;
    grid-template-columns: minmax(420px, .96fr) minmax(560px, 1.04fr) !important;
    align-items: stretch !important;
}

body[class^="sh-auth-"] .sh-brand {
    min-height: calc(100svh - 72px) !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

body[class^="sh-auth-"] .sh-brand::before,
body[class^="sh-auth-"] .sh-brand::after {
    display: none !important;
}

body[class^="sh-auth-"] .sh-brand-mid {
    width: 100% !important;
    max-width: none !important;
    min-height: 100% !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
}

body[class^="sh-auth-"] .sh-logo-glow {
    width: min(43vw, 620px) !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    overflow: visible !important;
    left: -4.2% !important;
    transform: translateY(-7.2vh) !important;
}

body[class^="sh-auth-"] .sh-logo-glow::before {
    content: "" !important;
    position: absolute !important;
    z-index: 1 !important;
    inset: 30% !important;
    display: block !important;
    border: 1px solid rgba(90, 234, 207, .12) !important;
    border-radius: 50% !important;
    background: transparent !important;
    box-shadow: inset 0 0 44px rgba(90, 234, 207, .018) !important;
    pointer-events: none !important;
}

body[class^="sh-auth-"] .sh-logo-glow > img {
    width: 40% !important;
    max-width: 260px !important;
    height: auto !important;
    animation: none !important;
}

body[class^="sh-auth-"] .sh-v9-auth-ring,
body[class^="sh-auth-"] .sh-v9-auth-glow {
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    transform: none;
    animation: none !important;
}

body[class^="sh-auth-"] .sh-v9-auth-ring--outer {
    inset: 3% !important;
}

body[class^="sh-auth-"] .sh-v9-auth-ring--inner {
    inset: 16% !important;
}

body[class^="sh-auth-"] .sh-v9-auth-glow {
    inset: 22% !important;
}

body[class^="sh-auth-"] .sh-v9-auth-wordmark {
    top: auto !important;
    bottom: 17% !important;
    height: auto !important;
    inset-inline: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

@keyframes shAuthV2ArcBreath {
    0%, 100% { transform: scale(1); opacity: .88; }
    50% { transform: scale(1.015); opacity: 1; }
}

@keyframes shAuthV2ShieldFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes shAuthV2OrbitClockwise {
    to { transform: rotate(360deg); }
}

@keyframes shAuthV2OrbitCounter {
    to { transform: rotate(-360deg); }
}

@keyframes shAuthV2GlowPulse {
    0%, 100% { opacity: .68; filter: blur(30px) scale(.94); }
    50% { opacity: 1; filter: blur(34px) scale(1.06); }
}

/* Keep the auth illustration visually rich but static. Continuous full-screen
   compositing delayed the next paint after otherwise sub-millisecond handlers. */

body[class^="sh-auth-"] .sh-brand-note {
    position: absolute;
    z-index: 3;
    inset-inline: clamp(24px, 5vw, 72px);
    bottom: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--auth-muted);
    font-size: 13px;
}

body[class^="sh-auth-"] .sh-brand-note svg {
    width: 18px;
    height: 18px;
    color: var(--auth-mint);
}

body[class^="sh-auth-"] .sh-form-side {
    position: relative;
    width: auto !important;
    min-height: calc(100svh - 72px) !important;
    margin: 0 !important;
    padding: clamp(42px, 6vh, 76px) clamp(34px, 6vw, 92px) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    place-self: stretch !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    animation: none !important;
}

body[class^="sh-auth-"] .sh-form-inner {
    position: relative;
    width: min(100%, 560px);
    max-width: 560px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.sh-auth-register .sh-form-inner {
    width: min(100%, 590px);
    max-width: 590px;
}

body[class^="sh-auth-"] .sh-form-kicker {
    display: none;
}

body[class^="sh-auth-"] .sh-form-h2 {
    margin: 0 0 10px;
    color: var(--auth-text);
    font-family: var(--auth-display);
    font-size: clamp(42px, 4.4vw, 66px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.035em;
}

[dir="ltr"] body[class^="sh-auth-"] .sh-form-h2 {
    font-family: "Space Grotesk", "Geist Sans", sans-serif;
    font-size: clamp(38px, 4vw, 58px);
}

body[class^="sh-auth-"] .sh-form-sub {
    margin: 0 0 28px;
    max-width: 560px;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.75;
}

body[class^="sh-auth-"] .sh-fields,
body[class^="sh-auth-"] .sh-optional-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
}

body[class^="sh-auth-"] .sh-form-inner > form,
body[class^="sh-auth-"] .sh-backup form {
    display: grid;
    gap: 18px;
}

body[class^="sh-auth-"] .sh-field,
body[class^="sh-auth-"] .sh-field-full,
body[class^="sh-auth-"] .sh-captcha-block,
body[class^="sh-auth-"] .sh-terms,
body[class^="sh-auth-"] .sh-meta-row {
    grid-column: 1 / -1;
}

body[class^="sh-auth-"] .sh-field {
    position: relative;
}

body[class^="sh-auth-"] .sh-label-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

body[class^="sh-auth-"] .sh-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 8px;
    color: var(--auth-text-2);
    font-size: 13px;
    font-weight: 700;
}

body[class^="sh-auth-"] .sh-label-row .sh-label {
    margin: 0;
}

body[class^="sh-auth-"] .sh-required {
    color: var(--auth-danger);
    font-size: 15px;
    line-height: 1;
}

body[class^="sh-auth-"] .sh-field-hint {
    margin-top: 7px;
    color: var(--auth-faint);
    font-size: 12px;
}

body[class^="sh-auth-"] .sh-input,
body[class^="sh-auth-"] .sh-select,
body[class^="sh-auth-"] .sh-challenge input[type="text"],
body[class^="sh-auth-"] .sh-challenge input[type="number"],
body[class^="sh-auth-"] .sh-challenge input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 10px 48px 10px 14px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-sm);
    outline: 0;
    background: rgba(2, 21, 34, .58);
    color: var(--auth-text);
    font-size: 14px;
    line-height: 1.35;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

[dir="ltr"] body[class^="sh-auth-"] .sh-input,
[dir="ltr"] body[class^="sh-auth-"] .sh-select {
    padding: 10px 14px 10px 48px;
}

body[class^="sh-auth-"] .sh-input::placeholder {
    color: var(--auth-faint);
}

body[class^="sh-auth-"] .sh-input:hover,
body[class^="sh-auth-"] .sh-select:hover {
    border-color: rgba(141, 196, 235, .28);
}

body[class^="sh-auth-"] .sh-input:focus,
body[class^="sh-auth-"] .sh-select:focus,
body[class^="sh-auth-"] .sh-challenge input:focus {
    border-color: var(--auth-mint);
    background: rgba(5, 37, 61, .78);
    box-shadow: 0 0 0 3px var(--auth-focus);
}

body[class^="sh-auth-"] .sh-field-ico {
    position: absolute;
    z-index: 3;
    inset-inline: auto;
    top: auto;
    bottom: 17px;
    right: auto;
    left: auto;
    inset-inline-start: 16px;
    transform: none;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    color: var(--auth-muted);
    pointer-events: none;
}

body[class^="sh-auth-"] .sh-password-field .sh-input {
    padding-inline-start: 48px;
    padding-inline-end: 14px;
}

body[class^="sh-auth-"] .sh-password-toggle {
    position: absolute;
    z-index: 4;
    inset-inline: auto;
    top: auto;
    bottom: 7px;
    right: auto;
    left: auto;
    inset-inline-start: 8px;
    transform: none;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
}

body[class^="sh-auth-"] .sh-password-toggle:hover,
body[class^="sh-auth-"] .sh-password-toggle:focus-visible {
    color: var(--auth-mint);
    background: rgba(90, 234, 207, .06);
}

body[class^="sh-auth-"] .sh-password-toggle:focus-visible {
    outline: 3px solid var(--auth-focus);
    outline-offset: 2px;
}

body[class^="sh-auth-"] .sh-password-toggle svg {
    width: 20px;
    height: 20px;
}

body.sh-auth-register .sh-password-field .sh-password-toggle {
    bottom: 28px;
}

body[class^="sh-auth-"] .sh-phone-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    direction: rtl;
}

body[class^="sh-auth-"] .sh-phone-control .sh-input {
    direction: ltr;
    text-align: start;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
    padding: 10px 44px 10px 14px;
}

body[class^="sh-auth-"] .sh-phone-field .sh-field-ico {
    inset-inline: auto;
    right: 16px;
    left: auto;
}

body[class^="sh-auth-"] .sh-phone-code {
    min-height: 52px;
    padding: 0 12px;
    border: 1px solid var(--auth-line);
    border-inline-start: 0;
    border-start-end-radius: var(--auth-radius-sm);
    border-end-end-radius: var(--auth-radius-sm);
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    outline: 0;
    background: rgba(2, 21, 34, .82);
    color: var(--auth-text);
    font: 600 13px/1 "Space Grotesk", "Geist Sans", sans-serif;
    cursor: pointer;
}

body[class^="sh-auth-"] .sh-phone-code:focus {
    position: relative;
    z-index: 2;
    border-color: var(--auth-mint);
    box-shadow: 0 0 0 3px var(--auth-focus);
}

body[class^="sh-auth-"] .sh-optional-details {
    grid-column: 1 / -1;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-sm);
    background: rgba(2, 21, 34, .34);
    overflow: clip;
}

body[class^="sh-auth-"] .sh-optional-details summary {
    min-height: 62px;
    padding: 11px 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    color: var(--auth-text-2);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

body[class^="sh-auth-"] .sh-optional-details summary::-webkit-details-marker {
    display: none;
}

body[class^="sh-auth-"] .sh-optional-details summary::after {
    content: "";
    width: 8px;
    height: 8px;
    border-inline-end: 1.5px solid var(--auth-muted);
    border-bottom: 1.5px solid var(--auth-muted);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

body[class^="sh-auth-"] .sh-optional-details[open] summary::after {
    transform: rotate(225deg) translate(-1px, -1px);
}

body[class^="sh-auth-"] .sh-optional-title {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

body[class^="sh-auth-"] .sh-optional-title small {
    color: var(--auth-faint);
    font-size: 11.5px;
    font-weight: 500;
}

body[class^="sh-auth-"] .sh-optional-grid {
    padding: 16px;
    border-top: 1px solid var(--auth-line-soft);
}

body[class^="sh-auth-"] .sh-optional-help {
    color: var(--auth-muted);
    font-size: 12px;
    line-height: 1.6;
}

body[class^="sh-auth-"] .sh-terms,
body[class^="sh-auth-"] .sh-remember {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--auth-muted);
    font-size: 12.5px;
    line-height: 1.7;
    cursor: pointer;
}

body[class^="sh-auth-"] .sh-terms input,
body[class^="sh-auth-"] .sh-remember input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: var(--auth-mint);
}

body[class^="sh-auth-"] .sh-terms a,
body[class^="sh-auth-"] .sh-forgot,
body[class^="sh-auth-"] .sh-register a,
body[class^="sh-auth-"] .sh-login-row a,
body[class^="sh-auth-"] .sh-help a {
    color: var(--auth-mint);
    font-weight: 700;
}

body[class^="sh-auth-"] .sh-terms a:hover,
body[class^="sh-auth-"] .sh-forgot:hover,
body[class^="sh-auth-"] .sh-register a:hover,
body[class^="sh-auth-"] .sh-login-row a:hover,
body[class^="sh-auth-"] .sh-help a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body[class^="sh-auth-"] .sh-help-toggle {
    padding: 3px 6px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--auth-mint);
    font-size: inherit;
    font-weight: 700;
    cursor: pointer;
}

body[class^="sh-auth-"] .sh-help-toggle:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

body[class^="sh-auth-"] .sh-help-toggle:focus-visible {
    outline: 3px solid var(--auth-focus);
    outline-offset: 2px;
}

body[class^="sh-auth-"] .sh-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body[class^="sh-auth-"] .sh-submit,
body[class^="sh-auth-"] .sh-challenge button,
body[class^="sh-auth-"] .sh-challenge input[type="submit"] {
    width: 100%;
    min-height: 54px;
    margin: 2px 0 0;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(90, 234, 207, .8);
    border-radius: var(--auth-radius-sm);
    background: var(--auth-mint);
    color: var(--auth-deep);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 16px 32px -20px rgba(90, 234, 207, .7);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body[class^="sh-auth-"] .sh-submit:hover,
body[class^="sh-auth-"] .sh-challenge button:hover,
body[class^="sh-auth-"] .sh-challenge input[type="submit"]:hover {
    transform: translateY(-1px);
    background: #70f0d8;
    box-shadow: 0 20px 40px -22px rgba(90, 234, 207, .9);
}

body[class^="sh-auth-"] .sh-submit:focus-visible,
body[class^="sh-auth-"] .sh-challenge button:focus-visible,
body[class^="sh-auth-"] .sh-challenge input[type="submit"]:focus-visible {
    outline: 3px solid var(--auth-focus);
    outline-offset: 3px;
}

body[class^="sh-auth-"] .sh-submit:disabled,
body[class^="sh-auth-"] .sh-challenge button:disabled,
body[class^="sh-auth-"] .sh-challenge input[type="submit"]:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
}

body[class^="sh-auth-"] .sh-register,
body[class^="sh-auth-"] .sh-login-row,
body[class^="sh-auth-"] .sh-help {
    margin: 16px 0 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

body[class^="sh-auth-"] .sh-payment-note,
body[class^="sh-auth-"] .sh-security-note {
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--auth-muted);
    font-size: 12px;
    text-align: center;
}

body[class^="sh-auth-"] .sh-payment-note svg,
body[class^="sh-auth-"] .sh-security-note svg {
    width: 18px;
    height: 18px;
    color: var(--auth-mint);
    flex: 0 0 auto;
}

body[class^="sh-auth-"] .sh-or {
    margin: 20px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--auth-faint);
    font-size: 12px;
}

body[class^="sh-auth-"] .sh-or::before,
body[class^="sh-auth-"] .sh-or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--auth-line);
}

body[class^="sh-auth-"] .sh-socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

body[class^="sh-auth-"] .sh-social {
    min-height: 50px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-sm);
    background: rgba(2, 21, 34, .32);
    color: var(--auth-text-2);
    font-size: 13px;
    font-weight: 700;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

body[class^="sh-auth-"] .sh-social:hover {
    color: var(--auth-text);
    border-color: rgba(141, 196, 235, .32);
    background: rgba(13, 58, 92, .44);
}

body[class^="sh-auth-"] .sh-social-mark {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(40, 157, 243, .10);
    color: var(--auth-blue);
    font: 800 12px/1 "Space Grotesk", sans-serif;
}

body[class^="sh-auth-"] .sh-flash {
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid rgba(240, 135, 155, .30);
    border-radius: var(--auth-radius-sm);
    background: rgba(240, 135, 155, .07);
    color: #ffc0cb;
    font-size: 12.5px;
    line-height: 1.65;
}

body[class^="sh-auth-"] .sh-flash ul {
    margin: 0;
    padding-inline-start: 18px;
}

body[class^="sh-auth-"] .sh-flash.success,
body[class^="sh-auth-"] .sh-success-panel {
    border-color: rgba(79, 217, 154, .32);
    background: rgba(79, 217, 154, .07);
    color: #b9f4d5;
}

body[class^="sh-auth-"] .sh-success-panel {
    margin: 0 0 22px;
    padding: 22px;
    border-width: 1px;
    border-style: solid;
    border-radius: var(--auth-radius);
}

body[class^="sh-auth-"] .sh-success-panel h3 {
    margin: 0 0 7px;
    color: var(--auth-text);
    font-family: var(--auth-display);
    font-size: 25px;
}

body[class^="sh-auth-"] .sh-success-panel p {
    margin: 0;
    color: var(--auth-muted);
    font-size: 13px;
    line-height: 1.7;
}

body[class^="sh-auth-"] .sh-captcha-block {
    padding: 13px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-sm);
    background: rgba(2, 21, 34, .34);
}

body[class^="sh-auth-"] .sh-captcha-block p {
    margin: 0 0 10px;
    color: var(--auth-muted);
    font-size: 12px;
}

body[class^="sh-auth-"] .sh-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

body[class^="sh-auth-"] .sh-captcha-row img {
    min-width: 150px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
}

body[class^="sh-auth-"] .sh-captcha-wrap {
    position: relative;
    flex: 1;
}

body[class^="sh-auth-"] .sh-captcha-btn {
    position: absolute;
    inset-inline-end: 6px;
    top: 6px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--auth-muted);
    cursor: pointer;
}

/* Two-factor challenge supplied by WHMCS */
body.sh-auth-two-factor .sh-challenge {
    display: grid;
    gap: 16px;
}

body.sh-auth-two-factor .sh-challenge input[type="text"],
body.sh-auth-two-factor .sh-challenge input[type="number"],
body.sh-auth-two-factor .sh-challenge input[type="password"] {
    min-height: 68px;
    padding: 12px 18px;
    text-align: center;
    direction: ltr;
    color: var(--auth-text);
    font: 700 24px/1 "Space Grotesk", "Geist Sans", monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: clamp(1.4em, 6vw, 3.2em);
    text-indent: clamp(.7em, 3vw, 1.6em);
    background:
        repeating-linear-gradient(90deg, transparent 0 calc(16.666% - 1px), var(--auth-line) calc(16.666% - 1px) 16.666%),
        rgba(2, 21, 34, .58);
}

body.sh-auth-two-factor .sh-backup {
    display: none;
}

body.sh-auth-two-factor .sh-show-backup .sh-primary {
    display: none;
}

body.sh-auth-two-factor .sh-show-backup .sh-backup {
    display: block;
}

body.sh-auth-two-factor .sh-backup-state {
    padding: 18px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--auth-line);
    border-radius: var(--auth-radius-sm);
    background: rgba(2, 21, 34, .30);
}

body.sh-auth-two-factor .sh-backup-state .sh-label {
    margin: 0;
}

body.sh-auth-two-factor .sh-backup-state .sh-submit {
    margin: 0;
}

@media (max-width: 1040px) {
    body[class^="sh-auth-"] .sh-shell {
        grid-template-columns: minmax(340px, .8fr) minmax(520px, 1.2fr) !important;
    }

    body[class^="sh-auth-"] .sh-form-side {
        padding-inline: 42px !important;
    }
}

@media (max-width: 900px) {
    body[class^="sh-auth-"] .sh-page::before,
    body[class^="sh-auth-"] .sh-page::after {
        display: none !important;
    }

    body[class^="sh-auth-"] .sh-shell {
        display: block !important;
        min-height: calc(100svh - 72px) !important;
    }

    body[class^="sh-auth-"] .sh-brand {
        display: none !important;
    }

    body[class^="sh-auth-"] .sh-form-side {
        min-height: calc(100svh - 72px) !important;
    }
}

@media (min-width: 881px) {
    body.sh-auth-register .sh-payment-note {
        display: none;
    }
}

@media (max-width: 880px) {
    body[class^="sh-auth-"] .sh-page::before {
        inset: 72px 0 0 !important;
        opacity: .54 !important;
    }

    body[class^="sh-auth-"] .sh-page::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    body[class^="sh-auth-"] .sh-shell {
        display: block;
        min-height: calc(100svh - 72px);
    }

    body[class^="sh-auth-"] .sh-brand {
        display: none !important;
    }

    body[class^="sh-auth-"] .sh-form-side {
        min-height: calc(100svh - 72px) !important;
        padding: 48px 28px 56px !important;
    }

    body[class^="sh-auth-"] .sh-form-inner,
    body.sh-auth-register .sh-form-inner {
        width: min(100%, 620px);
        max-width: 620px;
    }
}

@media (max-width: 620px) {
    body[class^="sh-auth-"] .sh-page {
        padding-top: 64px;
        overflow: visible;
    }

    body[class^="sh-auth-"] .sh-page::before {
        inset: 64px 0 0 !important;
    }

    body[class^="sh-auth-"] .sh-auth-nav {
        min-height: 64px;
        padding: 0 18px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__brand {
        font-size: 15px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__brand img {
        width: 29px;
        height: 34px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__back,
    body[class^="sh-auth-"] .sh-currency-chip {
        display: none;
    }

    body[class^="sh-auth-"] .sh-util-pill {
        min-height: 38px;
        padding: 0 9px;
    }

    body[class^="sh-auth-"] .sh-util-pill > span:not(.sh-util-ico):not(.sh-util-caret) {
        display: none;
    }

    body[class^="sh-auth-"] .sh-form-side {
        min-height: calc(100svh - 64px) !important;
        padding: 42px 20px 48px !important;
        justify-content: flex-start;
    }

    body[class^="sh-auth-"] .sh-form-h2 {
        font-size: clamp(40px, 13.8vw, 56px);
    }

    [dir="ltr"] body[class^="sh-auth-"] .sh-form-h2 {
        font-size: clamp(34px, 11vw, 48px);
    }

    body[class^="sh-auth-"] .sh-form-sub {
        margin-bottom: 24px;
        font-size: 14px;
    }

    body[class^="sh-auth-"] .sh-fields,
    body[class^="sh-auth-"] .sh-optional-grid {
        gap: 16px;
    }

    body[class^="sh-auth-"] .sh-input,
    body[class^="sh-auth-"] .sh-select,
    body[class^="sh-auth-"] .sh-phone-code {
        min-height: 50px;
    }

    body[class^="sh-auth-"] .sh-socials {
        grid-template-columns: 1fr;
    }

    body[class^="sh-auth-"] .sh-captcha-row {
        flex-direction: column;
    }

    body[class^="sh-auth-"] .sh-captcha-row img {
        width: 100%;
    }
}

/* Paint-cost guard: the gradients already provide the glass appearance, so
   avoid live backdrop/filter layers that delay presentation after input. */
html[dir] body[class^="sh-auth-"] .sh-auth-nav,
html[dir] body[class^="sh-auth-"] .sh-form-inner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html[dir] body[class^="sh-auth-"] .sh-v9-auth-glow {
    filter: none !important;
}

/* Restore one lightweight, compositor-only brand motion. Large background,
   ring and blur animations stay static to preserve input responsiveness. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1081px) {
    html[dir] body[class^="sh-auth-"] .sh-logo-glow > img {
        animation: shAuthV2ShieldFloat 5.5s ease-in-out infinite !important;
        will-change: transform !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[class^="sh-auth-"] *,
    body[class^="sh-auth-"] *::before,
    body[class^="sh-auth-"] *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }

    body[class^="sh-auth-"] .sh-page::before,
    body[class^="sh-auth-"] .sh-logo-glow > img,
    body[class^="sh-auth-"] .sh-v9-auth-ring,
    body[class^="sh-auth-"] .sh-v9-auth-glow {
        animation: none !important;
    }
}

/* Global phone-country selector and verification flow additions. */
body.sh-auth-register .sh-phone-control {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
}

body.sh-auth-register .sh-phone-code {
    width: 100%;
    direction: ltr;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.sh-auth-register .sh-geo-hint {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 10px;
    line-height: 1.55;
}

body.sh-auth-register .sh-geo-hint a {
    color: var(--auth-faint);
    font-size: 10px;
    white-space: nowrap;
    text-decoration: underline;
    text-decoration-color: rgba(90, 234, 207, .24);
    text-underline-offset: 3px;
}

body.sh-auth-register .sh-geo-hint a:hover {
    color: var(--auth-mint);
}

@media (max-width: 520px) {
    body.sh-auth-register .sh-phone-control {
        grid-template-columns: minmax(0, 1fr) minmax(128px, 42%);
    }
}

/* Keep the first-visit privacy choice compact without hiding its meaning. */
@media (max-width: 480px) {
    body[class^="sh-auth-"] #sh-consent-banner {
        inset-inline: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        width: auto;
        max-height: calc(100svh - 20px);
        padding: 10px 12px;
        overflow: auto;
    }

    body[class^="sh-auth-"] #sh-consent-banner .sh-consent__intro {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 9px;
    }

    body[class^="sh-auth-"] #sh-consent-banner .sh-consent__icon {
        width: 32px;
        height: 32px;
    }

    body[class^="sh-auth-"] #sh-consent-banner .sh-consent__copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    body[class^="sh-auth-"] #sh-consent-banner .sh-consent__actions {
        display: grid;
        grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.3fr);
        gap: 6px;
        margin-top: 9px;
    }

    body[class^="sh-auth-"] #sh-consent-banner .sh-consent__button--more {
        grid-column: auto;
        grid-row: auto;
    }

    body[class^="sh-auth-"] #sh-consent-banner .sh-consent__button {
        min-width: 0;
        min-height: 38px;
        padding-inline: 6px;
        font-size: 11.5px;
        white-space: nowrap;
    }
}

/* Secrets Host authentication polish — 2026-08-09 */
body[class^="sh-auth-"] .sh-page {
    padding-top: 76px;
    background:
        radial-gradient(circle at 10% 20%, rgba(40, 157, 243, .12), transparent 34%),
        radial-gradient(circle at 92% 76%, rgba(90, 234, 207, .055), transparent 30%),
        linear-gradient(100deg, #031b2e 0%, #021522 58%, #031a2c 100%);
}

body[class^="sh-auth-"] .sh-auth-nav {
    position: fixed;
    min-height: 76px;
    padding-inline: clamp(22px, 4vw, 68px);
    border-bottom-color: rgba(141, 196, 235, .12);
    background: rgba(2, 21, 34, .90);
    box-shadow: 0 16px 42px -34px rgba(0, 8, 16, .95);
}

body[class^="sh-auth-"] .sh-auth-nav::after {
    content: "";
    position: absolute;
    inset-inline: clamp(22px, 4vw, 68px);
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 234, 207, .26), rgba(40, 157, 243, .20), transparent);
    pointer-events: none;
}

body[class^="sh-auth-"] .sh-auth-nav__brand {
    gap: 11px;
    min-height: 48px;
    font-size: 18px;
}

body[class^="sh-auth-"] .sh-auth-nav__brand img {
    width: 36px;
    height: 43px;
    filter: drop-shadow(0 8px 18px rgba(40, 157, 243, .18));
}

body[class^="sh-auth-"] .sh-auth-nav__tools {
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(141, 196, 235, .12);
    border-radius: 14px;
    background: rgba(8, 45, 74, .30);
}

body[class^="sh-auth-"] .sh-auth-nav__tools .sh-util-bar,
html[dir] body[class^="sh-auth-"] .sh-auth-nav__tools .sh-util-bar {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    margin: 0 !important;
}

body[class^="sh-auth-"] .sh-auth-nav__back,
body[class^="sh-auth-"] .sh-util-pill,
body[class^="sh-auth-"] .sh-currency-chip {
    min-height: 42px;
}

body[class^="sh-auth-"] .sh-currency-chip {
    padding-inline: 13px;
    border-inline-start-color: rgba(141, 196, 235, .13);
}

body[class^="sh-auth-"] .sh-shell {
    min-height: calc(100svh - 76px) !important;
    grid-template-columns: minmax(440px, .9fr) minmax(620px, 1.1fr) !important;
}

body[class^="sh-auth-"] .sh-brand,
body[class^="sh-auth-"] .sh-form-side {
    min-height: calc(100svh - 76px) !important;
}

body[class^="sh-auth-"] .sh-form-side {
    padding: clamp(36px, 5vh, 62px) clamp(30px, 5vw, 76px) !important;
    background:
        radial-gradient(circle at 88% 9%, rgba(40, 157, 243, .065), transparent 30%),
        linear-gradient(180deg, rgba(7, 39, 64, .16), rgba(2, 21, 34, .04)) !important;
}

body[class^="sh-auth-"] .sh-form-inner,
body.sh-auth-register .sh-form-inner {
    width: min(100%, 660px);
    max-width: 660px;
    padding: clamp(28px, 3vw, 40px);
    border: 1px solid rgba(141, 196, 235, .15);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(13, 58, 92, .42), rgba(2, 21, 34, .68));
    box-shadow:
        0 34px 90px -52px rgba(0, 8, 16, .98),
        inset 0 1px 0 rgba(255, 255, 255, .025);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

body[class^="sh-auth-"] .sh-form-h2 {
    margin-bottom: 11px;
    font-size: clamp(46px, 4.3vw, 64px);
    line-height: 1.05;
}

body.sh-auth-register .sh-form-h2 {
    font-size: clamp(44px, 4vw, 60px);
}

body[class^="sh-auth-"] .sh-form-sub {
    margin-bottom: 26px;
    max-width: 600px;
    color: #9bb6ca;
    font-size: 14.5px;
    line-height: 1.75;
}

body[class^="sh-auth-"] .sh-form-inner > form,
body[class^="sh-auth-"] .sh-backup form {
    gap: 20px;
}

body[class^="sh-auth-"] .sh-fields,
body[class^="sh-auth-"] .sh-optional-grid {
    gap: 18px;
}

body[class^="sh-auth-"] .sh-label {
    margin-bottom: 9px;
    color: #d5e5f1;
    font-size: 13.5px;
    letter-spacing: .005em;
}

body[class^="sh-auth-"] .sh-input,
body[class^="sh-auth-"] .sh-select,
body[class^="sh-auth-"] .sh-phone-code,
body[class^="sh-auth-"] .sh-challenge input[type="text"],
body[class^="sh-auth-"] .sh-challenge input[type="number"],
body[class^="sh-auth-"] .sh-challenge input[type="password"] {
    min-height: 56px;
    border-color: rgba(141, 196, 235, .20);
    border-radius: 12px;
    background: rgba(1, 19, 32, .62);
    font-size: 14.5px;
}

body[class^="sh-auth-"] .sh-input:hover,
body[class^="sh-auth-"] .sh-select:hover,
body[class^="sh-auth-"] .sh-phone-code:hover {
    border-color: rgba(141, 196, 235, .34);
    background: rgba(3, 28, 47, .72);
}

body[class^="sh-auth-"] .sh-input:focus,
body[class^="sh-auth-"] .sh-select:focus,
body[class^="sh-auth-"] .sh-phone-code:focus {
    border-color: rgba(90, 234, 207, .82);
    box-shadow: 0 0 0 4px rgba(90, 234, 207, .10);
}

body[class^="sh-auth-"] .sh-field-ico {
    width: 19px;
    height: 19px;
    color: #7597b1;
}

body.sh-auth-register .sh-phone-control {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 220px);
}

body[class^="sh-auth-"] .sh-optional-details {
    border-color: rgba(141, 196, 235, .18);
    border-radius: 12px;
    background: rgba(1, 19, 32, .40);
}

body[class^="sh-auth-"] .sh-optional-details summary {
    min-height: 66px;
    padding-inline: 17px;
}

body[class^="sh-auth-"] .sh-submit,
body[class^="sh-auth-"] .sh-challenge button,
body[class^="sh-auth-"] .sh-challenge input[type="submit"] {
    min-height: 58px;
    border-radius: 12px;
    font-size: 15px;
    box-shadow: 0 20px 38px -24px rgba(90, 234, 207, .76);
}

body[class^="sh-auth-"] .sh-login-row,
body[class^="sh-auth-"] .sh-register {
    margin-top: 18px;
    font-size: 13.5px;
}

@media (max-width: 1160px) {
    body[class^="sh-auth-"] .sh-shell {
        grid-template-columns: minmax(350px, .72fr) minmax(570px, 1.28fr) !important;
    }

    body[class^="sh-auth-"] .sh-form-side {
        padding-inline: 34px !important;
    }

    body[class^="sh-auth-"] .sh-form-inner,
    body.sh-auth-register .sh-form-inner {
        padding: 30px;
    }
}

@media (max-width: 900px) {
    body[class^="sh-auth-"] .sh-shell,
    body[class^="sh-auth-"] .sh-form-side {
        min-height: calc(100svh - 76px) !important;
    }

    body[class^="sh-auth-"] .sh-form-side {
        padding: 40px 28px 54px !important;
    }
}

@media (max-width: 620px) {
    body[class^="sh-auth-"] .sh-page {
        padding-top: 68px;
    }

    body[class^="sh-auth-"] .sh-auth-nav {
        min-height: 68px;
        padding-inline: 14px;
        gap: 10px;
    }

    body[class^="sh-auth-"] .sh-auth-nav::after {
        inset-inline: 14px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__brand {
        gap: 8px;
        font-size: 15px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__brand img {
        width: 30px;
        height: 36px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__tools {
        gap: 2px;
        padding: 2px;
        border-color: rgba(141, 196, 235, .10);
        border-radius: 12px;
    }

    body[class^="sh-auth-"] .sh-auth-nav__back {
        display: inline-flex;
        width: 38px;
        min-height: 38px;
        padding: 0;
    }

    body[class^="sh-auth-"] .sh-auth-nav__back span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    body[class^="sh-auth-"] .sh-util-pill,
    body[class^="sh-auth-"] .sh-currency-chip {
        min-height: 38px;
        padding-inline: 9px;
    }

    body[class^="sh-auth-"] .sh-currency-chip {
        display: inline-flex;
        font-size: 11px;
    }

    body[class^="sh-auth-"] .sh-form-side {
        min-height: calc(100svh - 68px) !important;
        padding: 34px 18px 48px !important;
        background: transparent !important;
    }

    body[class^="sh-auth-"] .sh-form-inner,
    body.sh-auth-register .sh-form-inner {
        width: 100%;
        max-width: none;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    body[class^="sh-auth-"] .sh-form-h2,
    body.sh-auth-register .sh-form-h2 {
        font-size: clamp(42px, 13vw, 54px);
    }

    body[class^="sh-auth-"] .sh-input,
    body[class^="sh-auth-"] .sh-select,
    body[class^="sh-auth-"] .sh-phone-code {
        min-height: 54px;
    }
}

@media (max-width: 430px) {
    body[class^="sh-auth-"] .sh-auth-nav__brand > span {
        display: none;
    }

    body[class^="sh-auth-"] .sh-auth-nav__tools {
        margin-inline-start: auto;
    }

    body.sh-auth-register .sh-phone-control {
        grid-template-columns: minmax(0, 1fr) minmax(124px, 40%);
    }

    body[class^="sh-auth-"] .sh-form-side {
        padding-inline: 16px !important;
    }
}

/* Responsive continuity repair — 2026-08-10 */
html[dir] body[class^="sh-auth-"] {
    background: #031b2e !important;
}

html[dir] body[class^="sh-auth-"] .sh-page {
    min-height: 100svh !important;
    padding-top: 76px !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    background:
        radial-gradient(circle at 8% 18%, rgba(40, 157, 243, .10), transparent 34%),
        radial-gradient(circle at 92% 76%, rgba(90, 234, 207, .045), transparent 32%),
        linear-gradient(180deg, #031b2e 0%, #021827 52%, #031b2e 100%) !important;
}

html[dir] body[class^="sh-auth-"] .sh-auth-nav {
    position: fixed !important;
    z-index: 1000 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: auto !important;
    min-height: 76px !important;
    transform: none !important;
}

html[dir] body[class^="sh-auth-"] .sh-shell {
    min-height: calc(100svh - 76px) !important;
    grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr) !important;
}

html[dir] body[class^="sh-auth-"] .sh-brand,
html[dir] body[class^="sh-auth-"] .sh-form-side {
    min-height: calc(100svh - 76px) !important;
    background: transparent !important;
}

html[dir] body[class^="sh-auth-"] .sh-brand {
    border-inline-end: 0 !important;
}

@media (min-width: 621px) {
    html[dir] body.sh-auth-login .sh-form-inner {
        width: min(100%, 560px) !important;
        max-width: 560px !important;
    }
}

@media (max-width: 1160px) {
    html[dir] body[class^="sh-auth-"] .sh-shell {
        grid-template-columns: minmax(320px, .74fr) minmax(500px, 1.26fr) !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-form-side {
        padding-inline: 30px !important;
    }
}

@media (max-width: 1080px) {
    html[dir] body[class^="sh-auth-"] .sh-page::before,
    html[dir] body[class^="sh-auth-"] .sh-page::after {
        display: none !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-shell {
        display: block !important;
        min-height: calc(100svh - 76px) !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-brand {
        display: none !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-form-side {
        width: 100% !important;
        min-height: calc(100svh - 76px) !important;
        padding: 44px 24px 56px !important;
    }
}

@media (max-width: 620px) {
    html[dir] body[class^="sh-auth-"] .sh-page {
        padding-top: 68px !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-auth-nav {
        min-height: 68px !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-shell,
    html[dir] body[class^="sh-auth-"] .sh-form-side {
        min-height: calc(100svh - 68px) !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-form-side {
        padding: 34px 16px 48px !important;
    }

    html[dir] body[class^="sh-auth-"] .sh-form-inner,
    html[dir] body.sh-auth-register .sh-form-inner {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}
