:root {
    --nx-page: #edf3fb;
    --nx-page-grid: rgba(37, 99, 235, 0.045);
    --nx-surface: rgba(255, 255, 255, 0.96);
    --nx-surface-soft: #f7f9fd;
    --nx-border: rgba(148, 163, 184, 0.24);
    --nx-border-strong: #cbd7e6;
    --nx-text: #0b172b;
    --nx-muted: #64748b;
    --nx-muted-strong: #42526a;
    --nx-input: #ffffff;
    --nx-blue: #2563eb;
    --nx-blue-dark: #1d4ed8;
    --nx-blue-soft: #eaf2ff;
    --nx-teal: #14b8a6;
    --nx-danger: #e11d48;
    --nx-danger-soft: #fff1f2;
    --nx-shadow: 0 36px 100px rgba(15, 23, 42, 0.16);
}

html.notrix-dark {
    --nx-page: #050b16;
    --nx-page-grid: rgba(148, 163, 184, 0.045);
    --nx-surface: rgba(12, 22, 39, 0.97);
    --nx-surface-soft: #0a1424;
    --nx-border: rgba(148, 163, 184, 0.18);
    --nx-border-strong: rgba(148, 163, 184, 0.31);
    --nx-text: #eff6ff;
    --nx-muted: #96a7bf;
    --nx-muted-strong: #c0ccdc;
    --nx-input: #07111f;
    --nx-blue: #3b82f6;
    --nx-blue-dark: #2563eb;
    --nx-blue-soft: rgba(59, 130, 246, 0.14);
    --nx-danger: #fb7185;
    --nx-danger-soft: rgba(244, 63, 94, 0.12);
    --nx-shadow: 0 38px 110px rgba(0, 0, 0, 0.48);
}

html,
body {
    min-height: 100%;
}

body.nx-login-page {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--nx-text);
    background:
        linear-gradient(var(--nx-page-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--nx-page-grid) 1px, transparent 1px),
        var(--nx-page);
    background-size: 42px 42px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nx-modal-open {
    overflow: hidden;
}

body.nx-intro-lock {
    overflow: hidden;
}

.nx-login-intro {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #f7f8fb;
    background: #05070b;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.nx-login-intro.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nx-login-intro__grid {
    position: absolute;
    inset: -30%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(circle, #000 0, transparent 68%);
    mask-image: radial-gradient(circle, #000 0, transparent 68%);
    transform: perspective(700px) rotateX(62deg) translateY(24%);
    transform-origin: center bottom;
}

.nx-login-intro.is-playing .nx-login-intro__grid {
    animation: nx-intro-grid 12s linear infinite;
}

.nx-login-intro__aurora {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
}

.nx-login-intro__aurora--one {
    top: -280px;
    left: -180px;
    background: #00e7d4;
}

.nx-login-intro__aurora--two {
    right: -220px;
    bottom: -320px;
    background: #9d45ff;
}

.nx-login-intro__content {
    position: relative;
    z-index: 2;
    display: grid;
    justify-items: center;
    text-align: center;
}

.nx-login-intro__logo-shell {
    position: relative;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    opacity: 0;
    transform: translateY(16px) scale(0.84);
    will-change: opacity, transform;
}

.nx-login-intro.is-playing .nx-login-intro__logo-shell {
    animation: nx-intro-logo 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nx-login-intro__logo-shell img {
    position: relative;
    z-index: 2;
    display: block;
    width: 106px;
    height: 106px;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.48), 0 0 45px rgba(79, 102, 255, 0.16);
}

.nx-login-intro__ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(124, 136, 255, 0.28);
    border-radius: 38px;
}

.nx-login-intro.is-playing .nx-login-intro__ring--one {
    animation: nx-intro-ring 6s linear infinite;
}

.nx-login-intro__ring--two {
    inset: 11px;
    border-color: rgba(45, 227, 224, 0.2);
    border-radius: 32px;
}

.nx-login-intro.is-playing .nx-login-intro__ring--two {
    animation: nx-intro-ring 8s linear infinite reverse;
}

.nx-login-intro__copy {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.nx-login-intro__copy strong {
    padding-left: 0.34em;
    font-size: clamp(35px, 5vw, 52px);
    line-height: 1;
    letter-spacing: 0.34em;
    opacity: 0;
    transform: translateY(12px);
}

.nx-login-intro.is-playing .nx-login-intro__copy strong {
    animation: nx-intro-text 0.75s 0.55s forwards;
}

.nx-login-intro__copy span {
    padding-left: 0.3em;
    color: #9ca6b8;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
}

.nx-login-intro.is-playing .nx-login-intro__copy span {
    animation: nx-intro-text 0.75s 0.72s forwards;
}

.nx-login-intro__progress {
    width: 170px;
    height: 1px;
    margin-top: 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.11);
    opacity: 0;
}

.nx-login-intro.is-playing .nx-login-intro__progress {
    animation: nx-intro-text 0.4s 0.85s forwards;
}

.nx-login-intro__progress i {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2be3e0, #4b83ff, #955cff);
    transform: translateX(-100%);
}

.nx-login-intro.is-playing .nx-login-intro__progress i {
    animation: nx-intro-progress 1.15s 0.88s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes nx-intro-logo {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes nx-intro-text {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nx-intro-progress {
    to {
        transform: translateX(0);
    }
}

@keyframes nx-intro-grid {
    to {
        background-position: 64px 64px;
    }
}

@keyframes nx-intro-ring {
    to {
        transform: rotate(360deg);
    }
}

[hidden] {
    display: none !important;
}

button,
input {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

.nx-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999999;
    padding: 10px 14px;
    border-radius: 12px;
    color: #ffffff;
    background: #0f172a;
    font-size: 13px;
    font-weight: 750;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.nx-skip-link:focus {
    transform: translateY(0);
}

.nx-login-shell {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 56px 28px 34px;
}

.nx-login-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.16), transparent 30rem),
        radial-gradient(circle at 91% 82%, rgba(20, 184, 166, 0.12), transparent 28rem),
        radial-gradient(circle at 68% 7%, rgba(124, 58, 237, 0.09), transparent 22rem);
}

html.notrix-dark .nx-login-shell::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.21), transparent 32rem),
        radial-gradient(circle at 91% 82%, rgba(20, 184, 166, 0.12), transparent 30rem),
        radial-gradient(circle at 68% 7%, rgba(124, 58, 237, 0.13), transparent 23rem);
}

.nx-ambient {
    position: absolute;
    z-index: -2;
    border-radius: 999px;
    filter: blur(2px);
    pointer-events: none;
    animation: nx-float 11s ease-in-out infinite alternate;
}

.nx-ambient--one {
    top: -115px;
    right: 8%;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: inset 0 0 90px rgba(37, 99, 235, 0.08);
}

.nx-ambient--two {
    bottom: -135px;
    left: 4%;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(20, 184, 166, 0.16);
    box-shadow: inset 0 0 100px rgba(20, 184, 166, 0.06);
    animation-delay: -4s;
}

@keyframes nx-float {
    from { transform: translate3d(0, 0, 0) rotate(0); }
    to { transform: translate3d(14px, 18px, 0) rotate(8deg); }
}

.nx-page-tools {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 20;
}

.nx-icon-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nx-border);
    border-radius: 15px;
    color: var(--nx-muted-strong);
    background: color-mix(in srgb, var(--nx-surface) 88%, transparent);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(16px);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nx-icon-button:hover {
    border-color: rgba(37, 99, 235, 0.36);
    color: var(--nx-blue);
    transform: translateY(-1px);
}

.nx-icon-button:focus-visible,
.nx-install-button:focus-visible,
.nx-submit-button:focus-visible,
.nx-password-toggle:focus-visible,
.nx-mobile-install:focus-visible,
.nx-modal__close:focus-visible,
.nx-modal__done:focus-visible,
.notrix-blocked-close:focus-visible,
.notrix-close-btn:focus-visible,
.notrix-whatsapp-btn:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.32);
    outline-offset: 3px;
}

.nx-theme-icon--sun,
html.notrix-dark .nx-theme-icon--moon {
    display: none;
}

html.notrix-dark .nx-theme-icon--sun {
    display: block;
}

.nx-login-frame {
    position: relative;
    display: grid;
    width: min(100%, 1220px);
    min-height: min(760px, calc(100vh - 90px));
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 38px;
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow);
    animation: nx-frame-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.notrix-dark .nx-login-frame {
    border-color: rgba(148, 163, 184, 0.15);
}

@keyframes nx-frame-in {
    from { opacity: 0; transform: translateY(18px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nx-brand-panel {
    position: relative;
    isolation: isolate;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: clamp(36px, 4vw, 56px);
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(10, 31, 67, 0.22), transparent 44%),
        linear-gradient(145deg, #061124 0%, #081b39 54%, #0b2250 100%);
}

.nx-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.33;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(145deg, #000 0%, transparent 72%);
}

.nx-brand-panel::after {
    content: "";
    position: absolute;
    right: -170px;
    bottom: -210px;
    z-index: -2;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    box-shadow:
        0 0 0 52px rgba(59, 130, 246, 0.035),
        0 0 0 104px rgba(59, 130, 246, 0.025);
}

.nx-brand-glow {
    position: absolute;
    top: -110px;
    right: -90px;
    z-index: -2;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    filter: blur(80px);
    pointer-events: none;
}

.nx-brand,
.nx-mobile-brand {
    display: flex;
    align-items: center;
    gap: 13px;
}

.nx-brand-mark {
    display: inline-flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(145deg, #2f7cff, #2058e8);
    box-shadow: 0 16px 38px rgba(37, 99, 235, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nx-brand > span:last-child,
.nx-mobile-brand > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nx-brand strong,
.nx-mobile-brand strong {
    color: inherit;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.nx-brand small,
.nx-mobile-brand small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nx-hero-copy {
    margin-top: clamp(52px, 8vh, 82px);
}

.nx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #9cc4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.nx-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.12), 0 0 18px rgba(45, 212, 191, 0.5);
}

.nx-hero-copy h1 {
    max-width: 570px;
    margin: 22px 0 0;
    color: #ffffff;
    font-size: clamp(40px, 4.2vw, 60px);
    font-weight: 760;
    letter-spacing: -0.055em;
    line-height: 0.99;
}

.nx-hero-copy h1 em {
    display: block;
    color: #85b6ff;
    font-style: normal;
}

.nx-hero-copy > p {
    max-width: 540px;
    margin: 24px 0 0;
    color: #aebdd2;
    font-size: 15px;
    line-height: 1.75;
}

.nx-document-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.nx-document-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 6px 12px;
    border: 1px solid rgba(148, 188, 255, 0.17);
    border-radius: 999px;
    color: #bed6fa;
    background: rgba(255, 255, 255, 0.055);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.nx-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
    margin-bottom: 26px;
}

.nx-feature {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
}

.nx-feature-icon {
    display: inline-flex;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #8bbcff;
    background: rgba(59, 130, 246, 0.14);
}

.nx-feature > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.nx-feature strong {
    overflow: hidden;
    color: #edf5ff;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nx-feature small {
    overflow: hidden;
    color: #8fa1ba;
    font-size: 10px;
    font-weight: 550;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nx-install-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px 14px;
    margin-top: auto;
    padding: 17px;
    border: 1px solid rgba(87, 179, 255, 0.18);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(20, 184, 166, 0.07));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nx-install-card__icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    grid-row: span 2;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(137, 188, 255, 0.17);
    border-radius: 15px;
    color: #a8ceff;
    background: rgba(255, 255, 255, 0.075);
}

.nx-install-card__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.nx-install-card__copy strong {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.nx-install-card__copy span {
    margin-top: 3px;
    color: #a9bbd3;
    font-size: 11px;
    line-height: 1.45;
}

.nx-install-card__copy small {
    margin-top: 4px;
    color: #72859f;
    font-size: 9px;
    line-height: 1.4;
}

.nx-install-button {
    display: inline-flex;
    min-height: 40px;
    grid-column: 2;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: start;
    margin-top: 9px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 13px;
    color: #071426;
    background: #ffffff;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nx-install-button:hover {
    transform: translateY(-1px);
    background: #f5f9ff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.nx-install-button:disabled,
.nx-mobile-install:disabled {
    cursor: wait;
    pointer-events: none;
    opacity: 0.72;
}

.nx-install-button.is-preparing svg,
.nx-mobile-install.is-preparing .nx-mobile-install__icon svg {
    animation: nx-pwa-pulse 1.25s ease-in-out infinite;
}

.nx-install-button.is-help,
.nx-mobile-install.is-help {
    cursor: help;
}

@keyframes nx-pwa-pulse {
    0%, 100% {
        opacity: 0.48;
        transform: translateY(1px);
    }

    50% {
        opacity: 1;
        transform: translateY(-1px);
    }
}

.nx-brand-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 19px;
    color: #71839d;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.04em;
}

.nx-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.nx-access-panel {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(36px, 4.6vw, 62px);
    background: var(--nx-surface);
}

.nx-mobile-brand {
    display: none;
    color: var(--nx-text);
}

.nx-mobile-brand small {
    color: var(--nx-muted);
}

.nx-access-content {
    width: min(100%, 450px);
    margin: auto;
}

.nx-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: 999px;
    color: #0f897d;
    background: rgba(20, 184, 166, 0.08);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html.notrix-dark .nx-secure-badge {
    color: #5eead4;
    border-color: rgba(45, 212, 191, 0.2);
    background: rgba(20, 184, 166, 0.1);
}

.nx-access-heading {
    margin-top: 22px;
}

.nx-access-heading h2 {
    margin: 0;
    color: var(--nx-text);
    font-size: clamp(31px, 3vw, 42px);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.nx-access-heading p {
    margin: 11px 0 0;
    color: var(--nx-muted);
    font-size: 14px;
    line-height: 1.65;
}

.nx-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 13px;
    border: 1px solid rgba(225, 29, 72, 0.16);
    border-radius: 15px;
    color: var(--nx-danger);
    background: var(--nx-danger-soft);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

.nx-form-alert__icon {
    flex: 0 0 auto;
    margin-top: 1px;
}

.nx-login-form {
    display: grid;
    gap: 19px;
    margin-top: 31px;
}

.nx-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--nx-muted-strong);
    font-size: 12px;
    font-weight: 750;
}

.nx-input-wrap {
    position: relative;
    display: flex;
    min-height: 56px;
    align-items: center;
    border: 1px solid var(--nx-border-strong);
    border-radius: 17px;
    background: var(--nx-input);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

html.notrix-dark .nx-input-wrap {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.nx-input-wrap:focus-within {
    border-color: rgba(37, 99, 235, 0.72);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11), 0 10px 25px rgba(37, 99, 235, 0.07);
    transform: translateY(-1px);
}

.nx-input-wrap--error {
    border-color: rgba(225, 29, 72, 0.52);
}

.nx-input-icon {
    display: inline-flex;
    width: 48px;
    height: 54px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    color: #91a0b4;
    transition: color 0.2s ease;
}

.nx-input-wrap:focus-within .nx-input-icon {
    color: var(--nx-blue);
}

.nx-input-wrap input {
    width: 100%;
    height: 54px;
    min-width: 0;
    padding: 0 15px 0 0;
    border: 0 !important;
    outline: 0 !important;
    color: var(--nx-text) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 550;
}

.nx-input-wrap input::placeholder {
    color: #9aa9bc;
    opacity: 1;
}

html.notrix-dark .nx-input-wrap input::placeholder {
    color: #62738d;
}

.nx-password-toggle {
    display: inline-flex;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
    border: 0;
    border-radius: 13px;
    color: #7e8fa6;
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.nx-password-toggle:hover {
    color: var(--nx-blue);
    background: var(--nx-blue-soft);
}

.nx-password-icon--hide,
.nx-password-toggle.is-visible .nx-password-icon--show {
    display: none;
}

.nx-password-toggle.is-visible .nx-password-icon--hide {
    display: block;
}

.nx-field-error {
    margin: 7px 2px 0;
    color: var(--nx-danger);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
}

.nx-remember {
    position: relative;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    color: var(--nx-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
}

.nx-remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.nx-checkbox {
    display: inline-flex;
    width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nx-border-strong);
    border-radius: 6px;
    color: transparent;
    background: var(--nx-input);
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nx-remember input:checked + .nx-checkbox {
    border-color: var(--nx-blue);
    color: #ffffff;
    background: var(--nx-blue);
}

.nx-remember input:focus-visible + .nx-checkbox {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.16);
}

.nx-submit-button {
    position: relative;
    display: inline-flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    border: 0;
    border-radius: 17px;
    color: #ffffff;
    background: linear-gradient(135deg, #2f76f6 0%, #1f5ce4 58%, #234dd1 100%);
    box-shadow: 0 17px 35px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nx-submit-button::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 34%;
    height: 200%;
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: rotate(15deg);
    transition: left 0.55s ease, opacity 0.2s ease;
}

.nx-submit-button:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 21px 42px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nx-submit-button:hover::before {
    left: 104%;
    opacity: 1;
}

.nx-submit-button:active {
    transform: translateY(0);
}

.nx-submit-button:disabled {
    cursor: wait;
    filter: grayscale(0.2);
    opacity: 0.78;
}

.nx-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--nx-muted);
    font-size: 10px;
    font-weight: 550;
    text-align: center;
}

.nx-trust-line svg {
    flex: 0 0 auto;
    color: #22a795;
}

.nx-mobile-install {
    display: none;
}

.nx-pwa-status {
    min-height: 16px;
    margin: 9px 0 0;
    color: var(--nx-muted);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}

.nx-access-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 32px;
    color: var(--nx-muted);
    font-size: 10px;
    font-weight: 600;
}

.nx-modal,
.notrix-blocked-overlay {
    position: fixed;
    inset: 0;
    z-index: 999900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nx-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 9, 20, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nx-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 455px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 28px;
    color: var(--nx-text);
    background: var(--nx-surface);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.36);
    animation: nx-modal-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.notrix-dark .nx-modal__dialog {
    border-color: var(--nx-border);
}

@keyframes nx-modal-in {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.nx-modal__close,
.notrix-blocked-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--nx-border);
    border-radius: 13px;
    color: var(--nx-muted);
    background: var(--nx-surface-soft);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nx-modal__close:hover,
.notrix-blocked-close:hover {
    color: var(--nx-text);
    transform: rotate(4deg);
}

.nx-modal__icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    color: #ffffff;
    background: linear-gradient(145deg, #2f76f6, #1d4ed8);
    box-shadow: 0 17px 34px rgba(37, 99, 235, 0.25);
}

.nx-modal__eyebrow {
    display: block;
    margin-top: 22px;
    color: var(--nx-blue);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.nx-modal__dialog h2 {
    margin: 7px 0 0;
    color: var(--nx-text);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.nx-modal__dialog > p {
    margin: 9px 0 0;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.65;
}

.nx-install-steps {
    display: grid;
    gap: 10px;
    margin: 21px 0 0;
    padding: 0;
    list-style: none;
}

.nx-install-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--nx-border);
    border-radius: 15px;
    background: var(--nx-surface-soft);
}

.nx-install-steps li > span {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--nx-blue);
    background: var(--nx-blue-soft);
    font-size: 11px;
    font-weight: 850;
}

.nx-install-steps p {
    margin: 0;
    color: var(--nx-muted-strong);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.5;
}

.nx-modal__note {
    margin-top: 16px;
    padding: 12px 13px;
    border: 1px solid rgba(20, 184, 166, 0.16);
    border-radius: 14px;
    color: var(--nx-muted-strong);
    background: rgba(20, 184, 166, 0.07);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.55;
}

.nx-modal__done {
    width: 100%;
    min-height: 47px;
    margin-top: 18px;
    border: 0;
    border-radius: 15px;
    color: #ffffff;
    background: linear-gradient(135deg, #2f76f6, #1d4ed8);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.notrix-blocked-overlay {
    z-index: 999950;
    background: rgba(3, 9, 20, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.notrix-blocked-modal {
    position: relative;
    width: min(100%, 470px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    background: var(--nx-surface);
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
    animation: nx-modal-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.notrix-dark .notrix-blocked-modal {
    border-color: var(--nx-border);
}

.notrix-blocked-close {
    z-index: 2;
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.notrix-blocked-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.notrix-blocked-header {
    padding: 31px 30px 26px;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #d91e4d 0%, #df2b32 52%, #f97316 100%);
}

.notrix-blocked-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border: 1px solid rgba(255, 255, 255, 0.27);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 32px rgba(127, 29, 29, 0.23);
}

.notrix-blocked-eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.notrix-blocked-title {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: 28px;
    font-weight: 820;
    letter-spacing: -0.04em;
    line-height: 1.08;
}

.notrix-blocked-subtitle {
    margin: 11px 0 0;
    color: rgba(255, 255, 255, 0.87);
    font-size: 13px;
    line-height: 1.6;
}

.notrix-blocked-body {
    padding: 24px 30px 28px;
}

.notrix-company-box {
    padding: 16px;
    border: 1px solid var(--nx-border);
    border-radius: 18px;
    background: var(--nx-surface-soft);
}

.notrix-company-label {
    display: block;
    margin-bottom: 5px;
    color: var(--nx-muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.notrix-company-name {
    margin: 0;
    color: var(--nx-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.notrix-company-cnpj {
    margin: 5px 0 0;
    color: var(--nx-muted);
    font-size: 12px;
    font-weight: 650;
}

.notrix-blocked-reason {
    margin-top: 13px;
    padding: 11px 12px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 13px;
    color: #a25b07;
    background: rgba(245, 158, 11, 0.09);
    font-size: 11px;
    line-height: 1.5;
}

html.notrix-dark .notrix-blocked-reason {
    color: #fcd34d;
}

.notrix-blocked-text {
    margin: 17px 0 0;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.65;
}

.notrix-blocked-actions {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 10px;
    margin-top: 20px;
}

.notrix-whatsapp-btn,
.notrix-close-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.notrix-whatsapp-btn {
    color: #ffffff;
    border: 0;
    background: #16a763;
    box-shadow: 0 16px 30px rgba(22, 167, 99, 0.2);
}

.notrix-whatsapp-btn:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.notrix-close-btn {
    color: var(--nx-muted-strong);
    border: 1px solid var(--nx-border);
    background: var(--nx-surface-soft);
}

.notrix-close-btn:hover {
    color: var(--nx-text);
    background: var(--nx-blue-soft);
}

.notrix-blocked-footer {
    margin: 16px 0 0;
    color: var(--nx-muted);
    font-size: 10px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1080px) {
    .nx-login-shell {
        padding-inline: 20px;
    }

    .nx-login-frame {
        grid-template-columns: minmax(0, 1fr) minmax(410px, 0.92fr);
    }

    .nx-brand-panel,
    .nx-access-panel {
        padding: 38px;
    }

    .nx-feature-grid {
        grid-template-columns: 1fr;
    }

    .nx-feature:nth-child(2) {
        display: none;
    }
}

@media (max-width: 900px) {
    .nx-login-shell {
        align-items: flex-start;
        padding: 24px 16px;
        overflow: visible;
    }

    .nx-page-tools {
        top: 36px;
        right: 28px;
    }

    .nx-login-frame {
        display: block;
        min-height: 0;
        border-radius: 30px;
    }

    .nx-brand-panel {
        display: none;
    }

    .nx-access-panel {
        min-height: calc(100vh - 48px);
        padding: 34px clamp(22px, 6vw, 50px) 24px;
    }

    .nx-mobile-brand {
        display: flex;
        padding-right: 56px;
    }

    .nx-mobile-brand .nx-brand-mark {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 16px;
    }

    .nx-mobile-brand strong {
        font-size: 20px;
    }

    .nx-access-content {
        margin-block: 55px 30px;
    }

    .nx-mobile-install {
        display: flex;
        width: 100%;
        align-items: center;
        gap: 11px;
        margin-top: 25px;
        padding: 12px;
        border: 1px solid var(--nx-border);
        border-radius: 17px;
        color: var(--nx-muted-strong);
        background: var(--nx-surface-soft);
        cursor: pointer;
        text-align: left;
        transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    }

    .nx-mobile-install:hover {
        border-color: rgba(37, 99, 235, 0.35);
        background: var(--nx-blue-soft);
        transform: translateY(-1px);
    }

    .nx-mobile-install__icon {
        display: inline-flex;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        color: #ffffff;
        background: linear-gradient(145deg, #2f76f6, #1d4ed8);
    }

    .nx-mobile-install > span:nth-child(2) {
        display: flex;
        min-width: 0;
        flex: 1;
        flex-direction: column;
        gap: 2px;
    }

    .nx-mobile-install strong {
        color: var(--nx-text);
        font-size: 12px;
        font-weight: 800;
    }

    .nx-mobile-install small {
        color: var(--nx-muted);
        font-size: 10px;
    }

    .nx-mobile-install__arrow {
        flex: 0 0 auto;
        color: var(--nx-muted);
    }
}

@media (max-width: 520px) {
    .nx-login-shell {
        padding: 0;
        background: var(--nx-surface);
    }

    .nx-login-frame {
        width: 100%;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .nx-page-tools {
        top: calc(20px + env(safe-area-inset-top));
        right: 19px;
    }

    .nx-access-panel {
        min-height: 100vh;
        padding: calc(19px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom));
    }

    .nx-access-content {
        margin-block: 48px 24px;
    }

    .nx-access-heading h2 {
        font-size: 31px;
    }

    .nx-access-heading p {
        font-size: 13px;
    }

    .nx-login-form {
        margin-top: 26px;
    }

    .nx-access-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding-top: 20px;
    }

    .nx-modal,
    .notrix-blocked-overlay {
        padding: 12px;
    }

    .nx-modal__dialog,
    .notrix-blocked-modal {
        max-height: calc(100vh - 24px);
        border-radius: 24px;
    }

    .nx-modal__dialog {
        padding: 25px 20px 20px;
    }

    .notrix-blocked-header,
    .notrix-blocked-body {
        padding-left: 21px;
        padding-right: 21px;
    }

    .notrix-blocked-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-height: 760px) and (min-width: 901px) {
    .nx-login-shell {
        align-items: flex-start;
        overflow: auto;
        padding-top: 50px;
    }

    .nx-login-frame {
        min-height: 650px;
    }

    .nx-brand-panel,
    .nx-access-panel {
        padding-top: 34px;
        padding-bottom: 30px;
    }

    .nx-hero-copy {
        margin-top: 40px;
    }

    .nx-feature-grid {
        margin-top: 24px;
        margin-bottom: 0;
    }

    .nx-install-card {
        margin-top: 22px;
    }

    .nx-access-heading {
        margin-top: 16px;
    }

    .nx-login-form {
        gap: 15px;
        margin-top: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .nx-login-intro {
        transition-duration: 0.55s !important;
    }

    .nx-login-intro.is-playing .nx-login-intro__grid,
    .nx-login-intro.is-playing .nx-login-intro__ring {
        animation: none !important;
    }

    .nx-login-intro.is-playing .nx-login-intro__logo-shell {
        animation: nx-intro-logo 0.72s 0.08s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .nx-login-intro.is-playing .nx-login-intro__copy strong {
        animation: nx-intro-text 0.55s 0.38s ease forwards !important;
    }

    .nx-login-intro.is-playing .nx-login-intro__copy span {
        animation: nx-intro-text 0.55s 0.52s ease forwards !important;
    }

    .nx-login-intro.is-playing .nx-login-intro__progress {
        animation: nx-intro-text 0.3s 0.6s ease forwards !important;
    }

    .nx-login-intro.is-playing .nx-login-intro__progress i {
        animation: nx-intro-progress 0.72s 0.62s ease forwards !important;
    }
}
