:root {
    --page: #01040b;
    --page-soft: #041126;
    --surface: rgba(8, 25, 49, 0.72);
    --surface-strong: rgba(7, 22, 43, 0.94);

    --blue: #28baff;
    --blue-soft: #9ae6ff;
    --gold: #efb63f;
    --gold-soft: #ffe29a;
    --green: #36e5a3;
    --red: #ff718d;

    --white: #f7fbff;
    --text: #dce9f6;
    --muted: #8da3b9;
    --border: rgba(105, 184, 255, 0.18);
    --border-strong: rgba(105, 184, 255, 0.34);

    --safe-top: max(18px, env(safe-area-inset-top));
    --safe-bottom: max(18px, env(safe-area-inset-bottom));
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
}

body {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;

    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;

    color: var(--white);
    background: var(--page);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
input {
    font: inherit;
}

button,
input,
a,
label {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.nexa-page {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% -5%,
            rgba(37, 184, 255, 0.22),
            transparent 37%
        ),
        radial-gradient(
            circle at 110% 55%,
            rgba(239, 182, 63, 0.11),
            transparent 31%
        ),
        radial-gradient(
            circle at -10% 86%,
            rgba(37, 184, 255, 0.09),
            transparent 35%
        ),
        linear-gradient(
            160deg,
            #06142a 0%,
            #020814 43%,
            #01040b 100%
        );
}

.nexa-shell {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 540px;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;

    margin: 0 auto;
    padding:
        var(--safe-top)
        clamp(20px, 5.6vw, 30px)
        var(--safe-bottom);
}

/*
|--------------------------------------------------------------------------
| Background decoration
|--------------------------------------------------------------------------
*/

.nexa-grid {
    position: absolute;
    inset: 0;
    z-index: -7;

    overflow: hidden;
    pointer-events: none;
}

.nexa-grid::before {
    content: "";
    position: absolute;

    left: -55%;
    right: -55%;
    bottom: -31%;
    height: 78%;

    background-image:
        linear-gradient(
            rgba(64, 170, 255, 0.075) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(64, 170, 255, 0.075) 1px,
            transparent 1px
        );

    background-size: 38px 38px;

    transform:
        perspective(470px)
        rotateX(67deg)
        scale(1.52);

    transform-origin: center bottom;

    -webkit-mask-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95),
            transparent 94%
        );

    mask-image:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.95),
            transparent 94%
        );

    animation: nexaGridMove 9s linear infinite;
}

.nexa-grid::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(
            115deg,
            transparent 0,
            transparent 22px,
            rgba(255, 255, 255, 0.012) 23px,
            transparent 24px
        );

    opacity: 0.72;
}

.nexa-glow {
    position: absolute;
    z-index: -6;

    border-radius: 50%;
    pointer-events: none;
    filter: blur(5px);
}

.nexa-glow-one {
    top: -150px;
    left: -145px;

    width: 355px;
    height: 355px;

    background:
        radial-gradient(
            circle,
            rgba(37, 184, 255, 0.2),
            transparent 68%
        );

    animation: nexaGlowOne 10s ease-in-out infinite;
}

.nexa-glow-two {
    top: 39%;
    right: -175px;

    width: 355px;
    height: 355px;

    background:
        radial-gradient(
            circle,
            rgba(239, 182, 63, 0.1),
            transparent 69%
        );

    animation: nexaGlowTwo 12s ease-in-out infinite;
}

.nexa-glow-three {
    left: -160px;
    bottom: -180px;

    width: 380px;
    height: 380px;

    background:
        radial-gradient(
            circle,
            rgba(37, 184, 255, 0.1),
            transparent 70%
        );

    animation: nexaGlowThree 13s ease-in-out infinite;
}

.nexa-scanner {
    position: absolute;

    top: -25%;
    bottom: -25%;
    left: -150px;
    z-index: -5;

    width: 115px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(40, 186, 255, 0.025),
            rgba(40, 186, 255, 0.095),
            rgba(40, 186, 255, 0.025),
            transparent
        );

    filter: blur(2px);
    transform: skewX(-14deg);

    pointer-events: none;

    animation: nexaScanner 9s linear infinite;
}

.nexa-network {
    position: absolute;
    inset: 0;
    z-index: -5;

    width: 100%;
    height: 100%;

    opacity: 0.47;
    pointer-events: none;
}

.nexa-network-line {
    fill: none;
    stroke: rgba(63, 177, 255, 0.19);
    stroke-width: 0.85;
    stroke-dasharray: 9 11;

    animation: nexaNetworkFlow 12s linear infinite;
}

.nexa-network-line-gold {
    stroke: rgba(239, 182, 63, 0.16);
    animation-direction: reverse;
    animation-duration: 15s;
}

.nexa-network-node {
    fill: var(--blue-soft);

    filter:
        drop-shadow(0 0 4px rgba(40, 186, 255, 0.86));

    animation: nexaNodePulse 3s ease-in-out infinite;
}

.nexa-network-node-gold {
    fill: var(--gold-soft);

    filter:
        drop-shadow(0 0 4px rgba(239, 182, 63, 0.82));

    animation-delay: -1.3s;
}

.nexa-particle {
    position: absolute;
    z-index: -4;

    left: var(--particle-left);
    bottom: -20px;

    width: 3px;
    height: 3px;

    border-radius: 50%;

    background: var(--particle-color, var(--blue-soft));

    box-shadow:
        0 0 7px var(--particle-shadow, rgba(40, 186, 255, 0.8)),
        0 0 14px var(--particle-shadow, rgba(40, 186, 255, 0.4));

    opacity: 0;
    pointer-events: none;

    animation:
        nexaParticleRise
        var(--particle-duration)
        linear
        infinite;

    animation-delay: var(--particle-delay);
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.nexa-hero {
    position: relative;
    z-index: 3;

    padding: 6px 0 0;
    text-align: center;

    animation: nexaFadeUp 0.65s 0.06s ease-out both;
}

.nexa-logo-wrap {
    width: 100%;
    min-height: 118px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;
}

.nexa-logo {
    display: block;

    width: clamp(220px, 64vw, 290px);
    max-width: 100%;
    height: 150px;

    object-fit: contain;

    filter:
        drop-shadow(0 15px 18px rgba(0, 0, 0, 0.58));
}

.nexa-hero-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-top: -5px;

    color: var(--gold-soft);

    font-size: clamp(11px, 3.1vw, 13px);
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.nexa-kicker-line {
    width: 31px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}

.nexa-kicker-line:last-child {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}



/*
|--------------------------------------------------------------------------
| Open login area - intentionally no enclosing card
|--------------------------------------------------------------------------
*/

.nexa-login-section {
    position: relative;
    z-index: 5;

    width: calc(100% + clamp(10px, 3vw, 18px));
    max-width: none;

    margin-top: 29px;
    margin-left: calc(clamp(10px, 3vw, 18px) / -2);

    padding: 0;

    animation:
        nexaFormEnter
        0.75s
        0.18s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}

.nexa-login-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 25px;
    padding: 0 4px;
}

.nexa-login-heading-copy {
    min-width: 0;
}

.nexa-login-eyebrow {
    display: block;

    color: var(--gold-soft);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.145em;
    text-transform: uppercase;
}

.nexa-login-title {
    margin-top: 7px;

    font-size: clamp(27px, 7.5vw, 35px);
    line-height: 1.08;

    font-weight: 900;
    letter-spacing: -0.04em;
}

.nexa-login-description {
    margin-top: 8px;

    color: var(--muted);

    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.55;
}

.nexa-login-icon {
    position: relative;
    flex: 0 0 auto;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(239, 182, 63, 0.25);

    border-radius: 18px;

    color: var(--gold-soft);

    background:
        linear-gradient(
            145deg,
            rgba(239, 182, 63, 0.13),
            rgba(239, 182, 63, 0.025)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.065),
        0 13px 28px rgba(0, 0, 0, 0.18),
        0 0 24px rgba(239, 182, 63, 0.07);
}

.nexa-login-icon::after {
    content: "";
    position: absolute;
    inset: -7px;

    border:
        1px solid
        rgba(239, 182, 63, 0.07);

    border-radius: 23px;
}

.nexa-login-icon svg {
    width: 26px;
    height: 26px;
}

.nexa-form {
    position: relative;
}

.nexa-field {
    margin-bottom: 21px;
}

.nexa-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin: 0 4px 10px;
}

.nexa-label {
    color: rgba(224, 237, 250, 0.9);

    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nexa-label-note {
    color: rgba(143, 169, 195, 0.7);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.nexa-input-wrap {
    position: relative;
}

.nexa-input-wrap::before {
    content: "";
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: -7px;
    z-index: -1;

    height: 26px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(40, 186, 255, 0.12),
            transparent 68%
        );

    filter: blur(8px);
    opacity: 0;

    transition: opacity 0.22s ease;
}

.nexa-input-wrap:focus-within::before {
    opacity: 1;
}

.nexa-input-icon {
    position: absolute;

    left: 18px;
    top: 50%;
    z-index: 2;

    width: 23px;
    height: 23px;

    color: #7893ad;

    transform: translateY(-50%);
    pointer-events: none;

    transition:
        color 0.2s ease,
        filter 0.2s ease;
}

.nexa-input {
    width: 100%;
    height: 64px;

    padding: 0 58px 0 57px;

    border:
        1px solid
        rgba(105, 184, 255, 0.25);

    border-radius: 19px;
    outline: none;

    color: var(--white);
    caret-color: var(--gold-soft);

    background:
        linear-gradient(
            145deg,
            rgba(3, 13, 28, 0.96),
            rgba(10, 31, 58, 0.9)
        );

    font-size: 16px;
    font-weight: 650;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        0 14px 30px rgba(0, 0, 0, 0.18);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.nexa-input::placeholder {
    color: #637b93;
    font-size: 15px;
    font-weight: 520;
}

.nexa-input:hover {
    border-color: rgba(105, 184, 255, 0.42);
}

.nexa-input:focus {
    border-color: rgba(40, 186, 255, 0.77);

    background:
        linear-gradient(
            145deg,
            rgba(4, 16, 34, 0.99),
            rgba(12, 38, 70, 0.96)
        );

    box-shadow:
        0 0 0 4px rgba(40, 186, 255, 0.08),
        0 16px 34px rgba(0, 0, 0, 0.2),
        0 0 26px rgba(40, 186, 255, 0.08);

    transform: translateY(-1px);
}

.nexa-input-wrap:focus-within .nexa-input-icon {
    color: var(--blue);

    filter:
        drop-shadow(0 0 6px rgba(40, 186, 255, 0.62));
}

.nexa-password-toggle {
    position: absolute;

    right: 8px;
    top: 50%;
    z-index: 4;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 15px;

    color: #829cb5;
    background: transparent;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.16s ease;
}

.nexa-password-toggle:hover {
    color: var(--blue-soft);
    background: rgba(40, 186, 255, 0.07);
}

.nexa-password-toggle:active {
    transform:
        translateY(-50%)
        scale(0.92);
}

.nexa-password-toggle:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: -2px;
}

.nexa-password-toggle svg {
    width: 22px;
    height: 22px;
}

.nexa-hidden {
    display: none;
}

.nexa-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin: -1px 4px 24px;
}

.nexa-remember {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: rgba(193, 214, 233, 0.8);

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
    user-select: none;
}

.nexa-checkbox-input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.nexa-checkbox {
    position: relative;
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    border:
        1px solid
        rgba(116, 184, 240, 0.43);

    border-radius: 7px;

    background: rgba(2, 10, 23, 0.9);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.nexa-checkbox::after {
    content: "";
    position: absolute;

    left: 7px;
    top: 3px;

    width: 5px;
    height: 10px;

    border-right: 2px solid #07101d;
    border-bottom: 2px solid #07101d;

    opacity: 0;

    transform:
        rotate(45deg)
        scale(0.4);

    transition:
        opacity 0.16s ease,
        transform 0.16s ease;
}

.nexa-checkbox-input:checked + .nexa-checkbox {
    border-color: var(--gold);

    background:
        linear-gradient(
            145deg,
            var(--gold-soft),
            var(--gold)
        );

    box-shadow:
        0 0 17px rgba(239, 182, 63, 0.2);
}

.nexa-checkbox-input:checked + .nexa-checkbox::after {
    opacity: 1;

    transform:
        rotate(45deg)
        scale(1);
}

.nexa-checkbox-input:focus-visible + .nexa-checkbox {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.nexa-forgot {
    position: relative;

    color: #9de2ff;

    font-size: 14px;
    font-weight: 800;
    text-decoration: none;

    transition: color 0.2s ease;
}

.nexa-forgot::after {
    content: "";
    position: absolute;

    left: 0;
    right: 100%;
    bottom: -4px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--gold)
        );

    transition: right 0.22s ease;
}

.nexa-forgot:hover {
    color: var(--gold-soft);
}

.nexa-forgot:hover::after {
    right: 0;
}


.nexa-login-alert {
    position: relative;

    display: none;
    align-items: flex-start;
    gap: 12px;

    margin: 0 0 15px;
    padding: 14px 48px 14px 15px;

    border: 1px solid rgba(255, 113, 141, 0.48);
    border-radius: 16px;

    color: #ffe8ee;
    background:
        linear-gradient(
            145deg,
            rgba(92, 17, 37, 0.94),
            rgba(49, 9, 24, 0.96)
        );

    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;

    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nexa-login-alert.is-visible {
    display: flex;
}

.nexa-login-alert-icon {
    flex: 0 0 auto;

    width: 20px;
    height: 20px;

    margin-top: 1px;

    color: #ff9fb3;
}

.nexa-login-alert-message {
    min-width: 0;
}

.nexa-login-alert-close {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 10px;

    color: #ffd1dc;
    background: transparent;

    cursor: pointer;

    transition:
        color 0.18s ease,
        background 0.18s ease,
        transform 0.16s ease;
}

.nexa-login-alert-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nexa-login-alert-close:active {
    transform: scale(0.92);
}

.nexa-login-alert-close:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.nexa-login-alert-close svg {
    width: 18px;
    height: 18px;
}

.nexa-login-spinner {
    width: 20px;
    height: 20px;

    display: none;
    flex: 0 0 auto;

    border: 2px solid rgba(7, 16, 29, 0.28);
    border-top-color: #07101d;
    border-radius: 50%;

    animation: nexaLoginSpin 0.75s linear infinite;
}

.nexa-login-button.is-loading .nexa-login-spinner {
    display: block;
}

.nexa-login-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.15) brightness(0.72);
    opacity: 0.78;
    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.nexa-login-button:disabled::before {
    animation-play-state: paused;
    opacity: 0;
}

.nexa-login-button:disabled:hover {
    transform: none;
    filter: grayscale(0.15) brightness(0.72);
}

.nexa-login-button {
    position: relative;

    width: 100%;
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 231, 168, 0.8);

    border-radius: 19px;

    color: #07101d;

    background:
        linear-gradient(
            108deg,
            #aa650b 0%,
            #e8a92f 22%,
            #ffe59d 50%,
            #e6a82f 78%,
            #9a5906 100%
        );

    font-size: 16px;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-transform: uppercase;

    box-shadow:
        0 18px 38px rgba(177, 111, 13, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);

    cursor: pointer;
    text-decoration: none;

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease;
}

.nexa-login-button::before {
    content: "";
    position: absolute;

    top: -55%;
    left: -56%;

    width: 34%;
    height: 220%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.76),
            transparent
        );

    transform: rotate(17deg);

    animation: nexaButtonShine 3.6s ease-in-out infinite;
}

.nexa-login-button::after {
    content: "";
    position: absolute;
    inset: 3px;

    border:
        1px solid
        rgba(255, 255, 255, 0.26);

    border-radius: 15px;

    pointer-events: none;
}

.nexa-login-button:hover {
    filter: brightness(1.055);

    box-shadow:
        0 21px 42px rgba(177, 111, 13, 0.3),
        0 0 28px rgba(239, 182, 63, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.nexa-login-button:active {
    transform: scale(0.985);
}

.nexa-login-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.nexa-login-button span,
.nexa-login-button svg {
    position: relative;
    z-index: 2;
}

.nexa-login-button svg {
    width: 20px;
    height: 20px;

    transition: transform 0.2s ease;
}

.nexa-login-button:hover svg {
    transform: translateX(4px);
}

.nexa-form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 17px;

    color: rgba(158, 184, 208, 0.78);

    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.nexa-form-security svg {
    flex: 0 0 auto;

    width: 15px;
    height: 15px;

    color: var(--green);
}

/*
|--------------------------------------------------------------------------
| Open recovery area
|--------------------------------------------------------------------------
*/

.nexa-recovery-section {
    position: relative;
    z-index: 5;

    width:
        calc(
            100% +
            clamp(10px, 3vw, 18px)
        );

    max-width: none;

    margin-top: 29px;

    margin-left:
        calc(
            clamp(10px, 3vw, 18px) /
            -2
        );

    padding: 0;

    animation:
        nexaFormEnter
        0.75s
        0.18s
        cubic-bezier(0.22, 1, 0.36, 1)
        both;
}

.nexa-recovery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 25px;
    padding: 0 4px;
}

.nexa-recovery-heading-copy {
    min-width: 0;
}

.nexa-recovery-eyebrow {
    display: block;

    color: var(--gold-soft);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.145em;
    text-transform: uppercase;
}

.nexa-recovery-title {
    margin-top: 7px;

    font-size: clamp(27px, 7.5vw, 35px);
    line-height: 1.08;

    font-weight: 900;
    letter-spacing: -0.04em;
}

.nexa-recovery-description {
    max-width: 355px;

    margin-top: 8px;

    color: var(--muted);

    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.55;
}

.nexa-recovery-icon {
    position: relative;
    flex: 0 0 auto;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(239, 182, 63, 0.25);

    border-radius: 18px;

    color: var(--gold-soft);

    background:
        linear-gradient(
            145deg,
            rgba(239, 182, 63, 0.13),
            rgba(239, 182, 63, 0.025)
        );

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.065),
        0 13px 28px
        rgba(0, 0, 0, 0.18),
        0 0 24px
        rgba(239, 182, 63, 0.07);
}

.nexa-recovery-icon::after {
    content: "";
    position: absolute;
    inset: -7px;

    border:
        1px solid
        rgba(239, 182, 63, 0.07);

    border-radius: 23px;
}

.nexa-recovery-icon svg {
    width: 27px;
    height: 27px;
}

/*
|--------------------------------------------------------------------------
| Recovery form
|--------------------------------------------------------------------------
*/

.nexa-form {
    position: relative;
}

.nexa-field {
    margin-bottom: 21px;
}

.nexa-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    margin: 0 4px 10px;
}

.nexa-label {
    color: rgba(224, 237, 250, 0.9);

    font-size: 14px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.nexa-label-note {
    color: rgba(143, 169, 195, 0.7);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.nexa-input-wrap {
    position: relative;
}

.nexa-input-wrap::before {
    content: "";
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: -7px;
    z-index: -1;

    height: 26px;

    border-radius: 50%;

    background:
        radial-gradient(
            ellipse,
            rgba(40, 186, 255, 0.12),
            transparent 68%
        );

    filter: blur(8px);
    opacity: 0;

    transition: opacity 0.22s ease;
}

.nexa-input-wrap:focus-within::before {
    opacity: 1;
}

.nexa-input-icon {
    position: absolute;

    left: 18px;
    top: 50%;
    z-index: 2;

    width: 23px;
    height: 23px;

    color: #7893ad;

    transform: translateY(-50%);
    pointer-events: none;

    transition:
        color 0.2s ease,
        filter 0.2s ease;
}

.nexa-input {
    width: 100%;
    height: 64px;

    padding: 0 20px 0 57px;

    border:
        1px solid
        rgba(105, 184, 255, 0.25);

    border-radius: 19px;
    outline: none;

    color: var(--white);
    caret-color: var(--gold-soft);

    background:
        linear-gradient(
            145deg,
            rgba(3, 13, 28, 0.96),
            rgba(10, 31, 58, 0.9)
        );

    font-size: 16px;
    font-weight: 650;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.045),
        0 14px 30px
        rgba(0, 0, 0, 0.18);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.nexa-input::placeholder {
    color: #637b93;

    font-size: 15px;
    font-weight: 520;
}

.nexa-input:hover {
    border-color:
        rgba(105, 184, 255, 0.42);
}

.nexa-input:focus {
    border-color:
        rgba(40, 186, 255, 0.77);

    background:
        linear-gradient(
            145deg,
            rgba(4, 16, 34, 0.99),
            rgba(12, 38, 70, 0.96)
        );

    box-shadow:
        0 0 0 4px
        rgba(40, 186, 255, 0.08),
        0 16px 34px
        rgba(0, 0, 0, 0.2),
        0 0 26px
        rgba(40, 186, 255, 0.08);

    transform: translateY(-1px);
}

.nexa-input-wrap:focus-within
.nexa-input-icon {
    color: var(--blue);

    filter:
        drop-shadow(
            0 0 6px
            rgba(40, 186, 255, 0.62)
        );
}

/*
|--------------------------------------------------------------------------
| Recovery information
|--------------------------------------------------------------------------
*/

.nexa-recovery-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: -1px 2px 24px;
    padding: 15px 16px;

    border:
        1px solid
        rgba(63, 169, 255, 0.18);

    border-radius: 17px;

    color: rgba(174, 199, 222, 0.9);

    background:
        linear-gradient(
            145deg,
            rgba(7, 24, 48, 0.72),
            rgba(3, 13, 29, 0.66)
        );

    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.035),
        0 12px 27px
        rgba(0, 0, 0, 0.13);
}

.nexa-recovery-note svg {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;

    margin-top: 1px;

    color: var(--green);

    filter:
        drop-shadow(
            0 0 6px
            rgba(54, 229, 163, 0.38)
        );
}

/*
|--------------------------------------------------------------------------
| AJAX alert
|--------------------------------------------------------------------------
*/

.nexa-alert {
    display: none;
    align-items: flex-start;
    gap: 11px;

    margin: 0 2px 18px;
    padding: 14px 46px 14px 15px;

    position: relative;

    border: 1px solid transparent;
    border-radius: 16px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.55;
}

.nexa-alert.is-visible {
    display: flex;
}

.nexa-alert.is-error {
    color: #ffd7df;
    border-color: rgba(255, 113, 141, 0.36);
    background: rgba(86, 17, 34, 0.72);
}

.nexa-alert.is-success {
    color: #d8ffef;
    border-color: rgba(54, 229, 163, 0.34);
    background: rgba(9, 70, 49, 0.72);
}

.nexa-alert-icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.nexa-alert-close {
    position: absolute;
    top: 6px;
    right: 7px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 10px;

    color: currentColor;
    background: transparent;

    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.82;
}

.nexa-alert-close:hover {
    background: rgba(255, 255, 255, 0.07);
    opacity: 1;
}

/*
|--------------------------------------------------------------------------
| Recovery button
|--------------------------------------------------------------------------
*/

.nexa-recovery-button {
    position: relative;

    width: 100%;
    min-height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 231, 168, 0.8);

    border-radius: 19px;

    color: #07101d;

    background:
        linear-gradient(
            108deg,
            #aa650b 0%,
            #e8a92f 22%,
            #ffe59d 50%,
            #e6a82f 78%,
            #9a5906 100%
        );

    font-size: 16px;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-transform: uppercase;

    box-shadow:
        0 18px 38px
        rgba(177, 111, 13, 0.25),
        inset 0 1px 0
        rgba(255, 255, 255, 0.72);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        box-shadow 0.18s ease;
}

.nexa-recovery-button::before {
    content: "";
    position: absolute;

    top: -55%;
    left: -56%;

    width: 34%;
    height: 220%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.76),
            transparent
        );

    transform: rotate(17deg);

    animation:
        nexaButtonShine
        3.6s
        ease-in-out
        infinite;
}

.nexa-recovery-button::after {
    content: "";
    position: absolute;
    inset: 3px;

    border:
        1px solid
        rgba(255, 255, 255, 0.26);

    border-radius: 15px;

    pointer-events: none;
}

.nexa-recovery-button:hover {
    filter: brightness(1.055);

    box-shadow:
        0 21px 42px
        rgba(177, 111, 13, 0.3),
        0 0 28px
        rgba(239, 182, 63, 0.11),
        inset 0 1px 0
        rgba(255, 255, 255, 0.74);
}

.nexa-recovery-button:active {
    transform: scale(0.985);
}

.nexa-recovery-button:disabled {
    cursor: not-allowed;
    filter: grayscale(0.15) brightness(0.78);
    opacity: 0.78;
    transform: none;
}

.nexa-button-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(7, 16, 29, 0.28);
    border-top-color: #07101d;
    border-radius: 50%;
    animation: nexaSpin 0.75s linear infinite;
}

.nexa-recovery-button.is-loading .nexa-button-spinner {
    display: block;
}

.nexa-recovery-button.is-loading .nexa-button-arrow {
    display: none;
}

.nexa-recovery-button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

.nexa-recovery-button span,
.nexa-recovery-button svg {
    position: relative;
    z-index: 2;
}

.nexa-recovery-button svg {
    width: 20px;
    height: 20px;

    transition: transform 0.2s ease;
}

.nexa-recovery-button:hover svg {
    transform: translateX(4px);
}

/*
|--------------------------------------------------------------------------
| Back to login
|--------------------------------------------------------------------------
*/

.nexa-back-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 20px;
    padding: 0 4px;

    color: rgba(174, 197, 218, 0.82);

    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-align: center;
}

.nexa-back-link {
    position: relative;

    color: #9de2ff;

    font-size: 14px;
    font-weight: 850;
    text-decoration: none;

    transition: color 0.2s ease;
}

.nexa-back-link::after {
    content: "";
    position: absolute;

    left: 0;
    right: 100%;
    bottom: -4px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--gold)
        );

    transition: right 0.22s ease;
}

.nexa-back-link:hover {
    color: var(--gold-soft);
}

.nexa-back-link:hover::after {
    right: 0;
}

.nexa-form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-top: 18px;

    color: rgba(158, 184, 208, 0.78);

    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.nexa-form-security svg {
    flex: 0 0 auto;

    width: 15px;
    height: 15px;

    color: var(--green);
}

/*
|--------------------------------------------------------------------------
| Responsive refinements
|--------------------------------------------------------------------------
*/

@media (max-width: 380px) {
    .nexa-shell {
        padding-left: 17px;
        padding-right: 17px;
    }



    .nexa-logo-wrap {
        min-height: 107px;
    }


    .nexa-login-section {
        width: calc(100% + 8px);
        margin-left: -4px;
    }

    .nexa-login-icon {
        width: 51px;
        height: 51px;
    }

    .nexa-label-note {
        display: none;
    }

    .nexa-input {
        height: 61px;
        padding-left: 54px;
        font-size: 16px;
    }

    .nexa-options {
        gap: 10px;
    }

    .nexa-remember,
    .nexa-forgot {
        font-size: 13px;
    }

    .nexa-login-button {
        min-height: 60px;
        font-size: 15px;
    }

}

@media (max-width: 330px) {




    .nexa-login-heading {
        align-items: flex-start;
    }

    .nexa-login-title {
        font-size: 26px;
    }

    .nexa-login-description {
        font-size: 14px;
    }

    .nexa-options {
        align-items: flex-start;
    }

    .nexa-remember,
    .nexa-forgot {
        font-size: 12px;
    }
}

@media (min-width: 600px) {
    .nexa-shell {
        border-left:
            1px solid
            rgba(78, 165, 245, 0.12);

        border-right:
            1px solid
            rgba(78, 165, 245, 0.12);

        box-shadow:
            0 0 110px rgba(0, 0, 0, 0.78);
    }
}

/*
|--------------------------------------------------------------------------
| Animations
|--------------------------------------------------------------------------
*/

@keyframes nexaGridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 76px;
    }
}

@keyframes nexaGlowOne {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(34px, 30px, 0) scale(1.1);
    }
}

@keyframes nexaGlowTwo {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-31px, 36px, 0) scale(1.08);
    }
}

@keyframes nexaGlowThree {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(28px, -27px, 0) scale(1.07);
    }
}

@keyframes nexaScanner {
    from {
        left: -150px;
    }

    to {
        left: calc(100% + 150px);
    }
}

@keyframes nexaNetworkFlow {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -170;
    }
}

@keyframes nexaNodePulse {
    0%,
    100% {
        opacity: 0.38;
    }

    50% {
        opacity: 1;
    }
}

@keyframes nexaParticleRise {
    0% {
        opacity: 0;

        transform:
            translate3d(0, 32px, 0)
            scale(0.72);
    }

    15% {
        opacity: 0.75;
    }

    82% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;

        transform:
            translate3d(24px, -110vh, 0)
            scale(1.16);
    }
}

@keyframes nexaFadeUp {
    from {
        opacity: 0;
        transform: translateY(17px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nexaFormEnter {
    from {
        opacity: 0;

        transform:
            translateY(31px)
            scale(0.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes nexaButtonShine {
    0%,
    36% {
        left: -56%;
    }

    66%,
    100% {
        left: 126%;
    }
}

@keyframes nexaLoginSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.nexa-footer {
    position: relative;
    z-index: 5;

    margin-top: 24px;
    padding: 4px 4px 0;

    color: rgba(174, 197, 218, 0.88);

    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.025em;
    text-align: center;
}

.nexa-footer strong {
    color: rgba(240, 247, 255, 0.96);
    font-weight: 900;
}


