@font-face {
    font-family: "nx-yekan";
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/fa/IRANYekanXVF.woff2") format("woff2-variations"), url("../fonts/fa/IRANYekanXVF.woff") format("woff-variations");
}

:root {
    --nx-accent: #295bd7;
    --nx-accent-2: #19b5f0;
    --nx-deep: #0f2463;
    --nx-ink: #121a30;
    --nx-text: #3a4459;
    --nx-muted: #7c859a;
    --nx-line: #e6e9f1;
    --nx-soft: #f3f5fa;
    --nx-card: #fff;
    --nx-bg: #eef2f9;
    --nx-good: #11a05a;
    --nx-wait: #e08900;
    --nx-bad: #e0393e;
    --nx-violet: #7a4dff;
    --nx-accent-soft: color-mix(in srgb, var(--nx-accent) 9%, #fff);
    --nx-shadow: 0 1px 2px rgb(18 26 48 / .05), 0 12px 32px -20px rgb(18 26 48 / .22);
    --nx-shadow-lg: 0 26px 50px -26px rgb(15 36 99 / .45);
    --nx-ease: cubic-bezier(.22, 1, .36, 1);
    --nx-rail: 84px;
}

body.nx-body {
    margin: 0;
    min-height: 100vh;
    background: var(--nx-bg) !important;
    color: var(--nx-text);
    font-family: "nx-yekan", "iranyekan", Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    font-feature-settings: "ss02";
    -webkit-font-smoothing: antialiased;
}

body.nx-body :is(button, input, select, textarea, h1, h2, h3, h4, h5, h6, .tooltip-inner, .popover) {
    font-family: "nx-yekan", "iranyekan", Tahoma, sans-serif;
}

.nx-body .nx-i {
    flex: none;
    display: block;
}

.nx-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    font-feature-settings: normal;
}

.nx-badge {
    position: absolute;
    top: 4px;
    left: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border: 2px solid currentColor;
    border-color: transparent;
    border-radius: 999px;
    background: #ff5d62;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
    text-align: center;
}

.nx-rail {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: var(--nx-rail);
    padding: 18px 0 14px;
    background: var(--nx-deep);
    background-image: radial-gradient(160px 220px at 50% 0%, rgb(41 91 215 / .55), transparent), linear-gradient(180deg, #13307e, var(--nx-deep) 45%, #0a1a4a);
    color: #b9c6ec;
    direction: rtl;
}

.nx-rail-mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 24px -10px rgb(0 0 0 / .5);
}

.nx-rail-mark svg {
    width: 34px;
    height: 34px;
}

.nx-rail-head,
.nx-scrim {
    display: none;
}

.nx-rail-item {
    position: relative;
    width: 66px;
}

.nx-rail-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 0 6px;
    border-radius: 16px;
    color: #b9c6ec !important;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}

.nx-rail-btn .nx-i {
    width: 22px;
    height: 22px;
}

.nx-rail-item:hover > .nx-rail-btn,
.nx-rail-item:focus-within > .nx-rail-btn {
    background: rgb(255 255 255 / .08);
    color: #fff !important;
}

.nx-rail-item.is-current > .nx-rail-btn {
    background: rgb(255 255 255 / .14);
    color: #fff !important;
}

.nx-rail-item.is-current > .nx-rail-btn::before {
    content: "";
    position: absolute;
    top: 14px;
    right: -9px;
    bottom: 14px;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: var(--nx-accent-2);
    box-shadow: 0 0 12px var(--nx-accent-2);
}

.nx-rail-spacer {
    flex: 1;
}

.nx-fly {
    position: absolute;
    top: -6px;
    right: 100%;
    z-index: 5;
    display: none;
    min-width: 220px;
    margin-right: 8px;
    padding: 10px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 44px -16px rgb(10 26 74 / .45);
    color: var(--nx-text);
    font-size: 13px;
    text-align: right;
}

.nx-fly::before {
    content: "";
    position: absolute;
    top: 0;
    right: -12px;
    bottom: 0;
    width: 12px;
}

.nx-rail-item.is-end .nx-fly {
    top: auto;
    bottom: -6px;
}

.nx-rail-item:hover > .nx-fly,
.nx-rail-item:focus-within > .nx-fly {
    display: block;
}

.nx-fly b {
    display: block;
    margin-bottom: 6px;
    padding: 4px 10px 8px;
    border-bottom: 1px dashed var(--nx-line);
    color: var(--nx-ink);
    font-size: 13.5px;
    font-weight: 900;
}

.nx-fly a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 11px;
    color: var(--nx-text) !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .2s, color .2s;
}

.nx-fly a::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background: var(--nx-line);
    transform: rotate(45deg);
    transition: background .2s;
}

.nx-fly a:hover {
    background: var(--nx-accent-soft);
    color: var(--nx-accent) !important;
}

.nx-fly a:hover::before {
    background: var(--nx-accent);
}

.nx-fly a.is-danger,
.nx-menu a.is-danger {
    color: var(--nx-bad) !important;
}

.nx-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100vh;
    margin-right: var(--nx-rail);
    padding: 22px 28px 24px;
}

.nx-page > * {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
}

.nx-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nx-head-menu {
    display: none !important;
}

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

.nx-hello h1 {
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
    color: var(--nx-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.5;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nx-hello > span,
.nx-crumb {
    color: var(--nx-muted);
    font-size: 12.5px;
}

.nx-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.nx-crumb a {
    color: var(--nx-muted) !important;
}

.nx-crumb a:hover {
    color: var(--nx-accent) !important;
}

.nx-cmd {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 440px;
    height: 50px;
    margin: 0 auto !important;
    padding: 0 8px 0 16px;
    border: 1px solid var(--nx-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--nx-shadow);
    color: var(--nx-muted);
    transition: border-color .2s, box-shadow .2s;
}

.nx-cmd:focus-within {
    border-color: color-mix(in srgb, var(--nx-accent) 45%, #fff);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-accent) 12%, transparent);
}

.nx-cmd input[type="search"] {
    flex: 1;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: var(--nx-ink);
    font-size: 13.5px;
}

.nx-cmd kbd {
    padding: 0 8px;
    border-radius: 9px;
    background: var(--nx-soft);
    box-shadow: none;
    color: var(--nx-muted);
    font-family: inherit;
    font-size: 11px;
    line-height: 26px;
    white-space: nowrap;
}

.nx-head-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nx-wallet {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--nx-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--nx-shadow);
    color: var(--nx-text) !important;
    text-decoration: none !important;
}

.nx-wallet-ic {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--nx-good) 12%, #fff);
    color: var(--nx-good);
}

.nx-wallet > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.nx-wallet small {
    color: var(--nx-muted);
    font-size: 11px;
}

.nx-wallet b {
    color: var(--nx-ink);
    font-size: 13.5px;
    font-weight: 900;
    white-space: nowrap;
}

.nx-plus {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-right: 4px;
    border-radius: 10px;
    background: var(--nx-accent);
    color: #fff;
}

.nx-sq {
    position: relative;
    display: grid !important;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--nx-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--nx-shadow);
    color: var(--nx-text) !important;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.nx-sq:hover,
.open > .nx-sq {
    border-color: color-mix(in srgb, var(--nx-accent) 35%, #fff);
    color: var(--nx-accent) !important;
}

.nx-sq .nx-badge {
    top: 6px;
    left: 6px;
}

.nx-me {
    position: relative;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, var(--nx-accent), var(--nx-accent-2));
    box-shadow: 0 12px 22px -12px var(--nx-accent);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    overflow: hidden;
    cursor: pointer;
}

.nx-me img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nx-drop {
    position: relative;
}

.nx-body .dropdown-menu.nx-menu {
    min-width: 260px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid var(--nx-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 50px -20px rgb(10 26 74 / .4);
    text-align: right;
}

.nx-menu-title {
    display: block;
    padding: 6px 10px 10px;
    border-bottom: 1px dashed var(--nx-line);
    margin-bottom: 6px;
    color: var(--nx-ink);
    font-size: 14px;
    font-weight: 900;
}

.nx-menu-user {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
    padding: 6px 10px 10px;
    border-bottom: 1px dashed var(--nx-line);
    line-height: 1.6;
}

.nx-menu-user b {
    color: var(--nx-ink);
    font-size: 14px;
    font-weight: 900;
}

.nx-menu-user span {
    color: var(--nx-muted);
    font-size: 12px;
    text-align: right;
}

.nx-body .nx-menu > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--nx-text);
    font-size: 13px;
    font-weight: 600;
    white-space: normal;
    text-decoration: none;
}

.nx-body .nx-menu > a:hover {
    background: var(--nx-soft);
    color: var(--nx-accent);
}

.nx-alert i {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--nx-accent-soft);
    color: var(--nx-accent);
}

.nx-alert.is-warning i,
.nx-alert.is-danger i {
    background: color-mix(in srgb, var(--nx-wait) 12%, #fff);
    color: var(--nx-wait);
}

.nx-menu-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px;
    color: var(--nx-muted);
    font-size: 13px;
    text-align: center;
}

.nx-menu-empty .nx-i {
    color: var(--nx-good);
}

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 15px;
    background: var(--nx-accent);
    box-shadow: 0 12px 24px -12px var(--nx-accent);
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .2s, filter .2s;
}

.nx-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.nx-btn-sm {
    height: 42px;
    padding: 0 16px;
    border-radius: 13px;
    font-size: 13px;
}

.nx-page .main-body,
.nx-page .page-wrapper {
    padding: 0;
    background: none;
}

.nx-body section#main-body {
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--nx-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--nx-shadow);
}

.nx-body section#main-body > div > .row {
    margin-right: 0;
    margin-left: 0;
}

.nx-body section#main-body > div > .row > [class*="col-"] {
    float: none;
    width: auto;
    padding-right: 0;
    padding-left: 0;
}

.nx-body section#main-body .main-content {
    clear: both;
}

.nx-page .header-lined h1 {
    display: none;
}

.nx-page .header-lined {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

.nx-tpl-clientareahome section#main-body {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.nx-tpl-clientareahome section#main-body > div > .row > [class*="col-"]:not(.main-content) {
    display: none;
}

.nx-dash {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--nx-text);
}

.nx-card {
    border: 1px solid var(--nx-line);
    border-radius: 22px;
    background: var(--nx-card);
    box-shadow: var(--nx-shadow);
}

.nx-dash a {
    text-decoration: none;
}

.nx-pulse {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 18px 16px 16px;
    overflow: hidden;
    isolation: isolate;
    --tone: var(--nx-wait);
}

.nx-pulse.is-calm {
    --tone: var(--nx-good);
}

.nx-pulse::before {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    z-index: -1;
    width: 6px;
    background: linear-gradient(var(--tone), color-mix(in srgb, var(--tone) 55%, #fff));
}

.nx-pulse-ic {
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--tone) 13%, #fff);
    color: var(--tone);
}

.nx-pulse-ic::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid color-mix(in srgb, var(--tone) 30%, transparent);
    border-radius: 22px;
    animation: nx-ring 2s ease-out infinite;
}

.nx-pulse.is-calm .nx-pulse-ic::after {
    animation: none;
    opacity: 0;
}

@keyframes nx-ring {
    from {
        opacity: 1;
        transform: scale(.9);
    }

    to {
        opacity: 0;
        transform: scale(1.18);
    }
}

.nx-pulse h2 {
    margin: 0;
    color: var(--nx-ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.6;
}

.nx-pulse-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.nx-pulse-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 12px 4px 10px;
    border: 1px solid var(--nx-line);
    border-radius: 11px;
    background: var(--nx-soft);
    color: var(--nx-text) !important;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.6;
    transition: border-color .2s, background .2s, color .2s;
}

.nx-pulse-list a:hover {
    border-color: color-mix(in srgb, var(--nx-accent) 35%, #fff);
    background: var(--nx-accent-soft);
    color: var(--nx-accent) !important;
}

.nx-pulse-list a i {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dot, var(--nx-wait));
}

.nx-pulse-list a.is-ok {
    --dot: var(--nx-good);
}

.nx-pulse-list a.is-bad {
    --dot: var(--nx-bad);
}

.nx-addon:empty {
    display: none;
}

.nx-sec-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 4px -2px;
}

.nx-sec-head h3 {
    margin: 0;
    color: var(--nx-ink);
    font-size: 17px;
    font-weight: 900;
}

.nx-count {
    display: inline-block;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--nx-accent-soft);
    color: var(--nx-accent);
    font-size: 12px;
    font-weight: 800;
    line-height: 24px;
    vertical-align: middle;
}

.nx-seg {
    display: flex;
    gap: 2px;
    margin-right: auto;
    padding: 4px;
    border-radius: 13px;
    background: #fff;
    box-shadow: var(--nx-shadow);
}

.nx-seg a {
    padding: 0 12px;
    border-radius: 10px;
    color: var(--nx-muted) !important;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 32px;
}

.nx-seg a.is-on {
    background: var(--nx-accent);
    color: #fff !important;
}

.nx-svcs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.nx-svc {
    --tone: var(--nx-accent);
    --state: var(--nx-good);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    transition: transform .3s var(--nx-ease), box-shadow .3s var(--nx-ease), border-color .3s;
}

.nx-svc:hover {
    border-color: color-mix(in srgb, var(--nx-accent) 30%, #fff);
    box-shadow: var(--nx-shadow-lg);
    transform: translateY(-3px);
}

.nx-svc::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -60px;
    z-index: -1;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--tone) 12%, transparent), transparent);
}

.nx-svc.is-due {
    --tone: var(--nx-wait);
}

.nx-svc.is-suspended {
    --tone: var(--nx-bad);
    --state: var(--nx-bad);
}

.nx-svc.is-pending {
    --state: var(--nx-wait);
}

.nx-svc-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-cloud {
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--nx-accent), var(--nx-accent-2));
    box-shadow: 0 10px 20px -10px var(--nx-accent);
    color: #fff;
}

.nx-cloud::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: -3px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--state);
}

.nx-svc-name {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.nx-svc-name b {
    overflow: hidden;
    color: var(--nx-ink);
    font-size: 14.5px;
    font-weight: 900;
    line-height: 1.6;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nx-svc-name span {
    overflow: hidden;
    color: var(--nx-muted);
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: right;
}

.nx-renew {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 16px;
    background: var(--nx-soft);
}

.nx-svc.is-due .nx-renew {
    background: color-mix(in srgb, var(--nx-wait) 8%, #fff);
}

.nx-ring {
    --p: 60;
    position: relative;
    display: grid;
    place-items: center;
    flex: none;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: conic-gradient(var(--tone) calc(var(--p) * 1%), color-mix(in srgb, var(--tone) 14%, #fff) 0);
}

.nx-ring::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--nx-soft);
}

.nx-svc.is-due .nx-ring::before {
    background: color-mix(in srgb, var(--nx-wait) 8%, #fff);
}

.nx-ring > span {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--nx-ink);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.1;
}

.nx-ring small {
    color: var(--nx-muted);
    font-size: 9.5px;
    font-weight: 700;
}

.nx-ring.is-inf {
    background: conic-gradient(var(--nx-good) 100%, transparent 0);
}

.nx-ring.is-inf > span {
    font-size: 20px;
}

.nx-renew-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.7;
}

.nx-renew-text b {
    color: var(--nx-ink);
    font-size: 13.5px;
    font-weight: 800;
}

.nx-renew-text > span {
    color: var(--nx-muted);
    font-size: 12px;
}

.nx-svc-acts {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.nx-svc-acts a {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    border-radius: 13px;
    background: var(--nx-soft);
    color: var(--nx-text) !important;
    font-size: 13px;
    font-weight: 800;
    transition: background .2s, color .2s;
}

.nx-svc-acts a.is-main {
    background: var(--nx-accent-soft);
    color: var(--nx-accent) !important;
}

.nx-svc:hover .nx-svc-acts a.is-main {
    background: var(--nx-accent);
    color: #fff !important;
}

.nx-svc-acts a.renew {
    background: var(--nx-wait);
    color: #fff !important;
}

.nx-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--nx-soft);
    color: var(--nx-muted);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 26px;
    white-space: nowrap;
}

.nx-chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.nx-chip.is-info {
    background: var(--nx-accent-soft);
    color: var(--nx-accent);
}

.nx-chip.is-wait,
.nx-chip.is-pending {
    background: color-mix(in srgb, var(--nx-wait) 12%, #fff);
    color: var(--nx-wait);
}

.nx-chip.is-suspended {
    background: color-mix(in srgb, var(--nx-bad) 11%, #fff);
    color: var(--nx-bad);
}

.nx-svc-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 100%;
    padding: 22px;
    border: 1.5px dashed color-mix(in srgb, var(--nx-accent) 30%, var(--nx-line));
    border-radius: 22px;
    background: color-mix(in srgb, var(--nx-accent) 3%, transparent);
    color: var(--nx-accent) !important;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    transition: background .2s;
}

.nx-svc-add:hover {
    background: var(--nx-accent-soft);
}

.nx-svc-add i {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--nx-shadow);
}

.nx-svc-add small {
    color: var(--nx-muted);
    font-size: 12px;
    font-weight: 500;
}

.nx-row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.nx-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.nx-panels > :only-child {
    grid-column: 1 / -1;
}

.nx-panels:empty {
    display: none;
}

.nx-panel {
    padding: 18px;
}

.nx-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.nx-panel-head h3 {
    flex: 1;
    margin: 0;
    color: var(--nx-ink);
    font-size: 15.5px;
    font-weight: 900;
    line-height: 1.6;
}

.nx-link-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--nx-accent) !important;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.nx-tk {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 12px;
    padding: 12px 8px;
    border-radius: 14px;
    color: var(--nx-text) !important;
    transition: background .2s;
}

.nx-tk + .nx-tk {
    border-top: 1px dashed var(--nx-line);
}

.nx-tk:hover {
    background: var(--nx-soft);
}

.nx-tk-av {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: var(--nx-accent-soft);
    color: var(--nx-accent);
}

.nx-tk.is-closed .nx-tk-av {
    background: var(--nx-soft);
    color: var(--nx-muted);
}

.nx-tk b {
    overflow: hidden;
    color: var(--nx-ink);
    font-size: 13.5px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nx-tk small {
    grid-column: 2;
    color: var(--nx-muted);
    font-size: 12px;
}

.nx-tk .nx-chip {
    grid-row: span 2;
}

.nx-acts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nx-acts a {
    --tone: var(--nx-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 6px 12px;
    border-radius: 16px;
    background: var(--nx-soft);
    color: var(--nx-ink) !important;
    font-size: 12.5px;
    font-weight: 800;
    text-align: center;
    transition: background .2s, transform .2s;
}

.nx-acts a:hover {
    background: color-mix(in srgb, var(--tone) 9%, #fff);
    transform: translateY(-2px);
}

.nx-acts i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 14px -8px rgb(18 26 48 / .3);
    color: var(--tone);
}

.nx-acts a:last-child:nth-child(3n + 2) {
    grid-column: span 2;
}

.nx-acts a:last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
}

.nx-acts .t-violet {
    --tone: var(--nx-violet);
}

.nx-acts .t-green {
    --tone: var(--nx-good);
}

.nx-acts .t-amber {
    --tone: #f08a00;
}

.nx-acts .t-cyan {
    --tone: #0aa5d8;
}

.nx-acts .t-pink {
    --tone: #e0398c;
}

.nx-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 14px;
    border: 1px dashed var(--nx-line);
    border-radius: 16px;
    color: var(--nx-muted);
    font-size: 13px;
    text-align: center;
}

.nx-empty > i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--nx-accent-soft);
    color: var(--nx-accent);
}

.nx-wpanel-list {
    display: flex;
    flex-direction: column;
}

.nx-wpanel-list .list-group-item {
    display: block;
    margin: 0;
    padding: 12px 8px;
    border: 0;
    border-radius: 14px;
    background: none;
    color: var(--nx-text);
    font-size: 13.5px;
}

.nx-wpanel-list .list-group-item + .list-group-item {
    border-top: 1px dashed var(--nx-line);
    border-radius: 0;
}

.nx-wpanel-list a.list-group-item:hover {
    background: var(--nx-soft);
}

.nx-wpanel-list .label {
    display: inline-block;
    margin: 0 6px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 22px;
}

.nx-wpanel-body {
    color: var(--nx-text);
    font-size: 13.5px;
}

.nx-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto !important;
    padding: 4px 4px 0;
    color: var(--nx-muted);
    font-size: 12.5px;
}

.nx-foot nav {
    display: flex;
    gap: 16px;
}

.nx-foot a {
    color: var(--nx-muted) !important;
}

.nx-foot a:hover {
    color: var(--nx-accent) !important;
}

.nx-bnav {
    display: none;
}

.nx-btn-ghost {
    background: var(--nx-accent-soft);
    box-shadow: none;
    color: var(--nx-accent) !important;
}

.nx-home {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
    color: var(--nx-text);
}

.nx-home a {
    text-decoration: none;
}

.nx-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 24px;
    min-height: 250px;
    padding: 34px 38px;
    overflow: hidden;
    border: 0;
    background: radial-gradient(420px 260px at 12% 30%, rgb(25 181 240 / .35), transparent 70%), linear-gradient(135deg, #1d4fd0, var(--nx-deep) 70%);
    box-shadow: var(--nx-shadow-lg);
    color: #fff;
}

.nx-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%);
    mask-image: linear-gradient(90deg, #000, transparent 75%);
    pointer-events: none;
}

.nx-hero-text {
    position: relative;
}

.nx-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border: 1px solid rgb(255 255 255 / .18);
    border-radius: 999px;
    background: rgb(255 255 255 / .1);
    color: #d6e2ff;
    font-size: 12px;
    font-weight: 700;
}

.nx-hero h2 {
    margin: 14px 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.5;
}

.nx-hero p {
    margin: 0 0 22px;
    color: #c4d2f5;
    font-size: 14.5px;
}

.nx-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nx-hero .nx-btn {
    background: #fff;
    box-shadow: 0 14px 26px -14px rgb(0 0 0 / .6);
    color: var(--nx-deep) !important;
}

.nx-hero .nx-btn-ghost {
    border: 1px solid rgb(255 255 255 / .25);
    background: rgb(255 255 255 / .1);
    box-shadow: none;
    color: #fff !important;
}

.nx-hero-art {
    position: relative;
    height: 190px;
}

.nx-hero-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 118px;
    height: 118px;
    border-radius: 34px;
    background: linear-gradient(145deg, #fff, #dfe8ff);
    box-shadow: 0 0 0 14px rgb(255 255 255 / .07), 0 0 0 30px rgb(255 255 255 / .04), 0 30px 50px -20px rgb(0 0 0 / .55);
    color: var(--nx-accent);
    transform: translate(-50%, -50%);
}

.nx-hero-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 14px 28px -14px rgb(0 0 0 / .55);
    color: var(--nx-ink);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    animation: nx-float 5s ease-in-out infinite;
}

.nx-hero-pill .nx-i {
    color: var(--nx-accent);
}

.nx-hero-pill.is-a {
    top: 6px;
    right: 6px;
}

.nx-hero-pill.is-b {
    bottom: 16px;
    left: 0;
    animation-delay: -1.6s;
}

.nx-hero-pill.is-b .nx-i {
    color: var(--nx-good);
}

.nx-hero-pill.is-c {
    right: 0;
    bottom: 4px;
    animation-delay: -3.2s;
}

.nx-hero-pill.is-c .nx-i {
    color: var(--nx-violet);
}

@keyframes nx-float {
    50% {
        transform: translateY(-7px);
    }
}

.nx-domain {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px 10px 10px 10px;
}

.nx-domain-ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--nx-accent-soft);
    color: var(--nx-accent);
}

.nx-domain input {
    flex: 1;
    min-width: 0;
    height: 46px;
    border: 0;
    outline: 0;
    background: none;
    color: var(--nx-ink);
    font-size: 15px;
    text-align: right;
}

.nx-domain input:placeholder-shown {
    direction: rtl;
}

.nx-domain-acts {
    display: flex;
    gap: 8px;
}

.nx-help {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.nx-help-item {
    --tone: var(--nx-accent);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    color: var(--nx-text) !important;
    transition: transform .25s var(--nx-ease), box-shadow .25s;
}

.nx-help-item:hover {
    box-shadow: var(--nx-shadow-lg);
    transform: translateY(-3px);
}

.nx-help-item i {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    border-radius: 15px;
    background: color-mix(in srgb, var(--tone) 11%, #fff);
    color: var(--tone);
}

.nx-help-item b {
    color: var(--nx-ink);
    font-size: 15px;
    font-weight: 900;
}

.nx-help-item span {
    flex: 1;
    color: var(--nx-muted);
    font-size: 13px;
    line-height: 1.9;
}

.nx-help-item em {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    color: var(--tone);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.nx-help-item.t-cyan {
    --tone: #0aa5d8;
}

.nx-help-item.t-amber {
    --tone: #f08a00;
}

.nx-help-item.t-violet {
    --tone: var(--nx-violet);
}

.nx-help-item.t-green {
    --tone: var(--nx-good);
}

.nx-tpl-homepage section#main-body:not(:has(.main-content > *)) {
    display: none;
}

@media (max-width: 1200px) {
    .nx-svcs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nx-wallet {
        display: none;
    }
}

@media (max-width: 991px) {
    .nx-row,
    .nx-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .nx-cmd {
        display: none;
    }

    .nx-head-actions {
        margin-right: auto;
    }

    .nx-page {
        padding: 18px 18px 22px;
    }

    .nx-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .nx-hero-art {
        display: none;
    }
}

@media (max-width: 767px) {
    .nx-hero {
        min-height: 0;
        padding: 26px 22px;
    }

    .nx-hero h2 {
        font-size: 22px;
    }

    .nx-hero-cta .nx-btn {
        flex: 1;
    }

    .nx-domain {
        flex-wrap: wrap;
    }

    .nx-domain input {
        flex-basis: calc(100% - 60px);
    }

    .nx-domain-acts {
        flex-basis: 100%;
    }

    .nx-domain-acts .nx-btn {
        flex: 1;
    }

    .nx-help {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nx-help-item {
        padding: 16px;
    }

    .nx-help-item span {
        display: none;
    }

    .nx-rail {
        top: auto;
        right: 10px;
        bottom: calc(84px + env(safe-area-inset-bottom));
        left: 10px;
        z-index: 1050;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        gap: 6px;
        width: auto;
        max-height: calc(100vh - 120px);
        padding: 12px;
        border-radius: 24px;
        box-shadow: 0 30px 60px -20px rgb(0 0 0 / .6);
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: opacity .25s, transform .35s var(--nx-ease), visibility 0s linear .35s;
    }

    .nx-menu-open .nx-rail {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .25s, transform .35s var(--nx-ease);
    }

    .nx-rail-mark,
    .nx-rail-spacer {
        display: none;
    }

    .nx-rail-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 4px;
        padding: 4px 6px 10px;
        border-bottom: 1px solid rgb(255 255 255 / .1);
    }

    .nx-rail-head img {
        height: 34px;
        padding: 4px 8px;
        border-radius: 10px;
        background: #fff;
    }

    .nx-rail-close {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 12px;
        background: rgb(255 255 255 / .1);
        color: #fff;
    }

    .nx-rail-item {
        width: 100%;
    }

    .nx-rail-btn {
        flex-direction: row;
        gap: 12px;
        padding: 10px 12px;
        font-size: 14px;
        text-align: right;
    }

    .nx-rail-item.is-current > .nx-rail-btn::before {
        display: none;
    }

    .nx-rail-btn .nx-badge {
        position: static;
        margin-right: auto;
    }

    .nx-fly,
    .nx-rail-item:hover > .nx-fly,
    .nx-rail-item:focus-within > .nx-fly {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        min-width: 0;
        margin: 2px 0 6px;
        padding: 0 46px 4px 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    .nx-fly::before,
    .nx-fly b {
        display: none;
    }

    .nx-fly a {
        padding: 5px 12px;
        border-radius: 999px;
        background: rgb(255 255 255 / .08);
        color: #d6def6 !important;
        font-size: 12.5px;
    }

    .nx-fly a::before {
        display: none;
    }

    .nx-fly a:hover {
        background: rgb(255 255 255 / .16);
        color: #fff !important;
    }

    .nx-fly a.is-danger {
        color: #ff9a9e !important;
    }

    .nx-scrim {
        position: fixed;
        inset: 0;
        z-index: 1040;
        display: block;
        background: rgb(10 18 45 / .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility 0s linear .25s;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
    }

    .nx-menu-open .nx-scrim {
        opacity: 1;
        visibility: visible;
        transition: opacity .25s;
    }

    .nx-page {
        gap: 14px;
        margin: 0;
        padding: 14px 12px calc(100px + env(safe-area-inset-bottom));
    }

    .nx-head {
        gap: 8px;
    }

    .nx-hello h1 {
        font-size: 18px;
    }

    .nx-hello > span,
    .nx-crumb {
        font-size: 11.5px;
    }

    .nx-sq.is-cart {
        display: none !important;
    }

    .nx-sq,
    .nx-me {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .nx-body .dropdown-menu.nx-menu {
        position: fixed;
        top: 70px;
        right: 12px;
        left: 12px;
        min-width: 0;
    }

    .nx-body section#main-body {
        padding: 16px 14px;
        border-radius: 20px;
    }

    .nx-pulse {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .nx-pulse-ic {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .nx-pulse .nx-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .nx-pulse h2 {
        font-size: 14.5px;
    }

    .nx-pulse-list {
        flex-direction: column;
        gap: 6px;
    }

    .nx-pulse-list a {
        display: block;
        padding: 7px 10px;
        line-height: 1.8;
    }

    .nx-pulse-list a i {
        display: inline-block;
        margin-left: 6px;
        vertical-align: middle;
    }

    .nx-pulse-list a .nx-ltr {
        white-space: nowrap;
    }

    .nx-svcs {
        display: flex;
        gap: 10px;
        margin: 0 -12px;
        padding: 2px 12px 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 12px;
        scrollbar-width: none;
    }

    .nx-svcs::-webkit-scrollbar {
        display: none;
    }

    .nx-svcs > * {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .nx-svc:hover {
        transform: none;
    }

    .nx-seg {
        display: none;
    }

    .nx-svc-add {
        min-height: 0;
    }

    .nx-acts a {
        font-size: 11.5px;
    }

    .nx-foot {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nx-bnav {
        position: fixed;
        right: 10px;
        bottom: calc(10px + env(safe-area-inset-bottom));
        left: 10px;
        z-index: 1045;
        display: flex;
        align-items: stretch;
        height: 64px;
        padding: 0 6px;
        border-radius: 20px;
        background: var(--nx-deep);
        box-shadow: 0 18px 40px -14px rgb(10 26 74 / .6);
    }

    .nx-bnav > a,
    .nx-bnav > button {
        position: relative;
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        margin: 0;
        padding: 0;
        border: 0;
        background: none;
        color: #aebce6 !important;
        font-size: 10.5px;
        font-weight: 700;
        text-decoration: none !important;
    }

    .nx-bnav .nx-badge {
        top: 8px;
        left: calc(50% - 22px);
    }

    .nx-bnav > a.is-current {
        color: #fff !important;
    }

    .nx-bnav > a.is-current::after {
        content: "";
        position: absolute;
        top: 6px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--nx-accent-2);
    }

    .nx-bnav > a.is-fab {
        flex: 0 0 68px;
    }

    .nx-bnav > a.is-fab > span {
        display: grid;
        place-items: center;
        width: 56px;
        height: 56px;
        margin-top: -28px;
        border: 4px solid var(--nx-bg);
        border-radius: 50%;
        background: linear-gradient(145deg, var(--nx-accent), var(--nx-accent-2));
        box-shadow: 0 10px 20px -8px var(--nx-accent);
        color: #fff;
    }
}

@media (min-width: 768px) {
    .nx-head-menu {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nx-body *,
    .nx-body *::before,
    .nx-body *::after {
        animation: none !important;
        transition: none !important;
    }
}
