
:root {
    --nx-navy:    #0c0736;
    --nx-navy-2:  #060040;
    --nx-navy-3:  #001e40;

    --nx-primary:    #1971b7;
    --nx-primary-h:  #155d96;
    --nx-primary-a:  #124f80;
    --nx-primary-bg: #e8f1fa;
    --nx-primary-bd: #bcd8ee;
    --nx-ring:       rgba(25, 113, 183, .35);

    --nx-magenta:    #bc0b66;
    --nx-magenta-bg: #fbe8f1;

    --nx-on-navy:   #ffffff;
    --nx-on-navy-2: #cfd4e6;
    --nx-on-navy-3: #aab2cd;
    --nx-navy-rule: rgba(255, 255, 255, .10);

    --nx-ok:   #4fd18b;
    --nx-warn: #f0b429;
    --nx-stop: #ff8080;

    --nx-green:    #2e9e5b;  --nx-green-bg:  #e9f7ef;  --nx-green-ic:  #d6f0e0;
    --nx-orange:   #e08a1e;  --nx-orange-bg: #fdf3e3;  --nx-orange-ic: #fbe6c8;
    --nx-red:      #d64550;  --nx-red-bg:    #fdecee;  --nx-red-ic:    #fbd9dd;
    --nx-blue:     #1f7ae0;  --nx-blue-bg:   #e9f2fd;  --nx-blue-ic:   #d4e6fb;

    --nx-surface:      #ffffff;
    --nx-surface-2:    #f5f7fb;
    --nx-card-bd:      #dfe4ee;
    --nx-card-bd-hi:   #bcd8ee;
    --nx-ink:          #141a2e;
    --nx-ink-2:        #4a5169;
    --nx-ink-3:        #7b8299;

    --nx-rule:      #e4e7f0;
    --nx-rule-soft: #eef0f6;
    --nx-r-sm:   6px;
    --nx-r-md:   9px;
    --nx-r-lg:   13px;
    --nx-r-pill: 999px;

    --nx-fs-xs:   10.5px;
    --nx-fs-sm:   11.5px;
    --nx-fs-base: 12.5px;
    --nx-fs-md:   13px;
    --nx-fs-lg:   15px;
    --nx-fs-xl:   18px;
    --nx-fs-2xl:  24px;

    --nx-fw-normal:    400;
    --nx-fw-medium:    500;
    --nx-fw-semibold:  600;
    --nx-fw-bold:      700;
    --nx-fw-extrabold: 800;

    --nx-control-h:    38px;
    --nx-control-h-sm: 32px;
    --nx-card-r:    14px;
    --nx-card-r-sm: 10px;
    --nx-sh-3:   0 12px 32px rgba(20, 26, 46, .13);
    --nx-t-fast: .13s;
    --nx-ease:   cubic-bezier(.32, .72, .34, 1);
    --nx-glass:      rgba(255, 255, 255, .82);
    --nx-glass-blur: saturate(180%) blur(14px);

    --nx-tile-ok:     #10714d;  --nx-tile-ok-bg:     #e2f4ea;
    --nx-tile-warn:   #8a5600;  --nx-tile-warn-bg:   #fbeed6;
    --nx-tile-stop:   #a81f1a;  --nx-tile-stop-bg:   #fbe4e2;
    --nx-tile-violet: #6b46d6;  --nx-tile-violet-bg: #efeaff;
    --nx-tile-teal:   #10796a;  --nx-tile-teal-bg:   #e0f4f1;
    --nx-tile-info:   var(--nx-primary);
    --nx-tile-info-bg: var(--nx-primary-bg);

    --nx-page-bg: url('/Images/bg.jpg');
    --nx-rail-bg: url('/Images/bg3.jpg');
}

.nx-bg {
    background-image: var(--nx-page-bg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.nx-rail-bg {
    background-image: var(--nx-rail-bg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.nx-ico {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nx-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: var(--nx-r-md);
    background: var(--nx-surface-2);
    border: 1px solid var(--nx-card-bd);
    font-size: 13px;
    font-weight: 600;
    color: var(--nx-ink-2);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.nx-chip .nx-ico,
.nx-chip .ess-ico { width: 16px; height: 16px; color: var(--nx-primary); }

.nx-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    flex-wrap: wrap;
    position: static;
    width: auto;
    margin: 0;
    padding: 14px 22px;
    background: linear-gradient(180deg, #120b45 0%, var(--nx-navy) 100%);
    border-top: 1px solid var(--nx-navy-rule);
    color: var(--nx-on-navy-2);
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
}

.nx-footer-l,
.nx-footer-r {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.nx-footer-r { margin-left: auto; }

.nx-foot-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--nx-navy-rule);
    font-weight: 600;
    color: var(--nx-ok);
    white-space: nowrap;
}
.nx-foot-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex: 0 0 auto;
}
.nx-foot-status.is-warning { color: var(--nx-warn); }
.nx-foot-status.is-expired { color: var(--nx-stop); }

.nx-foot-copy {
    color: var(--nx-on-navy-3);
    white-space: nowrap;
}

.nx-foot-sep {
    width: 1px;
    height: 18px;
    background: var(--nx-navy-rule);
    flex: 0 0 auto;
}

.nx-foot-link {
    color: var(--nx-on-navy-2);
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s ease-in-out;
}
.nx-foot-link:hover { color: var(--nx-on-navy); text-decoration: underline; }

.nx-foot-brand img {
    height: 30px;
    width: auto;
    display: block;
    border-radius: 3px;
}

@media (max-width: 767.98px) {
    .nx-footer {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 14px;
        text-align: center;
    }
    .nx-footer-l,
    .nx-footer-r { flex-direction: column; gap: 10px; margin-left: 0; }
    .nx-foot-sep { display: none; }
    .nx-foot-copy { white-space: normal; }
}


html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (max-width: 760px) {
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]),
    select,
    textarea { font-size: 16px; }

    .table-responsive, .dataTables_wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    img, video, canvas { max-width: 100%; height: auto; }
}

@media (pointer: coarse) {
    .btn, input[type=submit], input[type=button], input[type=reset] { min-height: 40px; }
    .select2-container .select2-selection--single { min-height: 40px; }
    input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
}

