:root {
    --vp-auth-bg: #030407;
    --vp-auth-panel: rgba(8, 12, 16, 0.82);
    --vp-auth-panel-strong: rgba(13, 18, 23, 0.94);
    --vp-auth-text: #f8f1df;
    --vp-auth-muted: rgba(248, 241, 223, 0.62);
    --vp-auth-soft: #ddd0aa;
    --vp-auth-gold: #f5d38b;
    --vp-auth-emerald: #37f0b2;
    --vp-auth-line: rgba(245, 211, 139, 0.16);
}

body.vp-auth-body {
    min-height: 100vh;
    margin: 0;
    color: var(--vp-auth-text);
    font-family: "Plus Jakarta Sans", sans-serif;
    background:
        radial-gradient(circle at 9% 10%, rgba(245, 211, 139, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 18%, rgba(55, 240, 178, 0.14), transparent 30rem),
        linear-gradient(145deg, #030407 0%, #06090d 48%, #0a0704 100%);
}

.vp-auth-body * {
    box-sizing: border-box;
}

.vp-auth-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.vp-auth-shell::before {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.vp-auth-noise {
    position: fixed;
    inset: 0;
    z-index: 3;
    opacity: 0.1;
    pointer-events: none;
    background-image: repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,0.22) 0, rgba(255,255,255,0.22) 1px, transparent 1px, transparent 6px);
    mix-blend-mode: overlay;
}

.vp-auth-orb {
    position: fixed;
    z-index: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(24px);
}

.vp-auth-orb-one {
    left: -130px;
    top: 12%;
    background: rgba(245, 211, 139, 0.16);
}

.vp-auth-orb-two {
    right: -130px;
    bottom: 8%;
    background: rgba(55, 240, 178, 0.13);
}

.vp-auth-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.78fr);
    gap: 56px;
    align-items: center;
    width: min(calc(100% - 40px), 1180px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 54px 0;
}

.vp-auth-brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 76px;
    color: var(--vp-auth-text);
}

.vp-auth-brand span,
.vp-auth-mini-logo {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(245, 211, 139, 0.24);
    border-radius: 15px;
    color: #06100c;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.82rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--vp-auth-gold), var(--vp-auth-emerald));
    box-shadow: 0 0 42px rgba(55, 240, 178, 0.14);
}

.vp-auth-brand strong {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.vp-auth-kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    color: var(--vp-auth-gold);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.vp-auth-kicker::before {
    width: 34px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--vp-auth-gold));
}

.vp-auth-copy h1 {
    max-width: 690px;
    margin: 0 0 24px;
    color: var(--vp-auth-text);
    font-size: clamp(2.7rem, 5.2vw, 5.2rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.03;
}

.vp-auth-copy p {
    max-width: 620px;
    margin: 0;
    color: var(--vp-auth-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.vp-auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 42px;
}

.vp-auth-benefits article {
    min-height: 154px;
    padding: 20px;
    border: 1px solid var(--vp-auth-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(16px);
}

.vp-auth-benefits i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #06100c;
    background: linear-gradient(135deg, var(--vp-auth-gold), var(--vp-auth-emerald));
    font-size: 1.4rem;
}

.vp-auth-benefits span {
    display: block;
    margin-bottom: 6px;
    color: var(--vp-auth-gold);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.vp-auth-benefits strong {
    color: rgba(248, 241, 223, 0.86);
    font-size: 0.96rem;
    line-height: 1.45;
}

.vp-auth-panel-wrap {
    width: 100%;
}

.vp-auth-panel {
    padding: 34px;
    border: 1px solid rgba(245, 211, 139, 0.18);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at 92% 0%, rgba(55, 240, 178, 0.12), transparent 17rem),
        var(--vp-auth-panel);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(24px);
}

.vp-auth-panel-head {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
}

.vp-auth-panel-head p {
    margin: 0 0 4px;
    color: var(--vp-auth-gold);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.vp-auth-panel-head h2 {
    margin: 0;
    color: var(--vp-auth-text);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.vp-auth-form {
    display: grid;
    gap: 18px;
}

.vp-auth-field label {
    display: block;
    margin-bottom: 8px;
    color: rgba(248, 241, 223, 0.82);
    font-size: 0.88rem;
    font-weight: 800;
}

.vp-auth-input {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    min-height: 56px;
    border: 1px solid rgba(245, 211, 139, 0.14);
    border-radius: 17px;
    background: rgba(0, 0, 0, 0.24);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.vp-auth-input:focus-within {
    border-color: rgba(55, 240, 178, 0.44);
    background: rgba(0, 0, 0, 0.32);
    box-shadow: 0 0 0 4px rgba(55, 240, 178, 0.08);
}

.vp-auth-input i {
    color: rgba(245, 211, 139, 0.72);
    font-size: 1.25rem;
    text-align: center;
}

.vp-auth-input input {
    width: 100%;
    height: 54px;
    border: 0;
    outline: 0;
    color: var(--vp-auth-text);
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.vp-auth-input input::placeholder {
    color: rgba(248, 241, 223, 0.34);
}

.vp-auth-recaptcha {
    overflow: hidden;
    padding: 10px;
    border: 1px solid rgba(245, 211, 139, 0.14);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
}

.vp-auth-row {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.vp-auth-check {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin: 0;
    color: rgba(248, 241, 223, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
}

.vp-auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--vp-auth-emerald);
}

.vp-auth-row a,
.vp-auth-alt a,
.vp-auth-support a {
    color: var(--vp-auth-emerald);
    font-weight: 800;
}

.vp-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: 0;
    border-radius: 999px;
    color: #06100c;
    background: linear-gradient(135deg, var(--vp-auth-gold), var(--vp-auth-emerald));
    box-shadow: 0 18px 60px rgba(55, 240, 178, 0.14), 0 12px 44px rgba(245, 211, 139, 0.12);
    font-size: 1rem;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.vp-auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 80px rgba(55, 240, 178, 0.18), 0 14px 48px rgba(245, 211, 139, 0.14);
}

.vp-auth-social {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.vp-auth-social > span {
    color: rgba(248, 241, 223, 0.52);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
}

.vp-auth-social div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.vp-auth-social button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(245, 211, 139, 0.14);
    border-radius: 999px;
    color: rgba(248, 241, 223, 0.82);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 800;
}

.vp-auth-alt {
    margin: 0;
    color: rgba(248, 241, 223, 0.62);
    text-align: center;
}

.vp-auth-demo {
    margin-top: 6px;
    padding: 16px;
    border: 1px dashed rgba(245, 211, 139, 0.22);
    border-radius: 18px;
}

.vp-auth-demo h6 {
    color: var(--vp-auth-text);
}

.vp-auth-demo .template-btn {
    border-color: rgba(245, 211, 139, 0.2) !important;
    color: var(--vp-auth-text) !important;
}

.vp-auth-support {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(248, 241, 223, 0.58);
    font-size: 0.92rem;
}

.vp-auth-body .text-danger {
    color: #ff9b8d !important;
}

.vp-auth-body .invalid-feedback,
.vp-auth-body .nk-block-des {
    color: #ffb4a8;
}

.vp-auth-body .alert {
    padding: 16px 54px 16px 20px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.65;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.vp-auth-body .alert-success {
    border: 1px solid rgba(55, 240, 178, 0.34);
    color: #063d2c;
    background: linear-gradient(135deg, #d9ffe9, #bff7d4);
}

.vp-auth-body .alert-danger {
    border: 1px solid rgba(255, 155, 141, 0.36);
    color: #ffe5df;
    background: rgba(116, 31, 24, 0.62);
}

.vp-auth-body .alert-warning {
    border: 1px solid rgba(245, 211, 139, 0.42);
    color: #3f2b06;
    background: linear-gradient(135deg, #fff0bd, #f6d68b);
}

.vp-auth-body .alert .btn-close {
    top: 50%;
    right: 16px;
    width: 14px;
    height: 14px;
    padding: 12px;
    opacity: 0.72;
    transform: translateY(-50%);
}

.vp-auth-register-layout .vp-auth-brand {
    margin-bottom: 58px;
}

.vp-auth-register-layout .vp-auth-panel {
    max-width: 720px;
    margin-left: auto;
}

.vp-auth-back-link {
    margin-top: -8px;
    font-size: 0.88rem;
}

.vp-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vp-auth-input .iti {
    width: 100%;
}

.vp-auth-input .iti input {
    padding-left: 102px !important;
}

.vp-auth-body .iti {
    width: 100%;
}

.vp-auth-body .iti--separate-dial-code .iti__selected-flag {
    min-width: 74px;
    justify-content: center;
    padding: 0 10px;
    border-right: 1px solid rgba(245, 211, 139, 0.13);
    border-radius: 14px 0 0 14px;
    background: rgba(255, 255, 255, 0.045);
}

.vp-auth-body .iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag,
.vp-auth-body .iti--separate-dial-code .iti__flag-container:hover .iti__selected-flag {
    background: rgba(55, 240, 178, 0.12);
}

.vp-auth-body .iti__selected-dial-code {
    margin-left: 0;
    color: var(--vp-auth-text);
    font-weight: 800;
}

.vp-auth-body .iti__arrow {
    border-top-color: var(--vp-auth-gold);
}

.vp-auth-body .iti__arrow--up {
    border-bottom-color: var(--vp-auth-gold);
}

.vp-auth-body .iti__flag {
    background-color: transparent;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.vp-auth-body .iti__selected-flag .iti__flag {
    display: none !important;
}

.vp-auth-body .iti__flag-box {
    display: none !important;
}

.vp-auth-body .iti__country-list {
    z-index: 99999;
    left: 0;
    width: min(300px, calc(100vw - 32px));
    max-height: 214px;
    margin-top: 10px;
    border: 1px solid rgba(245, 211, 139, 0.2) !important;
    border-radius: 14px;
    background: #070b0f !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
    color: var(--vp-auth-text) !important;
    overflow-x: hidden;
    scrollbar-color: rgba(245, 211, 139, 0.55) rgba(255, 255, 255, 0.08);
    white-space: normal !important;
}

.vp-auth-body .iti__country {
    display: flex;
    gap: 8px;
    align-items: center;
    min-height: 38px;
    padding: 7px 11px;
    color: rgba(248, 241, 223, 0.88);
    font-size: 0.82rem;
    line-height: 1.25;
}

.vp-auth-body .iti__country-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: rgba(248, 241, 223, 0.9);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp-auth-body .iti__dial-code {
    margin-left: auto;
    color: var(--vp-auth-emerald);
    font-size: 0.84rem;
    font-weight: 800;
    white-space: nowrap;
}

.vp-auth-body .iti__divider {
    border-bottom-color: rgba(245, 211, 139, 0.16);
}

.vp-auth-body .iti__country:hover,
.vp-auth-body .iti__country.iti__highlight {
    background: rgba(55, 240, 178, 0.12);
    color: var(--vp-auth-text);
}

.vp-auth-body .iti__country:hover .iti__country-name,
.vp-auth-body .iti__country.iti__highlight .iti__country-name {
    color: var(--vp-auth-text);
}

.vp-auth-body .iti__country:hover .iti__dial-code,
.vp-auth-body .iti__country.iti__highlight .iti__dial-code {
    color: var(--vp-auth-gold);
}

@media (max-width: 1040px) {
    .vp-auth-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 34px 0;
    }

    .vp-auth-brand {
        margin-bottom: 36px;
    }

    .vp-auth-copy h1,
    .vp-auth-copy p {
        max-width: 820px;
    }

    .vp-auth-panel-wrap {
        max-width: 560px;
    }
}

@media (max-width: 720px) {
    .vp-auth-layout {
        width: min(calc(100% - 28px), 1180px);
    }

    .vp-auth-copy h1 {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .vp-auth-benefits {
        grid-template-columns: 1fr;
    }

    .vp-auth-panel {
        padding: 24px;
        border-radius: 26px;
    }

    .vp-auth-form-grid {
        grid-template-columns: 1fr;
    }

    .vp-auth-row,
    .vp-auth-support {
        align-items: flex-start;
        flex-direction: column;
    }
}
