.nx-dashboard-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.25rem;
    padding: 0.7rem 1.1rem;
    border-radius: 0.75rem;
    background: rgb(58, 53, 110);
    background: var(--primary-800, rgb(58, 53, 110));
    color: #fff;
    box-shadow: 0 8px 24px rgba(58, 53, 110, 0.18);
}

.nx-dashboard-topbar__left,
.nx-dashboard-topbar__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}

.nx-dashboard-topbar__welcome {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nx-dashboard-topbar__divider {
    width: 1px;
    height: 1.1rem;
    background: rgba(255, 255, 255, 0.22);
}

.nx-dashboard-topbar__user {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.nx-dashboard-topbar__support {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.nx-dashboard-topbar__support:hover {
    color: #fff;
}

.nx-dashboard-topbar__support-icon {
    color: rgba(255, 255, 255, 0.78);
    flex-shrink: 0;
}

.nx-dashboard-profile {
    position: relative;
}

.nx-dashboard-profile__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.45rem;
    border: none;
    background: #eef2ff;
    color: rgb(58, 53, 110);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-dashboard-profile__avatar:hover,
.nx-dashboard-profile:hover .nx-dashboard-profile__avatar {
    background: #e0e7ff;
    color: rgb(58, 53, 110);
    transform: scale(1.02);
    box-shadow: none;
}

.nx-dashboard-profile__menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 50;
    width: 17.5rem;
    padding: 0.9rem;
    margin-top: 0.35rem;
    border-radius: 0.85rem;
    background: #fff;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.nx-dashboard-profile__menu::before {
    content: '';
    position: absolute;
    top: -0.75rem;
    right: 0;
    width: 3rem;
    height: 0.75rem;
}

.nx-dashboard-profile__menu-enter {
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.nx-dashboard-profile__menu-enter-start,
.nx-dashboard-profile__menu-leave-end {
    opacity: 0;
    transform: translateY(-6px);
}

.nx-dashboard-profile__menu-enter-end,
.nx-dashboard-profile__menu-leave-start {
    opacity: 1;
    transform: translateY(0);
}

.nx-dashboard-profile__header {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nx-dashboard-profile__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    line-height: 1.3;
}

.nx-dashboard-profile__email {
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #64748b;
    word-break: break-word;
}

.nx-dashboard-profile__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.nx-dashboard-profile__logout-form {
    margin: 0;
    width: 100%;
}

.nx-dashboard-profile__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 0.55rem;
    border: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nx-dashboard-profile__btn--primary {
    background: rgb(58, 53, 110);
    background: var(--primary-800, rgb(58, 53, 110));
    color: #fff;
}

.nx-dashboard-profile__btn--primary:hover {
    background: rgb(48, 44, 95);
    color: #fff;
}

.nx-dashboard-profile__btn--danger {
    background: #dc2626;
    color: #fff;
}

.nx-dashboard-profile__btn--danger:hover {
    background: #b91c1c;
    color: #fff;
}

.nx-dashboard-filters {
    margin-top: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.nx-dashboard-sales-source {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.55rem;
    background: #fff;
    overflow: hidden;
}

.nx-dashboard-sales-source button {
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.83rem;
    font-weight: 700;
    padding: 0.65rem 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nx-dashboard-sales-source button:hover {
    background: #f8fafc;
}

.nx-dashboard-sales-source button.is-active {
    background: #eef2ff;
    color: rgb(58, 53, 110);
}

.nx-dashboard-sales-source--widget button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
}

.nx-dashboard-table-widget__controls,
.nx-dashboard-chart-widget__controls {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.nx-performance-chart-widget .fi-section-header-after-ctn {
    flex-shrink: 0;
}

.nx-dashboard-chart-widget__toggle {
    flex-shrink: 0;
}

.nx-performance-chart-widget .nx-dashboard-sales-source {
    width: auto;
    flex-shrink: 0;
}

.nx-performance-chart-widget .nx-dashboard-sales-source button {
    flex: none;
    white-space: nowrap;
}

.nx-dashboard-chart-widget__outlet-filter {
    width: min(14rem, 42vw);
    flex-shrink: 1;
    min-width: 9rem;
}

.nx-dashboard-chart-widget__controls .nx-login-log-location {
    width: 100%;
}

.nx-performance-chart-widget__loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.nx-dashboard-sort-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.55rem;
    background: #fff;
    overflow: hidden;
}

.nx-dashboard-sort-toggle button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nx-dashboard-toggle__icon {
    flex-shrink: 0;
}

.nx-dashboard-sort-toggle button:hover {
    background: #f8fafc;
}

.nx-dashboard-sort-toggle button.is-active {
    background: #eef2ff;
    color: rgb(58, 53, 110);
}

.nx-dashboard-table-widget .fi-section-header-after-ctn {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .nx-dashboard-table-widget .fi-section-header,
    .nx-performance-chart-widget .fi-section-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nx-dashboard-table-widget .fi-section-header-after-ctn,
    .nx-performance-chart-widget .fi-section-header-after-ctn {
        width: 100%;
    }

    .nx-dashboard-table-widget__controls,
    .nx-dashboard-chart-widget__controls {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nx-dashboard-chart-widget__outlet-filter {
        width: min(14rem, 100%);
        flex-shrink: 0;
    }

    .nx-performance-chart-widget .nx-dashboard-sales-source {
        width: auto;
    }

    .nx-performance-chart-widget .nx-dashboard-sales-source button {
        flex: none;
    }

    .nx-dashboard-table-widget .nx-dashboard-sales-source--widget,
    .nx-dashboard-sort-toggle {
        width: 100%;
    }

    .nx-dashboard-table-widget .nx-dashboard-sales-source--widget button {
        flex: 1;
    }

    .nx-dashboard-table-widget .nx-dashboard-sort-toggle button {
        flex: 1;
    }
}

.nx-date-range {
    position: relative;
    width: min(100%, 22rem);
}

.nx-date-range__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.45);
    border-radius: 0.55rem;
    background: #fff;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nx-date-range__trigger:hover,
.nx-date-range__trigger:focus-visible {
    border-color: rgba(58, 53, 110, 0.45);
    box-shadow: 0 0 0 3px rgba(58, 53, 110, 0.08);
    outline: none;
}

.nx-date-range__trigger-text {
    text-align: left;
    white-space: nowrap;
}

.nx-date-range__trigger-icon {
    color: #64748b;
    flex-shrink: 0;
}

.nx-date-range__panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    z-index: 60;
    width: min(44rem, calc(100vw - 2rem));
    border-radius: 0.85rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.nx-date-range__panel-inner {
    display: grid;
    grid-template-columns: 11rem minmax(0, 1fr);
}

.nx-date-range__presets {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0.55rem;
    border-right: 1px solid rgba(148, 163, 184, 0.18);
    background: #f8fafc;
}

.nx-date-range__preset {
    border: 1px solid transparent;
    background: transparent;
    color: #334155;
    text-align: left;
    padding: 0.48rem 0.65rem;
    border-radius: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nx-date-range__preset:hover {
    background: rgba(58, 53, 110, 0.06);
    color: rgb(58, 53, 110);
}

.nx-date-range__preset.is-active {
    background: rgba(58, 53, 110, 0.1);
    border-color: rgba(58, 53, 110, 0.18);
    color: rgb(58, 53, 110);
}

.nx-date-range__calendars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.85rem;
}

.nx-date-range__calendar-head {
    display: grid;
    grid-template-columns: 2rem 1fr 2rem;
    align-items: center;
    margin-bottom: 0.55rem;
}

.nx-date-range__month {
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.nx-date-range__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.nx-date-range__nav:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.nx-date-range__spacer {
    display: block;
}

.nx-date-range__weekdays,
.nx-date-range__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.15rem;
}

.nx-date-range__weekdays span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #94a3b8;
    padding: 0.2rem 0;
}

.nx-date-range__day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
}

.nx-date-range__day.is-muted {
    color: #cbd5e1;
    cursor: default;
}

.nx-date-range__day.is-today {
    font-weight: 700;
}

.nx-date-range__day.is-between {
    background: rgba(58, 53, 110, 0.1);
    border-radius: 0;
}

.nx-date-range__day.is-start,
.nx-date-range__day.is-end {
    background: rgb(58, 53, 110);
    color: #fff;
}

.nx-date-range__day:not(.is-muted):not(.is-start):not(.is-end):hover {
    background: rgba(58, 53, 110, 0.12);
}

.nx-date-range__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.95rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
}

.nx-date-range__footer-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: #475569;
}

.nx-date-range__footer-actions {
    display: flex;
    gap: 0.55rem;
}

.nx-date-range__btn {
    min-width: 5.5rem;
    padding: 0.5rem 0.9rem;
    border: none;
    border-radius: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.nx-date-range__btn--cancel {
    background: #eef2ff;
    color: rgb(58, 53, 110);
}

.nx-date-range__btn--cancel:hover {
    background: #e0e7ff;
}

.nx-date-range__btn--apply {
    background: rgb(58, 53, 110);
    color: #fff;
}

.nx-date-range__btn--apply:hover {
    background: rgb(48, 44, 95);
}

.nx-dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.nx-kpi-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.1rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nx-kpi-card::after {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: var(--nx-kpi-accent);
}

.nx-kpi-card--indigo { --nx-kpi-accent: #4f46e5; }
.nx-kpi-card--sky { --nx-kpi-accent: #0ea5e9; }
.nx-kpi-card--blue { --nx-kpi-accent: #2563eb; }
.nx-kpi-card--amber { --nx-kpi-accent: #f59e0b; }
.nx-kpi-card--emerald { --nx-kpi-accent: #10b981; }
.nx-kpi-card--violet { --nx-kpi-accent: #7c3aed; }
.nx-kpi-card--cyan { --nx-kpi-accent: #06b6d4; }
.nx-kpi-card--rose { --nx-kpi-accent: #f43f5e; }
.nx-kpi-card--skeleton { --nx-kpi-accent: #cbd5e1; }

.nx-kpi-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.nx-kpi-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--nx-kpi-accent) 12%, white);
    color: var(--nx-kpi-accent);
}

.nx-kpi-card__badge {
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

.nx-kpi-card__badge.is-up {
    color: #047857;
    background: #d1fae5;
}

.nx-kpi-card__badge.is-down {
    color: #b91c1c;
    background: #fee2e2;
}

.nx-kpi-card__value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
}

.nx-kpi-card__label {
    margin-top: 0.35rem;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 600;
}

.nx-kpi-card__meta {
    margin-top: 0.35rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.nx-dashboard-table-wrap .nx-dashboard-table__loading {
    opacity: 0.45;
    pointer-events: none;
}

.nx-dashboard-table-wrap {
    max-height: 20rem;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.nx-dashboard-table-wrap .nx-dashboard-table th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.nx-dashboard-table {
    width: 100%;
    border-collapse: collapse;
}

.nx-dashboard-table th,
.nx-dashboard-table td {
    padding: 0.8rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    text-align: left;
    font-size: 0.9rem;
}

.nx-dashboard-table th {
    color: #64748b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f8fafc;
}

.nx-dashboard-table .is-right {
    text-align: right;
}

.nx-dashboard-table .is-strong {
    font-weight: 700;
    color: #0f172a;
}

.nx-dashboard-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.nx-dashboard-empty {
    padding: 1.5rem 0.5rem;
    text-align: center;
    color: #94a3b8;
}

.nx-ops-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.nx-ops-card {
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.nx-ops-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    margin-bottom: 0.7rem;
    background: color-mix(in srgb, var(--nx-ops-accent) 12%, white);
    color: var(--nx-ops-accent);
}

.nx-ops-card--amber { --nx-ops-accent: #f59e0b; }
.nx-ops-card--indigo { --nx-ops-accent: #4f46e5; }
.nx-ops-card--cyan { --nx-ops-accent: #06b6d4; }
.nx-ops-card--emerald { --nx-ops-accent: #10b981; }

.nx-ops-card__value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.nx-ops-card__label {
    margin-top: 0.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.nx-ops-card__hint {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.fi-wi-widget .fi-section,
.fi-wi-widget .fi-section-content-ctn {
    border-radius: 1.1rem;
}

.fi-wi-widget .fi-section-header-heading {
    font-size: 1rem;
    font-weight: 700;
}

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

@media (max-width: 768px) {
    .nx-dashboard-topbar,
    .nx-dashboard-topbar__left,
    .nx-dashboard-topbar__right {
        flex-direction: column;
        align-items: flex-start;
    }

    .nx-dashboard-topbar__divider {
        display: none;
    }

    .nx-dashboard-topbar__support {
        white-space: normal;
    }

    .nx-dashboard-profile__menu {
        right: auto;
        left: 0;
        width: min(18rem, calc(100vw - 2rem));
    }

    .nx-dashboard-filters__dates,
    .nx-ops-grid,
    .nx-dashboard-kpi-grid {
        grid-template-columns: 1fr;
    }

    .nx-date-range {
        width: 100%;
    }

    .nx-dashboard-sales-source {
        width: 100%;
    }

    .nx-dashboard-sales-source button {
        flex: 1;
    }

    .nx-performance-chart-widget .nx-dashboard-sales-source {
        width: auto;
    }

    .nx-performance-chart-widget .nx-dashboard-sales-source button {
        flex: none;
    }

    .nx-date-range__panel {
        width: min(100vw - 1.5rem, 44rem);
    }

    .nx-date-range__panel-inner {
        grid-template-columns: 1fr;
    }

    .nx-date-range__presets {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

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

.nx-dashboard-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.nx-dashboard-loader-gif {
    width: 8%;
    min-width: 64px;
    max-width: 120px;
}

.nx-login-log__time {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nx-login-log__outlet {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgb(100, 116, 139);
}

.nx-login-log__user {
    font-size: 0.92rem;
    font-weight: 700;
    color: rgb(15, 23, 42);
}

.nx-login-log__timestamp {
    font-size: 0.82rem;
    color: rgb(100, 116, 139);
}

.dark .nx-login-log__outlet,
.dark .nx-login-log__timestamp {
    color: rgb(148, 163, 184);
}

.dark .nx-login-log__user {
    color: rgb(248, 250, 252);
}

.nx-login-log-widget__filter {
    width: min(100%, 16rem);
}

.nx-login-log-location {
    position: relative;
    width: 100%;
}

.nx-login-log-location__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.55rem;
    background: #fff;
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nx-login-log-location__trigger:hover,
.nx-login-log-location__trigger:focus-visible {
    border-color: rgb(58, 53, 110);
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 53, 110, 0.12);
}

.nx-login-log-location__trigger-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.nx-login-log-location__trigger-icon {
    flex-shrink: 0;
    color: #64748b;
}

.nx-login-log-location__panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 40;
    width: min(22rem, calc(100vw - 2rem));
    padding: 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.nx-login-log-location__search-wrap {
    position: relative;
    margin-bottom: 0.45rem;
}

.nx-login-log-location__search-icon {
    position: absolute;
    top: 50%;
    left: 0.7rem;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.nx-login-log-location__search {
    width: 100%;
    padding: 0.5rem 0.7rem 0.5rem 2rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.55rem;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.84rem;
    outline: none;
}

.nx-login-log-location__search:focus {
    border-color: rgb(58, 53, 110);
    background: #fff;
}

.nx-login-log-location__options {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-height: 14rem;
    overflow-y: auto;
}

.nx-login-log-location__option {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.nx-login-log-location__option:hover,
.nx-login-log-location__option.is-active {
    background: #eef2ff;
    color: rgb(58, 53, 110);
}

.nx-login-log-location__empty {
    padding: 0.65rem;
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
}

.nx-login-log-widget__filter .fi-input-wrp {
    min-height: 2.35rem;
}

.nx-login-log-widget__table .fi-ta-ctn {
    border: none;
    box-shadow: none;
    background: transparent;
}

.nx-login-log-widget__table .fi-ta-header,
.nx-login-log-widget__table .fi-ta-filters,
.nx-login-log-widget .fi-ta-filters,
.nx-login-log-widget .fi-ta-header {
    display: none;
}

.nx-login-log-widget__table .fi-ta-content {
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.nx-login-log-widget__table .fi-ta-content-ctn {
    max-height: 20rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.nx-login-log-widget__table .fi-ta-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgb(249, 250, 251);
}

.dark .nx-login-log-widget__table .fi-ta-table thead th {
    background: rgba(255, 255, 255, 0.05);
}

.nx-login-log-widget .fi-pagination {
    display: none;
}

@media (max-width: 768px) {
    .nx-login-log-widget__filter {
        width: 100%;
    }

    .nx-login-log-widget .fi-section-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nx-login-log-widget .fi-section-header-after-ctn {
        width: 100%;
    }
}

/* Item Version History slide-over header */
.fi-modal-window.nx-item-vh-modal > .fi-modal-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1rem !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.fi-modal-window.nx-item-vh-modal > .fi-modal-header > div {
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    flex: 1 1 auto;
}

.fi-modal-window.nx-item-vh-modal .fi-modal-heading {
    margin: 0 !important;
    padding-right: 2rem !important;
    font-size: 0.95rem !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

.fi-modal-window.nx-item-vh-modal .fi-modal-description {
    display: none !important;
}

.fi-modal-window.nx-item-vh-modal .fi-modal-close-btn {
    top: 0.55rem !important;
    inset-inline-end: 0.65rem !important;
}

.fi-modal-window.nx-item-vh-modal > .fi-modal-content {
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
}
