﻿/* =====================================================================
   ESSP LOGIN – loginnew.css
   One responsive stylesheet for the login page.
   Sizes are in px (not rem) on purpose: the Metronic bundle changes the
   root font-size, which would otherwise shrink everything unpredictably.

   Breakpoints
     ≥ 1600px            large / 4K monitors
     992px – 1599px      laptops & desktops (two columns, fits the height)
     ≥ 992px & short     short desktop windows / zoomed browsers
     ≤ 991px             tablets & phones (stacked)
     ≤ 575px             phones
     ≤ 360px             small phones
     landscape & short   phones held sideways (two compact columns)
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Sora:wght@600;700;800&family=JetBrains+Mono&display=swap');

/* ---------- 1. Tokens ---------- */
:root {
    --void: #0a0718;
    --cyan: #22d3ee;
    --aqua: #5eead4;
    --grape: #a855f7;
    --rose: #fb7185;
    --on: #f2f0ff;
    --on-soft: rgba(242,240,255,.74);
    --on-dim: rgba(242,240,255,.52);
    --edge: rgba(255,255,255,.14);
    --edge-hi: rgba(255,255,255,.26);
    /* card (light) */
    --ink: #0a2358;
    --ink-2: #1b2a4a;
    --muted: #5b6f93;
    --line: #d7e0ef;
    --input-bg: #f3f6fc;
    --icon: #8a9ab8;
    --blue-500: #2f6bff;
    --blue-600: #1747c9;
    --danger: #d0453a;
    --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;
    --ease: cubic-bezier(.2,.85,.3,1);
    /* fluid sizes: scale with both width and height */
    --input-h: clamp(42px, 6.2vh, 50px);
    --radius-input: 10px;
    --gap-y: clamp(10px, 1.8vh, 18px);
    --card-max: 440px;
    --pad-x: clamp(16px, 4.5vw, 64px);
    --pad-y: clamp(16px, 4vh, 56px);
    --fs-h1: clamp(28px, min(4.6vw, 7vh), 60px);
    --fs-copy: clamp(13px, min(1.1vw, 1.8vh), 15px);
    --fs-input: 15px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--on);
    background: var(--void) !important;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-y: auto; /* scrolls only if the screen is genuinely too small */
}

button {
    font: inherit;
    color: inherit;
}

:where(a, button, input, select):focus-visible {
    outline: 2.5px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- 3. Background ---------- */
.bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(90% 70% at 50% 120%, #1b0a3d 0%, transparent 60%), linear-gradient(180deg, #0a0718 0%, #120a2b 55%, #0a0718 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    will-change: transform;
}

.b1 {
    width: 56vmax;
    height: 56vmax;
    left: -16vmax;
    top: -22vmax;
    background: rgba(168,85,247,.42);
    animation: f1 26s ease-in-out infinite alternate;
}

.b2 {
    width: 48vmax;
    height: 48vmax;
    right: -14vmax;
    top: -8vmax;
    background: rgba(34,211,238,.30);
    animation: f2 32s ease-in-out infinite alternate;
}

.b3 {
    width: 52vmax;
    height: 52vmax;
    left: 22vmax;
    bottom: -30vmax;
    background: rgba(251,113,133,.22);
    animation: f3 29s ease-in-out infinite alternate;
}

.b4 {
    width: 34vmax;
    height: 34vmax;
    right: 6vmax;
    bottom: -16vmax;
    background: rgba(94,234,212,.20);
    animation: f1 24s ease-in-out infinite alternate-reverse;
}

@keyframes f1 {
    to {
        transform: translate3d(12vmax, 8vmax, 0) scale(1.15);
    }
}

@keyframes f2 {
    to {
        transform: translate3d(-10vmax, 12vmax, 0) scale(1.1);
    }
}

@keyframes f3 {
    to {
        transform: translate3d(8vmax, -10vmax, 0) scale(1.18);
    }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .5;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 85%);
    mask-image: radial-gradient(120% 100% at 50% 40%, #000 30%, transparent 85%);
}

/* ---------- 4. Page layout ---------- */
.wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, var(--card-max));
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
    max-width: 1280px;
    margin: 0 auto;
    padding: max(var(--pad-y), env(safe-area-inset-top)) max(var(--pad-x), env(safe-area-inset-right)) max(var(--pad-y), env(safe-area-inset-bottom)) max(var(--pad-x), env(safe-area-inset-left));
}

.pitch {
    min-width: 0;
}

/* The form carries class="card", so reset Bootstrap/Metronic card styles –
   the white card is .glass inside it. */
#loginForm,
#loginForm.card {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    justify-self: end;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    animation: none;
}

/* ---------- 5. Left side (pitch) ---------- */
.pitch h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--fs-h1);
    line-height: 1.06;
    letter-spacing: -.035em;
    color: var(--on);
    margin: 0 0 clamp(12px, 2.4vh, 26px);
    text-wrap: balance;
}

    .pitch h1 em {
        font-style: normal;
        background: linear-gradient(100deg, var(--aqua), var(--cyan) 40%, var(--grape));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.copy {
    max-width: 50ch;
    font-size: var(--fs-copy);
    line-height: 1.7;
    color: var(--on-dim);
    margin: 0 0 clamp(16px, 3.2vh, 34px);
}

.facts {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(7px, 1vh, 10px);
    margin: 0;
    padding: 0;
}

    .facts li {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: clamp(6px, 1.1vh, 9px) clamp(11px, 1.6vh, 15px);
        border-radius: 99px;
        background: rgba(255,255,255,.06);
        border: 1px solid var(--edge);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        font-size: clamp(11.5px, 1.5vh, 13px);
        color: var(--on-soft);
        white-space: nowrap;
        transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
    }

        .facts li:hover {
            border-color: var(--edge-hi);
            background: rgba(255,255,255,.1);
            transform: translateY(-2px);
        }

    .facts svg {
        color: var(--aqua);
        flex: none;
        width: 1em;
        height: 1em;
    }

.legal {
    margin: clamp(14px, 3vh, 36px) 0 0;
    font-size: clamp(11px, 1.4vh, 12px);
    color: var(--on-dim);
}

/* ---------- 6. Orbit illustration ---------- */
.orbit {
    display: block;
    width: min(440px, 100%);
    max-height: clamp(110px, 28vh, 260px);
    margin-top: clamp(14px, 3.4vh, 44px);
    overflow: visible;
}

.ring-in {
    animation: dashTurn 30s linear infinite;
}

@keyframes dashTurn {
    to {
        stroke-dashoffset: -220;
    }
}

.ring-out {
    animation: ringBreathe 9s ease-in-out infinite;
}

@keyframes ringBreathe {
    50% {
        opacity: .45;
    }
}

.card-g {
    animation: drift 7.5s ease-in-out infinite;
}

@keyframes drift {
    50% {
        transform: translateY(-7px);
    }
}

.sheen {
    animation: sheen 7s ease-in-out infinite;
}

@keyframes sheen {
    0%, 58% {
        transform: translateX(-230px);
    }

    100% {
        transform: translateX(250px);
    }
}

.ping {
    transform-box: fill-box;
    transform-origin: center;
    animation: ping 3.4s var(--ease) infinite;
}

    .ping.p2 {
        animation-delay: 1.7s;
    }

@keyframes ping {
    0% {
        opacity: .5;
        transform: scale(.62);
    }

    70%, 100% {
        opacity: 0;
        transform: scale(1.85);
    }
}

.bar {
    transform-box: fill-box;
    transform-origin: left center;
    animation: barFill 7.5s var(--ease) infinite;
}

    .bar.r2 {
        animation-delay: .5s;
    }

@keyframes barFill {
    0% {
        transform: scaleX(.15);
        opacity: .3;
    }

    22%, 88% {
        transform: scaleX(1);
        opacity: 1;
    }

    100% {
        transform: scaleX(.15);
        opacity: .3;
    }
}

.halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: halo 4s ease-in-out infinite;
}

.n2 .halo {
    animation-delay: 1.3s;
}

.n3 .halo {
    animation-delay: 2.6s;
}

@keyframes halo {
    50% {
        transform: scale(1.12);
        opacity: .75;
    }
}

/* ---------- 7. Entrance animations ---------- */
.up {
    opacity: 0;
    transform: translateY(16px);
    animation: up .9s var(--ease) forwards;
}

    .up.a {
        animation-delay: .04s;
    }

    .up.b {
        animation-delay: .14s;
    }

    .up.c {
        animation-delay: .24s;
    }

    .up.d {
        animation-delay: .32s;
    }

    .up.e {
        animation-delay: .4s;
    }

@keyframes up {
    to {
        opacity: 1;
        transform: none;
    }
}

.rise-in {
    opacity: 0;
    transform: translateY(14px);
    animation: riseIn .7s cubic-bezier(.2,.7,.3,1) forwards;
}

.d1 {
    animation-delay: .05s;
}

.d2 {
    animation-delay: .14s;
}

.d3 {
    animation-delay: .23s;
}

@keyframes riseIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- 8. White card ---------- */
.glass {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: clamp(22px, 4vh, 44px) clamp(18px, 2.6vw, 40px) clamp(18px, 3vh, 30px);
    border-radius: 24px;
    background: linear-gradient(160deg, #ffffff 0%, #f4f7fd 100%);
    border: 1px solid rgba(255,255,255,.9);
    color: var(--ink-2);
    box-shadow: 0 30px 70px rgba(2,10,32,.45), 0 0 0 1px rgba(47,107,255,.06);
    transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s;
}

    .glass::after {
        content: "";
        position: absolute;
        top: -60%;
        left: -70%;
        width: 60%;
        height: 220%;
        background: linear-gradient(100deg, transparent, rgba(47,107,255,.06), transparent);
        transform: rotate(12deg);
        animation: sweep 7s ease-in-out infinite;
        pointer-events: none;
    }

@keyframes sweep {
    0%, 65% {
        left: -70%;
    }

    100% {
        left: 130%;
    }
}

@media (hover: hover) and (min-width: 992px) {
    .glass:hover {
        transform: translateY(-4px);
        box-shadow: 0 40px 90px rgba(2,10,32,.5), 0 0 0 1px rgba(47,107,255,.1);
    }
}

.glass > * {
    position: relative;
    /*z-index: 2;*/
}

/* company logo – any shape fits, never stretched */
.ihits_logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(40px, 8vh, 76px);
    position: static;
}

    .ihits_logo img {
        display: block;
        max-width: min(180px, 70%);
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }

.glass .title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(18px, min(1.8vw, 2.8vh), 24px);
    line-height: 1.25;
    letter-spacing: -.02em;
    text-align: center;
    color: var(--ink);
    margin: clamp(10px, 2.4vh, 26px) 0 6px;
    padding: 0;
}

.glass .subtitle {
    font-size: clamp(13px, 1.7vh, 14.5px);
    line-height: 1.5;
    text-align: center;
    color: var(--muted);
    margin: 0 0 clamp(14px, 2.8vh, 26px);
}

.alert-soft {
    display: none;
    align-items: center;
    gap: 9px;
    background: #fff1f0;
    color: #c0392b;
    border: 1px solid #f5c2bd;
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 13.5px;
    margin-bottom: 16px;
}

    .alert-soft.show {
        display: flex;
        animation: shake .4s;
    }

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* ---------- 9. Text boxes with floating labels ---------- */
.glass .field {
    position: relative;
    margin: 0 0 var(--gap-y);
}

    /* !important is needed here: the inputs carry h-auto / py-4 / px-8 / mb-5,
   which are !important Bootstrap utilities. This selector is more specific,
   so it wins. */
    .glass .field input {
        display: block;
        width: 100%;
        height: var(--input-h) !important;
        margin: 0 !important;
        padding: 0 16px 0 44px !important;
        border-radius: var(--radius-input);
        border: 1px solid var(--line);
        background: var(--input-bg);
        background-image: none;
        color: var(--ink);
        font-family: var(--font-body);
        font-size: var(--fs-input);
        line-height: normal;
        box-shadow: none;
        outline: none;
        transition: border-color .25s, background-color .25s, box-shadow .25s;
    }

        .glass .field input::placeholder {
            color: transparent;
        }

        .glass .field input:hover {
            background-color: #eef3fb;
        }

        .glass .field input:focus {
            background-color: #fff;
            border-color: var(--blue-500);
            box-shadow: 0 0 0 4px rgba(47,107,255,.12);
        }

        /* room for the eye button */
        .glass .field input[type="password"],
        .glass .field input#Password {
            padding-right: 50px !important;
        }

        .glass .field input.is-invalid,
        .glass .field input.error,
        .glass .field input.input-error,
        .glass .field input.input-validation-error {
            border-color: #f08a80;
            box-shadow: 0 0 0 4px rgba(240,80,70,.1);
        }

        .glass .field input:-webkit-autofill,
        .glass .field input:-webkit-autofill:hover,
        .glass .field input:-webkit-autofill:focus {
            -webkit-text-fill-color: var(--ink);
            -webkit-box-shadow: 0 0 0 1000px #eef4ff inset;
            caret-color: var(--ink);
            transition: background-color 9999s ease-out;
        }

    .glass .field label {
        position: absolute;
        left: 44px;
        top: calc(var(--input-h) / 2);
        transform: translateY(-50%);
        max-width: calc(100% - 90px);
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #7a8bab;
        font-size: var(--fs-input);
        font-weight: 400;
        line-height: 1.2;
        pointer-events: none;
        transition: all .22s cubic-bezier(.4,0,.2,1);
    }

    /* floated state – kept as separate rules on purpose: an unsupported
   selector inside a comma list would make the browser drop the whole rule */
    .glass .field input:focus + label {
        top: 0;
        left: 14px;
        font-size: 11.5px;
        letter-spacing: .04em;
        color: var(--blue-500);
        background: #fff;
        padding: 2px 8px;
        border-radius: 6px;
        max-width: calc(100% - 28px);
    }

    .glass .field input:not(:placeholder-shown) + label {
        top: 0;
        left: 14px;
        font-size: 11.5px;
        letter-spacing: .04em;
        color: var(--blue-500);
        background: #fff;
        padding: 2px 8px;
        border-radius: 6px;
        max-width: calc(100% - 28px);
    }

    .glass .field input.is-filled + label {
        top: 0;
        left: 14px;
        font-size: 11.5px;
        letter-spacing: .04em;
        color: var(--blue-500);
        background: #fff;
        padding: 2px 8px;
        border-radius: 6px;
        max-width: calc(100% - 28px);
    }

    .glass .field input:-webkit-autofill + label {
        top: 0;
        left: 14px;
        font-size: 11.5px;
        letter-spacing: .04em;
        color: var(--blue-500);
        background: #fff;
        padding: 2px 8px;
        border-radius: 6px;
        max-width: calc(100% - 28px);
    }

    .glass .field input:autofill + label {
        top: 0;
        left: 14px;
        font-size: 11.5px;
        letter-spacing: .04em;
        color: var(--blue-500);
        background: #fff;
        padding: 2px 8px;
        border-radius: 6px;
        max-width: calc(100% - 28px);
    }

/* lets the page script notice autofill */
@keyframes onAutoFillStart {
    from {
    }

    to {
    }
}

@keyframes onAutoFillCancel {
    from {
    }

    to {
    }
}

.glass .field input:-webkit-autofill {
    animation-name: onAutoFillStart;
}

.glass .field input:not(:-webkit-autofill) {
    animation-name: onAutoFillCancel;
}

.glass .field .lead-icon {
    position: absolute;
    left: 15px;
    top: calc((var(--input-h) - 18px) / 2);
    width: 18px;
    height: 18px;
    color: var(--icon);
    pointer-events: none;
    z-index: 1;
    transition: color .25s;
}

.glass .field:focus-within .lead-icon {
    color: var(--blue-500);
}

.toggle-pass {
    position: absolute;
    right: 6px;
    top: calc((var(--input-h) - 38px) / 2);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--icon);
    font-size: 15px;
    cursor: pointer;
    z-index: 2;
    transition: .2s;
}

    .toggle-pass:hover {
        color: var(--ink);
        background: #e8eef9;
    }

    .toggle-pass i {
        line-height: 1;
    }

/* validation text under a box */
.lc-msg,
.glass .error-message,
.glass .field-validation-error {
    display: block;
    margin: 6px 4px 0;
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--danger);
}

    .lc-msg:empty,
    .glass .error-message:empty {
        display: none;
    }

    .lc-msg i, .lc-msg img {
        margin-right: 4px;
        vertical-align: -1px;
    }

/* ---------- 10. Captcha row: box | image ---------- */
.lc-captcha {
    display: grid;
    /*  grid-template-columns: minmax(0, 1fr) auto;*/
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-bottom: var(--gap-y);
}

.glass .lc-captcha .field {
    margin-bottom: 0;
}

    .glass .lc-captcha .field input {
        padding-left: 40px !important;
        padding-right: 10px !important;
    }

    .glass .lc-captcha .field label {
        left: 40px;
        max-width: calc(100% - 50px);
    }

    .glass .lc-captcha .field .lead-icon {
        left: 13px;
    }

.lc-captcha__img {
    height: var(--input-h);
    min-width: 120px;
    max-width: 180px;
    padding: 4px 6px 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #f8f8ff;
    border: 1px solid var(--line);
    border-radius: var(--radius-input);
    overflow: hidden;
}
/*
    .lc-captcha__img > * {
        display: flex;
        align-items: center;
        gap: 6px;
    }*/

    .lc-captcha__img img {
        display: block;
        max-height: calc(var(--input-h) - 12px);
        max-width: 110px;
        width: auto;
        height: auto;
    }

    .lc-captcha__img a,
    .lc-captcha__img button {
        flex: 0 0 auto;
        display: inline-grid;
        place-items: center;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: var(--blue-500);
        cursor: pointer;
        text-decoration: none;
        transition: background .2s, transform .3s;
    }

        .lc-captcha__img a:hover,
        .lc-captcha__img button:hover {
            background: rgba(47,107,255,.1);
            transform: rotate(-90deg);
        }

    .lc-captcha__img i {
        color: var(--blue-500);
        font-size: 15px;
    }

/* ---------- 11. Login button ---------- */
.btn-login {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: var(--input-h);
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(14px, 2vh, 16px);
    color: #fff;
    background: linear-gradient(100deg, #0ea5a4 0%, #3b82f6 52%, #8b5cf6 100%);
    box-shadow: 0 12px 28px rgba(47,107,255,.35);
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, filter .25s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 38px rgba(47,107,255,.5);
        filter: saturate(1.12);
    }

    .btn-login:active {
        transform: translateY(0);
    }

    .btn-login::before {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 45%;
        height: 100%;
        background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
        transform: skewX(-18deg);
        transition: left .6s ease;
    }

    .btn-login:hover::before {
        left: 120%;
    }

    .btn-login[disabled] {
        opacity: .75;
        cursor: progress;
        transform: none;
    }

/* group company dropdown (if login.js injects one) */
.lc-group:empty {
    display: none;
}

.lc-group {
    margin: 0 0 var(--gap-y);
}

    .lc-group select {
        width: 100%;
        height: var(--input-h);
        padding: 0 40px 0 16px;
        border-radius: var(--radius-input);
        border: 1px solid var(--line);
        background-color: var(--input-bg);
        color: var(--ink);
        font-size: var(--fs-input);
        outline: none;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16' fill='%238a9ab8'%3E%3Cpath d='M1.6 4.6a.75.75 0 0 1 1.06 0L8 9.94l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 5.66a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
    }

        .lc-group select:focus {
            background-color: #fff;
            border-color: var(--blue-500);
            box-shadow: 0 0 0 4px rgba(47,107,255,.12);
        }

/* ---------- 12. Card footer ---------- */
.lc-footer {
    text-align: center;
    margin-top: var(--gap-y);
}

    .lc-footer .link-forgot,
    .lc-footer #kt_login_forgot {
        position: relative;
        font-family: var(--font-body) !important;
        font-size: 14px;
        font-weight: 500;
        color: var(--blue-500);
        text-decoration: none;
    }

        .lc-footer .link-forgot::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -2px;
            height: 1.5px;
            width: 100%;
            background: currentColor;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform .3s cubic-bezier(.4,0,.2,1);
        }

        .lc-footer .link-forgot:hover {
            color: var(--blue-600);
        }

            .lc-footer .link-forgot:hover::after {
                transform: scaleX(1);
                transform-origin: left;
            }

.glass .version {
    text-align: center;
    margin: clamp(6px, 1.4vh, 18px) 0 0;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--icon);
    letter-spacing: .06em;
}

.lc-server-msg {
    text-align: center;
}

    .lc-server-msg span {
        display: inline-block;
        margin-top: clamp(6px, 1.2vh, 14px);
        padding: 9px 14px;
        border-radius: 12px;
        background: #fff1f0;
        border: 1px solid #f5c2bd;
        color: #c0392b;
        font-size: 13.5px;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

        .lc-server-msg span:empty {
            display: none;
        }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* ---- Laptops & desktops: left column lines up with the card ---- */
@media (min-width: 992px) {
    .wrap {
        align-items: stretch;
        align-content: center;
    }

    .pitch {
        display: flex;
        flex-direction: column;
        padding-block: 4px;
    }

    #loginForm {
        align-self: center;
    }

    .orbit {
        margin-block: auto;
    }

    .pitch .legal {
        margin-top: auto;
        padding-top: 14px;
    }
}

/* ---- Large monitors ---- */
@media (min-width: 1600px) {
    :root {
        --card-max: 480px;
        --fs-h1: clamp(48px, min(4vw, 7vh), 76px);
    }

    .wrap {
        max-width: 1480px;
    }

    .copy {
        font-size: 16px;
    }

    .orbit {
        width: min(520px, 100%);
        max-height: clamp(110px, 30vh, 320px);
    }
}

/* ---- 4K / very large ---- */
@media (min-width: 2200px) {
    :root {
        --card-max: 540px;
        --input-h: clamp(50px, 5.2vh, 58px);
        --fs-input: 17px;
    }

    .wrap {
        max-width: 1800px;
    }
}

/* ---- Small laptops ---- */
@media (min-width: 992px) and (max-width: 1199.98px) {
    :root {
        --card-max: 400px;
    }

    .wrap {
        gap: 40px;
    }
}

/* ---- Short desktop windows (1366×650, zoomed browsers) ---- */
@media (min-width: 992px) and (max-height: 760px) {
    :root {
        --input-h: 42px;
        --gap-y: 10px;
        --pad-y: 16px;
    }

    .glass {
        padding: 20px 28px 16px;
    }

    .ihits_logo {
        height: 44px;
    }

    .glass .title {
        margin-top: 10px;
        font-size: 19px;
    }

    .glass .subtitle {
        margin-bottom: 14px;
    }

    .orbit {
        max-height: 22vh;
    }
}

@media (min-width: 992px) and (max-height: 640px) {
    :root {
        --input-h: 40px;
        --gap-y: 8px;
    }
/*
    .copy, .orbit {
        display: none;
    }*/

    .glass .subtitle {
        display: none;
    }

    .ihits_logo {
        height: 36px;
    }

    .glass .version {
        margin-top: 4px;
    }
}

/* ---- Tablets & phones: stack text above the card ---- */
@media (max-width: 991.98px) {
    .wrap {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        align-content: center;
        gap: 0;
        max-width: 560px;
        text-align: center;
    }

    /* let the pitch's children join the page grid, so the copyright
       can move below the card without touching the markup */
    .pitch {
        display: contents;
    }

        .pitch > * {
            max-width: 100%;
        }

    .copy {
        margin-left: auto;
        margin-right: auto;
    }

    .facts {
        justify-content: center;
    }

    .orbit {
        display: none;
    }

    #loginForm {
        order: 5;
        justify-self: center;
        max-width: 480px;
        margin-top: clamp(18px, 3.4vh, 34px);
        text-align: left;
    }

    .pitch .legal {
        order: 10;
        margin-top: clamp(14px, 2.6vh, 24px);
        text-align: center;
    }
}

/* ---- Short tablets / phones in portrait ---- */
@media (max-width: 991.98px) and (max-height: 760px) {
    .copy {
        display: none;
    }

    .pitch h1 {
        font-size: clamp(24px, 5vh, 34px);
        margin-bottom: 12px;
    }
}

@media (max-width: 991.98px) and (max-height: 640px) {
    .facts {
        display: none;
    }

    .pitch h1 {
        margin-bottom: 0;
    }
}

/* ---- Phones ---- */
@media (max-width: 575.98px) {
    :root {
        --input-h: 48px;
        --gap-y: 12px;
        --pad-x: 14px;
        --pad-y: 18px;
        --fs-input: 16px; /* 16px stops iOS zooming */
    }

    .wrap {
        align-content: start;
    }

    #loginForm {
        margin-top: 18px;
    }

    .pitch h1 {
        font-size: clamp(26px, 8vw, 34px);
        margin-bottom: 12px;
    }

    .copy {
        display: none;
    }

    .facts li {
        font-size: 12px;
        padding: 6px 11px;
    }

    .glass {
        padding: 22px 18px 18px;
        border-radius: 20px;
    }

        .glass::after {
            display: none;
        }

    .ihits_logo {
        height: 48px;
    }

    .glass .title {
        font-size: 19px;
        margin-top: 12px;
    }

    .glass .subtitle {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .lc-captcha {
        gap: 8px;
    }

    .lc-captcha__img {
        min-width: 104px;
        padding: 4px;
        gap: 2px;
    }

        .lc-captcha__img img {
            max-width: 80px;
        }

        .lc-captcha__img a, .lc-captcha__img button {
            width: 28px;
            height: 28px;
        }
}

/* ---- Small phones: captcha image drops under the box ---- */
@media (max-width: 360px) {
    .pitch h1 {
        font-size: 24px;
    }

    .facts {
        display: none;
    }

    .glass {
        padding: 18px 14px 16px;
        border-radius: 16px;
    }

        .glass .field input {
            padding-left: 40px !important;
        }

        .glass .field label {
            left: 40px;
            max-width: calc(100% - 84px);
        }

        .glass .field .lead-icon {
            left: 12px;
        }

    .lc-captcha {
        grid-template-columns: minmax(0, 1fr);
    }

    .lc-captcha__img {
        max-width: none;
        width: 100%;
    }

        .lc-captcha__img img {
            max-width: 140px;
        }
}

/* ---- Phones held sideways: two compact columns ---- */
@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 540px) {
    :root {
        --input-h: 40px;
        --gap-y: 8px;
        --pad-y: 12px;
        --fs-input: 16px;
    }

    .wrap {
        grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
        max-width: 960px;
        align-content: center;
        align-items: center;
        gap: 24px;
        text-align: left;
    }

    .pitch {
        display: block;
        text-align: left;
    }

        .pitch h1 {
            font-size: clamp(22px, 4.6vw, 32px);
            margin-bottom: 10px;
        }

    .facts {
        justify-content: flex-start;
    }

    .copy, .orbit {
        display: none;
    }

    .pitch .legal {
        margin-top: 10px;
        text-align: left;
    }

    #loginForm {
        order: 0;
        justify-self: end;
        margin-top: 0;
    }

    .glass {
        padding: 14px 18px 12px;
        border-radius: 18px;
    }

    .ihits_logo {
        height: 32px;
    }

    .glass .title {
        font-size: 16px;
        margin: 6px 0 10px;
    }

    .glass .subtitle {
        display: none;
    }

    .glass .version {
        margin-top: 4px;
    }
}

@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 400px) {
    .facts {
        display: none;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .up, .rise-in {
        opacity: 1;
        transform: none;
    }

    .bar {
        transform: none !important;
        opacity: 1 !important;
    }
}
.badge-secure {

    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    color: rgb(207, 224, 255);
    backdrop-filter: blur(6px);
    gap: 9px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.14);
    border-image: none;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
