/* InfinityCore login V5.1 centre vault.
   Self-contained: keeps the auth/test compatibility classes while removing
   the previous public side rails and internal telemetry from anonymous HTML. */

.lv-page,
.lvv5-page {
    --lv-abyss: #05070c;
    --lv-void: #0b0f17;
    --lv-void-2: #111722;
    --lv-carbon: #171d2a;
    --lv-steel: #252c3b;
    --lv-on: #d9d9d3;
    --lv-on-2: #fbf7ec;
    --lv-muted: #858996;
    --lv-dim: #4d5362;
    --lv-bronze: #c39257;
    --lv-bronze-2: #a47438;
    --lv-bronze-3: #6f4d1f;
    --lv-bronze-glow: rgba(195, 146, 87, 0.18);
    --lv-ok: #6cbf7a;
    --lv-crit: #d65543;
    --lv-font: var(--ff-ui, "Geist", system-ui, sans-serif);
    --lv-mono: var(--ff-mono, "Geist Mono", ui-monospace, monospace);

    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    color: var(--lv-on);
    font-family: var(--lv-font);
    -webkit-font-smoothing: antialiased;
    background:
        radial-gradient(740px 520px at 50% 28%, rgba(195, 146, 87, 0.16), transparent 66%),
        radial-gradient(760px 420px at 50% 102%, rgba(91, 143, 199, 0.08), transparent 62%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 5px),
        linear-gradient(180deg, #111824 0%, #080b12 58%, #05070c 100%);
}

.lv-page * {
    box-sizing: border-box;
}

.lvv5-page--center {
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 58px) 22px;
    position: relative;
    overflow: hidden;
}

.lvv5-page--center::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(ellipse at center, black 22%, transparent 76%);
}

.lvv5-vault {
    position: relative;
    width: min(100%, 520px);
    min-height: auto;
    padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 44px) clamp(28px, 4vw, 42px);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--lv-on);
    background:
        linear-gradient(180deg, rgba(17, 23, 34, 0.92), rgba(7, 10, 16, 0.88)),
        radial-gradient(520px 320px at 50% 0%, rgba(195, 146, 87, 0.11), transparent 72%);
    border: 1px solid rgba(195, 146, 87, 0.22);
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 7px rgba(195, 146, 87, 0.035),
        0 34px 90px -36px rgba(0, 0, 0, 0.84);
    overflow: hidden;
}

.lvv5-vault::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}

.lvv5-vault > * {
    position: relative;
    z-index: 1;
}

.lvv5-cluster {
    width: min(230px, 48vw);
    aspect-ratio: 1;
    margin: 0 auto 22px;
    position: relative;
    display: grid;
    place-items: center;
}

.lvv5-cluster__dial {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lvv5-cluster__mark {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: var(--lv-bronze);
    font-size: 34px;
    line-height: 1;
    font-weight: 500;
    background: linear-gradient(160deg, #1d2432, #080b12);
    border: 1px solid rgba(195, 146, 87, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 8px rgba(195, 146, 87, 0.045),
        0 20px 54px -18px rgba(195, 146, 87, 0.52);
}

.lvv5-cluster__read {
    position: absolute;
    right: 2px;
    bottom: 6px;
    color: var(--lv-bronze);
    font-family: var(--lv-mono);
    font-size: 8.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lvv5-cluster__v {
    color: var(--lv-on-2);
    margin-left: 4px;
}

.lvv5-brand {
    margin: 0;
    color: var(--lv-on-2);
    font-size: clamp(36px, 7vw, 48px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-align: center;
}

.lvv5-brand__ac {
    color: var(--lv-bronze);
    font-style: italic;
    font-weight: 400;
}

.lvv5-tag {
    margin: 12px 0 28px;
    color: var(--lv-muted);
    font-family: var(--lv-mono);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-align: center;
    text-transform: uppercase;
}

.lvv5-tag__sep {
    color: var(--lv-bronze);
    margin: 0 8px;
}

.lvv5-eb,
.lv-r__eb {
    color: var(--lv-bronze);
    font-family: var(--lv-mono);
    font-size: 9.5px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.lvv5-title,
.lv-r__title {
    margin: 8px 0 0;
    color: var(--lv-on-2);
    font-size: 40px;
    line-height: 1.04;
    font-weight: 500;
    letter-spacing: -0.032em;
}

.lvv5-sub,
.lv-r__sub {
    margin: 8px 0 22px;
    color: var(--lv-muted);
    font-size: 13px;
    text-align: center;
}

.lvv5-form,
.lv-form {
    width: 100%;
    max-width: 400px;
}

.lvv5-field,
.lv-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 13px;
}

.lvv5-field__label,
.lv-field__label {
    color: var(--lv-muted);
    font-family: var(--lv-mono);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lvv5-field__input,
.lv-field__input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    color: var(--lv-on-2);
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.105);
    border-radius: 10px;
    outline: none;
    font: inherit;
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lvv5-field__input::placeholder,
.lv-field__input::placeholder {
    color: rgba(217, 217, 211, 0.38);
}

.lvv5-field__input:focus,
.lv-field__input:focus {
    border-color: var(--lv-bronze);
    background: rgba(195, 146, 87, 0.06);
    box-shadow: 0 0 0 4px var(--lv-bronze-glow);
}

.lvv5-field__row,
.lv-field__row {
    position: relative;
}

.lvv5-field__row .lvv5-field__input,
.lv-field__row .lv-field__input {
    padding-right: 76px;
}

.lvv5-field__reveal,
.lv-field__reveal {
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    height: 28px;
    border: 0;
    border-radius: 7px;
    padding: 0 9px;
    color: var(--lv-bronze);
    background: transparent;
    font-family: var(--lv-mono);
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
}

.lvv5-field__reveal:hover,
.lv-field__reveal:hover {
    background: rgba(195, 146, 87, 0.08);
}

.lvv5-field__reveal:focus-visible,
.lv-field__reveal:focus-visible {
    outline: 2px solid var(--lv-bronze);
    outline-offset: 2px;
}

.lvv5-field__err,
.lv-field__err {
    margin: 0;
    color: var(--lv-crit);
    font-size: 12px;
}

.lvv5-error,
.lv-r__error {
    width: 100%;
    max-width: 400px;
    margin: 0 0 16px;
    padding: 12px 14px;
    color: #ffd6d1;
    background: rgba(214, 85, 67, 0.10);
    border: 1px solid rgba(214, 85, 67, 0.36);
    border-radius: 10px;
    font-size: 13px;
}

.lvv5-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 15px 0;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.lvv5-context__k {
    color: var(--lv-muted);
    font-family: var(--lv-mono);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lvv5-context__v {
    margin-top: 4px;
    color: var(--lv-on-2);
    font-size: 13px;
    font-weight: 550;
}

.lvv5-context__tag {
    color: var(--lv-muted);
    font-family: var(--lv-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lvv5-row,
.lv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
    color: var(--lv-on);
    font-size: 12.5px;
}

.lvv5-remember,
.lv-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.lvv5-remember__cb,
.lv-remember__cb {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lvv5-remember__box {
    width: 14px;
    height: 14px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
}

.lvv5-remember__cb:checked + .lvv5-remember__box {
    background: var(--lv-bronze);
    border-color: var(--lv-bronze);
}

.lvv5-remember__cb:checked + .lvv5-remember__box::after {
    content: "";
    width: 4px;
    height: 7px;
    border-right: 1.5px solid #0e1116;
    border-bottom: 1.5px solid #0e1116;
    transform: rotate(45deg) translateY(-1px);
}

.lvv5-remember__cb:focus-visible + .lvv5-remember__box {
    outline: 2px solid var(--lv-bronze);
    outline-offset: 2px;
}

.lvv5-link,
.lv-link {
    color: var(--lv-bronze);
    text-decoration: none;
}

.lvv5-link:hover,
.lv-link:hover {
    text-decoration: underline;
}

.lvv5-btn,
.lv-btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 18px;
    color: var(--lv-abyss);
    background: linear-gradient(180deg, var(--lv-bronze), var(--lv-bronze-3));
    border: 1px solid var(--lv-bronze-2);
    border-radius: 11px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 14px 30px -12px rgba(195, 146, 87, 0.50);
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: 0.01em;
}

.lvv5-btn:hover,
.lv-btn:hover {
    filter: brightness(1.06);
}

.lvv5-btn:active,
.lv-btn:active {
    transform: translateY(1px);
}

.lvv5-btn:focus-visible,
.lv-btn:focus-visible {
    outline: 2px solid var(--lv-on-2);
    outline-offset: 3px;
}

.lvv5-btn__r,
.lv-btn__r {
    font-family: var(--lv-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    opacity: 0.86;
    white-space: nowrap;
}

.lvv5-notice {
    margin-top: 24px;
    color: var(--lv-muted);
    font-family: var(--lv-mono);
    font-size: 9.5px;
    letter-spacing: 0.26em;
    text-align: center;
    text-transform: uppercase;
}

.lvv5-trust-strip {
    width: 100%;
    max-width: 400px;
    margin-top: 22px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    color: var(--lv-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--lv-mono);
    font-size: 9.5px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.lvv5-trust-strip__dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 4px;
    border-radius: 50%;
    background: var(--lv-ok);
    box-shadow: 0 0 6px var(--lv-ok);
    vertical-align: 1px;
}

.lvv5-trust-strip__sep {
    color: var(--lv-dim);
}

.lvv5-trust-strip__bronze {
    color: var(--lv-bronze);
}

.lvv5-legal {
    max-width: 400px;
    margin: 15px 0 0;
    color: var(--lv-dim);
    font-family: var(--lv-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    line-height: 1.65;
    text-align: center;
    text-transform: uppercase;
}

.lvv5-field__input:-webkit-autofill,
.lvv5-field__input:-webkit-autofill:hover,
.lvv5-field__input:-webkit-autofill:focus,
.lvv5-field__input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--lv-on-2) !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.045) inset !important;
    caret-color: var(--lv-on-2);
    transition: background-color 9999s ease-in-out 0s;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

.lvv5-field__input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(195, 146, 87, 0.06) inset, 0 0 0 4px var(--lv-bronze-glow) !important;
    border-color: var(--lv-bronze) !important;
}

@media (max-width: 560px) {
    .lvv5-page--center {
        padding: 18px 14px;
        align-items: start;
    }

    .lvv5-vault {
        border-radius: 17px;
    }

    .lvv5-cluster {
        width: 190px;
        margin-bottom: 18px;
    }

    .lvv5-cluster__mark {
        width: 62px;
        height: 62px;
        font-size: 30px;
    }

    .lvv5-title,
    .lv-r__title {
        font-size: 34px;
    }

    .lvv5-row,
    .lv-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .lvv5-btn,
    .lv-btn {
        height: auto;
        min-height: 50px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 12px 16px;
    }
}
