/* Full-width dashboard content + responsive filters/tables */

/* Theme palettes used by dashboard cards â€” semantic, high-contrast */
:root,
[data-skin="blue"] {
    --pms-hero-1: #0f766e;
    --pms-hero-2: #c2410c;
    --pms-hero-3: #1e40af;
    --pms-hero-4: #0f172a;
    --pms-stat-icon: #0f766e;
    --pms-stat-properties: #1d4ed8;
    --pms-stat-units: #0f766e;
    --pms-stat-vacant: #b45309;
    --pms-stat-ready: #15803d;
    --pms-theme: #0971fe;
    --pms-theme-2: #0167f2;
}
[data-skin="green"] {
    --pms-hero-1: #047857;
    --pms-hero-2: #c2410c;
    --pms-hero-3: #115e59;
    --pms-hero-4: #14532d;
    --pms-stat-icon: #047857;
    --pms-stat-properties: #0f766e;
    --pms-stat-units: #0d9488;
    --pms-stat-vacant: #b45309;
    --pms-stat-ready: #15803d;
    --pms-theme: #0fac81;
    --pms-theme-2: #0c8f6b;
}
[data-skin="purple"] {
    --pms-hero-1: #5b21b6;
    --pms-hero-2: #c2410c;
    --pms-hero-3: #6d28d9;
    --pms-hero-4: #4c1d95;
    --pms-stat-icon: #6d28d9;
    --pms-stat-properties: #5b21b6;
    --pms-stat-units: #7c3aed;
    --pms-stat-vacant: #b45309;
    --pms-stat-ready: #15803d;
    --pms-theme: #854fff;
    --pms-theme-2: #6f3de0;
}
[data-skin="red"] {
    --pms-hero-1: #9f1239;
    --pms-hero-2: #c2410c;
    --pms-hero-3: #7f1d1d;
    --pms-hero-4: #1e293b;
    --pms-stat-icon: #be123c;
    --pms-stat-properties: #9f1239;
    --pms-stat-units: #c2410c;
    --pms-stat-vacant: #b45309;
    --pms-stat-ready: #15803d;
    --pms-theme: #e14954;
    --pms-theme-2: #c93b46;
}
[data-skin="egyptian"] {
    --pms-hero-1: #1e3a5f;
    --pms-hero-2: #c2410c;
    --pms-hero-3: #1d4ed8;
    --pms-hero-4: #14532d;
    --pms-stat-icon: #1e3a5f;
    --pms-stat-properties: #1e40af;
    --pms-stat-units: #2563eb;
    --pms-stat-vacant: #c2410c;
    --pms-stat-ready: #15803d;
    --pms-theme: #2263b3;
    --pms-theme-2: #1b5194;
}
[data-skin="kwakodi"] {
    --pms-hero-1: #5d4037;
    --pms-hero-2: #c2410c;
    --pms-hero-3: #3e2723;
    --pms-hero-4: #14532d;
    --pms-stat-icon: #5d4037;
    --pms-stat-properties: #6d4c41;
    --pms-stat-units: #8d6e63;
    --pms-stat-vacant: #c2410c;
    --pms-stat-ready: #15803d;
    --pms-theme: #6F4E37;
    --pms-theme-2: #5a3e2c;
}

a, button, [role="button"], .btn, select, summary, label[for],
input[type="submit"], input[type="button"], input[type="reset"],
input[type="file"], input[type="checkbox"], input[type="radio"],
.nk-menu-link, .dropdown-item, .page-link, .nav-link,
.pms-style-preset, .pms-preset-card {
    cursor: pointer;
}

.has-sidebar .nk-wrap,
.nk-content,
.nk-content > .container-fluid,
.nk-content-inner,
.nk-content-body,
.nk-block {
    width: 100%;
    max-width: 100%;
}

/* System-wide: use more of the screen (less left/right gap) */
.nk-content,
.nk-content.nk-content-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.nk-content > .container-fluid,
.container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
    max-width: 100% !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    .nk-content,
    .nk-content.nk-content-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .nk-content > .container-fluid,
    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

@media (min-width: 1200px) {
    .nk-content,
    .nk-content.nk-content-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (min-width: 1660px) {
    .nk-content,
    .nk-content.nk-content-fluid {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }
}

.nk-block > .card,
.nk-block > .card-preview,
.card.card-stretch {
    width: 100%;
    max-width: 100%;
}

.nk-block .card.card-stretch {
    margin-left: 0;
    margin-right: 0;
}

.card-inner,
.card-inner-group {
    width: 100%;
}

/* Demo mode: /admin/settings is view-only */
.pms-demo-settings-ro .pms-settings-readonly input:not([type="hidden"]),
.pms-demo-settings-ro .pms-settings-readonly select,
.pms-demo-settings-ro .pms-settings-readonly textarea,
.pms-demo-settings-ro .pms-settings-readonly .form-control,
.pms-demo-settings-ro .pms-settings-readonly .custom-control,
.pms-demo-settings-ro .pms-settings-readonly .ts-wrapper {
    pointer-events: none !important;
    user-select: none;
    caret-color: transparent;
}

.pms-demo-settings-ro .pms-settings-readonly button:not(.toggle),
.pms-demo-settings-ro .pms-settings-readonly .btn:not(.toggle),
.pms-demo-settings-ro .pms-settings-readonly .pms-preset-card,
.pms-demo-settings-ro .pms-settings-readonly [wire\:click],
.pms-demo-settings-ro .pms-settings-readonly input[type="submit"],
.pms-demo-settings-ro .pms-settings-readonly input[type="button"],
.pms-demo-settings-ro .pms-settings-readonly input[type="file"] {
    pointer-events: none !important;
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

.pms-demo-settings-ro .pms-settings-readonly .card-aside,
.pms-demo-settings-ro .pms-settings-readonly .card-aside a,
.pms-demo-settings-ro .pms-settings-readonly .link-list-menu a,
.pms-demo-settings-ro .pms-settings-readonly .toggle {
    pointer-events: auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
    user-select: auto;
}

/* Stretching toolbar used on reports and list filters */
/* ===== PMS Toolbar: full-width responsive filters (reports + list pages) ===== */
.pms-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 0;
    overflow: visible;
}

.pms-toolbar__filters,
.pms-toolbar__field,
.pms-toolbar__actions,
.nk-block > .card.card-stretch,
.nk-block > .card.card-stretch > .card-inner-group,
.nk-block > .card.card-stretch > .card-inner-group > .card-inner {
    overflow: visible;
}

.pms-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1 1 0;
    min-width: 0;
}

.pms-toolbar__field {
    flex: 1 1 0;
    min-width: min(100%, 160px);
}

.pms-toolbar__field > div,
.pms-toolbar__field .form-control-wrap,
.pms-toolbar__field .form-select,
.pms-toolbar__field .form-control,
.pms-toolbar__field .ts-wrapper,
.pms-toolbar__field .period-picker,
.pms-toolbar__field select {
    width: 100%;
    max-width: 100%;
}

.pms-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 0 0 auto;
    align-items: center;
    margin-left: 0;
}

.pms-toolbar__actions .btn {
    white-space: nowrap;
}

.pms-action-btn {
    display: contents;
}

/* Flat toolbars (expenses / vouchers / sms logs) */
.pms-toolbar > .form-group,
.pms-toolbar > .form-control-wrap,
.pms-toolbar > .pms-toolbar__search,
.pms-toolbar > .pms-toolbar__length {
    flex: 1 1 0;
    min-width: min(100%, 160px);
    margin-bottom: 0;
}

.pms-toolbar__length {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.pms-toolbar__length .form-label {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2;
    flex: 0 0 auto;
}

.pms-toolbar__length .form-control-select {
    position: relative;
    width: auto !important;
    min-width: 4.75rem;
    margin: 0 !important;
    flex: 0 0 auto;
}

.pms-toolbar__length .form-control-select .form-control,
.pms-toolbar__length select.form-control {
    width: 4.75rem !important;
    min-width: 4.75rem;
    margin-bottom: 0 !important;
}

.pms-toolbar .form-group,
.pms-toolbar .form-control-wrap,
.pms-toolbar .form-control-select {
    width: 100%;
    margin-bottom: 0;
}

.pms-toolbar .form-control,
.pms-toolbar select.form-control,
.pms-toolbar .form-control-select > .form-control,
.pms-toolbar .form-select {
    width: 100%;
}

.pms-toolbar__search {
    min-width: min(100%, 160px);
}

/* Report filter bars: stretch the date/period field across the card */
.pms-report-filter {
    width: 100%;
}

.pms-report-filter .pms-toolbar__filters {
    flex: 1 1 auto;
    min-width: 0;
}

.pms-report-filter .pms-toolbar__field {
    flex: 1 1 0;
    min-width: min(100%, 200px);
    max-width: 100%;
}

.pms-report-filter .pms-toolbar__field .form-label {
    margin-bottom: 0.35rem;
}

.pms-report-filter .period-picker,
.pms-report-filter .date-picker {
    min-height: 2.5rem;
}

@media (min-width: 992px) {
    .pms-toolbar--3 > .form-group,
    .pms-toolbar--3 > .form-control-wrap,
    .pms-toolbar--3 > .pms-toolbar__search {
        flex: 1 1 calc((100% - 1.5rem) / 3);
    }

    .pms-toolbar--4 > .form-group,
    .pms-toolbar--4 > .form-control-wrap,
    .pms-toolbar--4 > .pms-toolbar__search {
        flex: 1 1 calc((100% - 2.25rem) / 4);
    }

    .pms-toolbar--sms {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: center;
    }

    .pms-toolbar--sms > .form-group,
    .pms-toolbar--sms > .form-control-wrap,
    .pms-toolbar--sms > .pms-toolbar__search {
        flex: 1 1 0;
        width: auto !important;
        min-width: 0;
        max-width: none;
    }

    .pms-toolbar--sms > .pms-toolbar__length {
        flex: 0 0 auto;
        width: auto !important;
        min-width: 0;
        align-self: center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .pms-toolbar--sms {
        flex-wrap: wrap;
    }

    .pms-toolbar--sms > .form-control-wrap,
    .pms-toolbar--sms > .form-group,
    .pms-toolbar--sms > .pms-toolbar__search {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: min(100%, 140px);
    }

    .pms-toolbar--sms > .pms-toolbar__length {
        flex: 0 0 auto;
    }
}

@media (max-width: 767.98px) {
    .pms-toolbar,
    .pms-toolbar--3,
    .pms-toolbar--4 {
        flex-direction: column;
        align-items: stretch;
    }

    .pms-toolbar__filters,
    .pms-toolbar__field,
    .pms-toolbar__actions,
    .pms-toolbar > .form-group,
    .pms-toolbar > .form-control-wrap,
    .pms-toolbar > .pms-toolbar__search {
        width: 100%;
        flex: 1 1 100%;
        min-width: 0;
    }

    .pms-toolbar--sms {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .pms-toolbar--sms > .form-control-wrap,
    .pms-toolbar--sms > .form-group,
    .pms-toolbar--sms > .pms-toolbar__search,
    .pms-toolbar--sms > .pms-toolbar__length {
        width: auto;
        flex: 1 1 calc(50% - 0.4rem);
        min-width: min(100%, 140px);
    }

    .pms-toolbar__actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .nk-block-head .nk-block-between,
    .nk-block-head-sm .nk-block-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .nk-block-head .nk-block-head-content:last-child {
        width: 100%;
    }

    .toggle-expand-content {
        width: 100%;
    }

    .nk-block-tools {
        justify-content: flex-start;
    }
}

/* List-page filter rows stack on phones */
@media (max-width: 767.98px) {
    .card-inner > .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.table-responsive {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

div.dataTables_wrapper {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

div.dataTables_wrapper > div.datatable-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Keep horizontal scroll available so wide nowrap tables are never clipped */
div.dataTables_wrapper > div.datatable-wrap:not(.is-overflowing),
.table-responsive:not(.is-overflowing) {
    overflow-x: auto;
}

div.dataTables_wrapper .dropdown-menu,
.table-responsive .dropdown-menu,
body > .dropdown-menu.pms-dropdown-portal {
    z-index: 20000;
    pointer-events: auto !important;
}

body > .dropdown-menu.pms-dropdown-portal,
body > .dropdown-menu.pms-dropdown-portal a,
body > .dropdown-menu.pms-dropdown-portal li {
    pointer-events: auto !important;
}

.table-responsive > .table,
div.dataTables_wrapper table {
    width: 100% !important;
    margin-bottom: 0;
}

div.dataTables_wrapper.dt-is-empty > div.datatable-wrap,
div.dataTables_wrapper:has(td.dataTables_empty) > div.datatable-wrap {
    overflow: visible !important;
}

div.dataTables_wrapper.dt-is-empty .dataTables_paginate,
div.dataTables_wrapper.dt-is-empty .dataTables_info,
div.dataTables_wrapper:has(td.dataTables_empty) .dataTables_paginate,
div.dataTables_wrapper:has(td.dataTables_empty) .dataTables_info {
    display: none !important;
}

div.dataTables_wrapper.dt-is-empty table.dataTable.nowrap th,
div.dataTables_wrapper.dt-is-empty table.dataTable.nowrap td,
div.dataTables_wrapper:has(td.dataTables_empty) table.dataTable.nowrap th,
div.dataTables_wrapper:has(td.dataTables_empty) table.dataTable.nowrap td {
    white-space: normal;
}

.card-inner:has(> table.table),
.nk-block:has(> table.table),
.card:has(> .table) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.card-inner:has(> table.table):has(td.dataTables_empty),
.nk-block:has(> table.table):has(td.dataTables_empty) {
    overflow: visible;
}

.select2-container {
    width: 100% !important;
}

.ts-wrapper,
.ts-control {
    width: 100%;
}

.ts-dropdown,
body > .ts-dropdown {
    z-index: 20050 !important;
}

/* Broker / commission (and other) modals: let TomSelect menus paint above the dialog */
.modal .modal-content {
    overflow: visible;
}
.modal .ts-wrapper {
    position: relative;
    z-index: 2;
}

.daterangepicker {
    z-index: 20050 !important;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
    padding: 0;
    overflow: hidden;
    max-width: calc(100vw - 24px);
}

.daterangepicker .ranges {
    min-width: 140px;
    padding: 0.65rem 0.5rem;
    background: #f7f9fc;
    border-right: 1px solid #e5e9f2;
}

.daterangepicker .ranges ul {
    margin: 0;
    padding: 0;
    width: 100%;
}

.daterangepicker .ranges li {
    border-radius: 8px;
    margin: 0.15rem 0;
    padding: 0.45rem 0.7rem;
    font-size: 12px;
    font-weight: 600;
    color: #526484;
}

.daterangepicker .ranges li:hover,
.daterangepicker .ranges li.active {
    background: color-mix(in srgb, var(--pms-theme, #6576ff) 14%, #fff);
    color: var(--pms-theme, #6576ff);
    border: 0;
}

.daterangepicker .drp-calendar {
    max-width: 278px;
}

.daterangepicker .drp-buttons {
    padding: 0.65rem 0.85rem;
    border-top: 1px solid #e5e9f2;
    background: #fff;
}

.daterangepicker .drp-selected {
    font-size: 12px;
    font-weight: 600;
    color: #526484;
}

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker td.in-range {
    background-color: color-mix(in srgb, var(--pms-theme, #6576ff) 16%, #fff);
    color: #12263a;
    border-radius: 6px;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date,
.daterangepicker td.start-date.end-date {
    background-color: var(--pms-theme, #6576ff);
    color: #fff;
}

.datepicker,
.datepicker-dropdown {
    z-index: 2050 !important;
    background: #fff !important;
    color: #364a63 !important;
}

.datepicker table tr th,
.datepicker table tr td,
.datepicker table tr td.day,
.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot th {
    color: #364a63 !important;
    text-shadow: none !important;
}

.datepicker table tr td.old,
.datepicker table tr td.new {
    color: #b7c2d0 !important;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.active,
.datepicker table tr td span.active {
    background-color: var(--pms-theme, #6576ff) !important;
    background-image: none !important;
    color: #fff !important;
    text-shadow: none !important;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover {
    background-color: #e3e7fe !important;
    color: #6576ff !important;
}

.datepicker table tr td.today.active {
    background-color: var(--pms-theme, #6576ff) !important;
    color: #fff !important;
}

@media (max-width: 767.98px) {
    .daterangepicker {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: calc(100vw - 24px);
    }

    .daterangepicker .ranges {
        float: none;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e5e9f2;
    }

    .daterangepicker .ranges ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .daterangepicker .ranges li {
        flex: 1 1 auto;
        text-align: center;
    }

    .daterangepicker .drp-calendar {
        max-width: 100%;
        float: none !important;
    }

    .nk-sidebar-brand .logo-img {
        max-height: 36px;
    }
}

.input-daterange.input-group {
    flex-wrap: wrap;
}

@media (max-width: 575.98px) {
    .input-daterange.input-group > .form-control {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Softer dashboard surfaces */
.nk-body:not(.dark-mode) .nk-content {
    background: #f4f6fb;
}

.nk-content .card.card-bordered,
.nk-content .card.card-preview {
    border-radius: 14px;
    border-color: rgba(16, 24, 40, 0.08);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 24px rgba(16, 24, 40, 0.04);
}

.nk-content .card .card-inner + .card-inner {
    border-top-color: rgba(16, 24, 40, 0.06);
}

.nk-content .form-control,
.nk-content .form-select,
.nk-content .btn {
    border-radius: 8px;
}

.nk-header.nk-header-fixed {
    box-shadow: 0 1px 0 rgba(16, 24, 40, 0.04);
}

.nk-block-title,
.title.nk-block-title {
    letter-spacing: -0.02em;
}

.dark-mode .nk-content .card.card-bordered,
.dark-mode .nk-content .card.card-preview {
    box-shadow: none;
}

/* Preferred style switcher */
.pms-style-menu {
    min-width: 340px;
    max-width: 380px;
    padding-bottom: 0.5rem;
}

.pms-style-menu .dropdown-inner {
    padding: 0.85rem 1rem 0.35rem;
}

.pms-style-presets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 0.5rem 0 0.75rem;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.pms-style-preset,
.pms-preset-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    text-align: left;
    border: 1px solid #e5e9f2;
    background: #fff;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
    color: inherit;
}

.pms-style-preset__name,
.pms-preset-card__name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.pms-style-preset__hint,
.pms-preset-card__hint {
    font-size: 11px;
    color: #8091a7;
    line-height: 1.35;
}

.pms-style-preset.is-active,
.pms-preset-card.is-active {
    border-color: #6576ff;
    box-shadow: 0 0 0 3px rgba(101, 118, 255, 0.16);
}

.pms-style-skins {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.5rem 0 0.75rem;
}

.pms-style-skin,
.pms-preset-card__swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #c5d1e2;
    padding: 0;
}

.pms-style-skin.is-active {
    box-shadow: 0 0 0 2px #6576ff;
}

.pms-style-skin.skin-blue,
.pms-preset-card__swatch.skin-blue,
.nk-opt-item-bg > span.skin-blue { background: #0971fe; }
.pms-style-skin.skin-green,
.pms-preset-card__swatch.skin-green,
.nk-opt-item-bg > span.skin-green { background: #0fac81; }
.pms-style-skin.skin-purple,
.pms-preset-card__swatch.skin-purple,
.nk-opt-item-bg > span.skin-purple { background: #854fff; }
.pms-style-skin.skin-red,
.pms-preset-card__swatch.skin-red,
.nk-opt-item-bg > span.skin-red { background: #ee3148; }
.pms-style-skin.skin-egyptian,
.pms-preset-card__swatch.skin-egyptian,
.nk-opt-item-bg > span.skin-egyptian { background: #2e62b9; }
.pms-style-skin.skin-kwakodi,
.pms-preset-card__swatch.skin-kwakodi,
.nk-opt-item-bg > span.skin-kwakodi { background: #6F4E37; }

.pms-appearance-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pms-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
}

.pms-preset-card {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem;
}

.pms-preset-card__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dark-mode .pms-style-preset,
.dark-mode .pms-preset-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
}

.pms-style-preset,
.pms-preset-card,
.pms-style-skin,
.pms-style-link,
.pms-appearance-form .nk-opt-item {
    cursor: pointer;
}

.pms-style-link {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    background: transparent;
    padding: 0.5rem 1.25rem;
    color: inherit;
    text-align: left;
    text-decoration: none !important;
}

.pms-style-menu .link-list {
    margin: 0;
    padding: 0.35rem 0 0.5rem;
}

.pms-style-menu .link-list a.pms-style-link,
.pms-style-menu .link-list button.pms-style-link {
    padding: 0.55rem 1.25rem;
}

.pms-style-menu__footer {
    border-top: 1px solid #e5e9f2;
    margin-top: 0.15rem;
}

.pms-style-menu .badge,
.pms-style-menu .pms-notify-badge,
.pms-style-menu .icon-status:after {
    display: none !important;
}

.dark-mode .pms-style-menu__footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.pms-style-chrome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin: 0.5rem 0 0.75rem;
}

.pms-chrome-btn {
    border: 1px solid #e5e9f2;
    background: #fff;
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
    font-size: 11px;
    font-weight: 600;
    color: inherit;
}

.pms-chrome-btn.is-active {
    border-color: #6576ff;
    box-shadow: 0 0 0 2px rgba(101, 118, 255, 0.16);
}

.dark-mode .pms-chrome-btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
}

.pms-appearance-form .nk-opt-item {
    border: 0;
    background: transparent;
    padding: 0;
}

.pms-dash {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pms-ribbon {
    display: inline-flex;
    align-items: center;
    margin: 1rem 0 0 1rem;
    padding: 0.4rem 1rem 0.4rem 0.85rem;
    border-radius: 999px 6px 6px 999px;
    background: var(--pms-theme);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.pms-ribbon--accent {
    background: var(--pms-hero-2);
}

.pms-panel {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    overflow: visible;
}

.pms-dash-top {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    grid-template-areas:
        "revenue props"
        "revenue days";
    gap: 0.85rem;
    align-items: stretch;
}

.pms-dash-top__revenue { grid-area: revenue; }
.pms-dash-top__props { grid-area: props; }
.pms-dash-top__days { grid-area: days; }

.pms-dash-top > .pms-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.pms-dash-top__revenue {
    align-self: stretch;
}

.pms-dash-top__revenue .pms-panel__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.pms-panel__body {
    padding: 0.9rem 1.1rem 1.25rem;
    flex: 1 1 auto;
}

.pms-panel__body--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: stretch;
}

.pms-rev-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(170px, 0.9fr);
    gap: 1rem;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.pms-rev-chart {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 220px;
}

.pms-rev-chart canvas,
canvas.pms-revenue-chart {
    width: 100% !important;
    height: 220px !important;
}

.pms-rev-note {
    margin: 0.55rem 0 0;
    font-size: 12px;
    color: #8094ae;
}

.pms-rev-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
}

.pms-rev-metrics .pms-metric-tile {
    flex: 1 1 0;
    justify-content: center;
}

.pms-rev-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.45rem;
    flex: 1 1 auto;
    height: auto;
    min-height: 180px;
    padding: 0.35rem 0.15rem 0;
}

.pms-rev-bars__group {
    display: flex;
    align-items: flex-end;
    gap: 0.18rem;
    flex: 1;
    height: 100%;
}

.pms-rev-bars__col {
    display: block;
    width: 100%;
    border-radius: 4px 4px 0 0;
    min-height: 8%;
}

.pms-rev-bars__col--in { background: var(--pms-theme); }
.pms-rev-bars__col--out { background: var(--pms-hero-2); opacity: 0.85; }

.pms-rev-legend,
.pms-segbar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 12px;
    color: #526484;
}

.pms-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.pms-dot--theme { background: var(--pms-theme); }
.pms-dot--accent { background: var(--pms-hero-2); }
.pms-dot--muted { background: #9cb0cb; }

.pms-metric-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-height: 96px;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--pms-theme) 8%, #fff);
    text-decoration: none !important;
    color: inherit !important;
}

.pms-metric-tile--soft {
    background: color-mix(in srgb, var(--pms-hero-2) 10%, #fff);
}

.pms-metric-tile__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8094ae;
}

.pms-metric-tile__value {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #12263a;
    line-height: 1.3;
    word-break: break-word;
}

.pms-metric-tile__hint {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #8094ae;
}

.pms-metric-tile__hint.is-up { color: #15803d; font-weight: 600; }
.pms-metric-tile__hint.is-down { color: #c2410c; font-weight: 600; }

.pms-big-number {
    font-size: 1.85rem;
    font-weight: 700;
    color: #12263a;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.pms-big-number small {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8094ae;
    margin-left: 0.25rem;
}

.pms-big-number--accent { color: var(--pms-hero-2); }

.pms-segbar {
    display: flex;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.pms-segbar > span { display: block; height: 100%; }
.pms-segbar__a { background: var(--pms-theme); }
.pms-segbar__b { background: var(--pms-hero-2); }
.pms-segbar__c { background: #9cb0cb; }

.pms-mini-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    min-height: 92px;
    padding: 0.95rem 0.9rem;
    border-radius: 10px;
    background: color-mix(in srgb, var(--pms-theme) 8%, #fff);
    text-decoration: none !important;
    color: inherit !important;
}

.pms-mini-stat--warn {
    background: color-mix(in srgb, var(--pms-hero-2) 10%, #fff);
}

.pms-mini-stat strong {
    font-size: 1.05rem;
    line-height: 1.35;
    color: #12263a;
    word-break: break-word;
}

.pms-mini-stat span {
    font-size: 12px;
    line-height: 1.4;
    color: #8094ae;
}

@media (max-width: 1199.98px) {
    .pms-dash-top {
        grid-template-columns: 1fr;
        grid-template-areas:
            "revenue"
            "props"
            "days";
    }
}

@media (max-width: 767.98px) {
    .pms-rev-grid {
        grid-template-columns: 1fr;
    }

    .pms-panel__body--split {
        grid-template-columns: 1fr;
    }

    .pms-rev-bars {
        flex: none;
        height: 140px;
        min-height: 140px;
    }

    .pms-rev-metrics .pms-metric-tile {
        flex: none;
    }
}
.pms-gauge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 100%;
    padding: 1rem 0.75rem;
    border: 1px solid #e5e9f2;
    border-radius: 14px;
    background: #fff;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

a.pms-gauge-card.is-clickable,
a.pms-panel.is-clickable {
    cursor: pointer;
}

a.pms-gauge-card.is-clickable:hover {
    border-color: color-mix(in srgb, var(--pms-theme, #6576ff) 45%, #e5e9f2);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

a.pms-panel.is-clickable {
    color: inherit;
    text-decoration: none;
}

a.pms-panel.is-clickable:hover {
    border-color: color-mix(in srgb, var(--pms-theme, #6576ff) 40%, #e5e9f2);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.pms-gauge {
    --pct: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: conic-gradient(var(--gauge, var(--pms-theme)) calc(var(--pct) * 1%), #e8edf5 0);
    display: grid;
    place-items: center;
}

.pms-gauge__hole {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    color: var(--gauge, var(--pms-theme));
    font-size: 1.15rem;
}

.pms-gauge-card--tenants {
    --gauge: #816bff;
    background: #f3f0ff;
    border-color: #d7d0ff;
}
.pms-gauge-card--units {
    --gauge: #09c2de;
    background: #e8f9fd;
    border-color: #b6ebf5;
}
.pms-gauge-card--occupied {
    --gauge: #1ee0ac;
    background: #e8faf4;
    border-color: #b7f0dc;
}
.pms-gauge-card--vacant {
    --gauge: #f4bd0e;
    background: #fff8e8;
    border-color: #f6e3a3;
}
.pms-gauge-card--maintenance {
    --gauge: #8094ae;
    background: #f1f4f8;
    border-color: #d5dde8;
}
.pms-gauge-card--tickets {
    --gauge: #e85347;
    background: #fff1ef;
    border-color: #f5c4bf;
}

.pms-gauge-card--tenants .pms-gauge,
.pms-gauge-card--units .pms-gauge,
.pms-gauge-card--occupied .pms-gauge,
.pms-gauge-card--vacant .pms-gauge,
.pms-gauge-card--maintenance .pms-gauge,
.pms-gauge-card--tickets .pms-gauge {
    background: conic-gradient(var(--gauge) calc(var(--pct) * 1%), #e8edf5 0);
}

.pms-gauge-card--tenants .pms-gauge__hole,
.pms-gauge-card--units .pms-gauge__hole,
.pms-gauge-card--occupied .pms-gauge__hole,
.pms-gauge-card--vacant .pms-gauge__hole,
.pms-gauge-card--maintenance .pms-gauge__hole,
.pms-gauge-card--tickets .pms-gauge__hole {
    background: #fff;
    color: var(--gauge);
    box-shadow: none;
}

.pms-gauge-card--tenants .pms-gauge-card__value,
.pms-gauge-card--units .pms-gauge-card__value,
.pms-gauge-card--occupied .pms-gauge-card__value,
.pms-gauge-card--vacant .pms-gauge-card__value,
.pms-gauge-card--maintenance .pms-gauge-card__value,
.pms-gauge-card--tickets .pms-gauge-card__value {
    color: var(--gauge) !important;
}

.pms-gauge-card--tenants .pms-gauge-card__label,
.pms-gauge-card--units .pms-gauge-card__label,
.pms-gauge-card--occupied .pms-gauge-card__label,
.pms-gauge-card--vacant .pms-gauge-card__label,
.pms-gauge-card--maintenance .pms-gauge-card__label,
.pms-gauge-card--tickets .pms-gauge-card__label {
    color: #526484 !important;
    font-weight: 600;
}

a.pms-gauge-card--units.is-clickable:hover,
a.pms-gauge-card--occupied.is-clickable:hover,
a.pms-gauge-card--vacant.is-clickable:hover,
a.pms-gauge-card--maintenance.is-clickable:hover {
    filter: none;
    border-color: var(--gauge);
    transform: translateY(-1px);
}

.pms-gauge-card__value {
    font-size: 1.35rem;
    font-weight: 700;
    color: #12263a;
    line-height: 1;
}

.pms-gauge-card__label {
    font-size: 12px;
    font-weight: 600;
    color: #8094ae;
    text-align: center;
}

.pms-donut {
    --a: 0%;
    --b: 0%;
    width: 120px;
    height: 120px;
    margin: 0.25rem auto 0;
    border-radius: 50%;
    background: conic-gradient(
        var(--pms-hero-2) 0 var(--a),
        var(--pms-theme) var(--a) var(--b),
        #9cb0cb var(--b) 100%
    );
    display: grid;
    place-items: center;
}

.pms-donut > span {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: #12263a;
    line-height: 1.1;
}

.pms-donut small {
    font-size: 11px;
    font-weight: 600;
    color: #8094ae;
}

.pms-kv {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pms-kv li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px;
}

.pms-kv li:last-child { border-bottom: 0; }
.pms-kv span { color: #8094ae; }
.pms-kv strong { color: #12263a; }

.dark-mode .pms-panel,
.dark-mode .pms-gauge-card {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .pms-metric-tile__value,
.dark-mode .pms-big-number,
.dark-mode .pms-gauge-card__value,
.dark-mode .pms-mini-stat strong,
.dark-mode .pms-kv strong,
.dark-mode .pms-donut > span {
    color: #ebeef2;
}

.dark-mode .pms-gauge-card--tenants { background: color-mix(in srgb, #816bff 18%, #1c2b46); border-color: #816bff; }
.dark-mode .pms-gauge-card--units { background: color-mix(in srgb, #09c2de 18%, #1c2b46); border-color: #09c2de; }
.dark-mode .pms-gauge-card--occupied { background: color-mix(in srgb, #1ee0ac 18%, #1c2b46); border-color: #1ee0ac; }
.dark-mode .pms-gauge-card--vacant { background: color-mix(in srgb, #f4bd0e 18%, #1c2b46); border-color: #f4bd0e; }
.dark-mode .pms-gauge-card--maintenance { background: color-mix(in srgb, #8094ae 18%, #1c2b46); border-color: #8094ae; }
.dark-mode .pms-gauge-card--tickets { background: color-mix(in srgb, #e85347 18%, #1c2b46); border-color: #e85347; }

.dark-mode .pms-gauge-card--tenants .pms-gauge-card__value,
.dark-mode .pms-gauge-card--units .pms-gauge-card__value,
.dark-mode .pms-gauge-card--occupied .pms-gauge-card__value,
.dark-mode .pms-gauge-card--vacant .pms-gauge-card__value,
.dark-mode .pms-gauge-card--maintenance .pms-gauge-card__value,
.dark-mode .pms-gauge-card--tickets .pms-gauge-card__value {
    color: var(--gauge) !important;
}

.dark-mode .pms-gauge-card--tenants .pms-gauge-card__label,
.dark-mode .pms-gauge-card--units .pms-gauge-card__label,
.dark-mode .pms-gauge-card--occupied .pms-gauge-card__label,
.dark-mode .pms-gauge-card--vacant .pms-gauge-card__label,
.dark-mode .pms-gauge-card--maintenance .pms-gauge-card__label,
.dark-mode .pms-gauge-card--tickets .pms-gauge-card__label {
    color: #9cb0cb !important;
}

.dark-mode .pms-gauge-card--tenants .pms-gauge__hole,
.dark-mode .pms-gauge-card--units .pms-gauge__hole,
.dark-mode .pms-gauge-card--occupied .pms-gauge__hole,
.dark-mode .pms-gauge-card--vacant .pms-gauge__hole,
.dark-mode .pms-gauge-card--maintenance .pms-gauge__hole,
.dark-mode .pms-gauge-card--tickets .pms-gauge__hole {
    background: #1c2b46;
}

.dark-mode .pms-kv li {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 575.98px) {
    .pms-panel__body--split {
        grid-template-columns: 1fr;
    }

    .pms-rev-bars {
        flex: none;
        height: 110px;
        min-height: 110px;
    }
}

/* Legacy hero/stat kept for other pages if referenced */
.pms-hero-row > [class*="col-"],
.pms-stat-row > [class*="col-"] {
    display: flex;
}

.pms-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 132px;
    padding: 1.15rem 1.25rem 1.25rem;
    overflow: hidden;
    border-radius: 12px;
    color: #fff !important;
    text-decoration: none !important;
    border: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.pms-hero:hover,
.pms-hero:focus {
    color: #fff !important;
    filter: none;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.16);
}

.pms-hero--1 { background: var(--pms-hero-1); }
.pms-hero--2 { background: var(--pms-hero-2); }
.pms-hero--3 { background: var(--pms-hero-3); }
.pms-hero--4 { background: var(--pms-hero-4); }

.pms-hero__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.pms-hero__value {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.pms-hero__label {
    margin-top: 0.2rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 1;
    color: rgba(255, 255, 255, 0.92);
}

.pms-hero__hint {
    margin-top: 0.35rem;
    font-size: 12px;
    opacity: 1;
    color: rgba(255, 255, 255, 0.88);
}

.pms-hero__hint.is-up,
.pms-hero__hint.is-down {
    font-weight: 600;
}

.pms-hero__mark {
    position: absolute;
    right: 0.4rem;
    bottom: -0.35rem;
    font-size: 6.2rem;
    opacity: 0.18;
    line-height: 1;
    pointer-events: none;
}

.pms-hero__bar {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0.7rem;
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.28);
    overflow: hidden;
}

.pms-hero__bar span {
    display: block;
    height: 100%;
    background: #fff;
}

.pms-stat {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 88px;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    text-decoration: none !important;
    color: inherit;
    box-shadow: 0 8px 20px rgba(18, 28, 45, 0.05);
}

.pms-stat:hover,
.pms-stat:focus {
    color: inherit;
    border-color: color-mix(in srgb, var(--pms-stat-tone, var(--pms-stat-icon)) 35%, #eef2f7);
}

.pms-stat--properties { --pms-stat-tone: var(--pms-stat-properties); }
.pms-stat--units { --pms-stat-tone: var(--pms-stat-units); }
.pms-stat--vacant { --pms-stat-tone: var(--pms-stat-vacant); }
.pms-stat--ready { --pms-stat-tone: var(--pms-stat-ready); }

.pms-stat__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--pms-stat-tone, var(--pms-stat-icon));
    color: #fff;
}

.pms-stat__icon .icon {
    font-size: 1.15rem;
}

.pms-stat__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pms-stat__value {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #12263a;
}

.pms-stat__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8091a7;
}

.pms-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pms-row-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.4rem;
}

.pms-backup-restore {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) 200px auto;
    align-items: end;
    gap: 0.85rem 1rem;
}

.pms-backup-restore__field,
.pms-backup-restore__action {
    min-width: 0;
}

.pms-backup-restore .form-label {
    display: block;
    margin-bottom: 0.35rem;
}

.pms-backup-restore .form-control,
.pms-backup-restore .btn {
    width: 100%;
    height: 42px;
    min-height: 42px;
    margin: 0;
}

.pms-backup-restore input[type="file"] {
    padding-top: 0.42rem;
    padding-bottom: 0.42rem;
}

.pms-backup-restore .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 160px;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    white-space: nowrap;
}

.pms-backup-table td,
.pms-backup-table th {
    vertical-align: middle !important;
}

.pms-backup-actions-col {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}

.pms-backup-actions {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
}

.pms-backup-actions .btn,
.pms-backup-actions .btn-group > .btn {
    height: 34px;
    min-height: 34px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}

.pms-backup-actions form {
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.pms-backup-restore-menu {
    min-width: 240px;
    padding: 0.85rem;
}

.pms-backup-restore-menu .form-label {
    margin-bottom: 0.3rem;
}

.pms-backup-restore-menu .form-control {
    height: 36px;
    margin-bottom: 0.65rem;
}

.pms-backup-restore-menu .btn {
    width: 100%;
    height: 36px;
}

@media (max-width: 767.98px) {
    .pms-backup-restore {
        grid-template-columns: 1fr;
    }
    .pms-backup-restore .btn {
        width: 100%;
    }
    .pms-backup-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

.pms-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.pms-confirm-name {
    display: inline-block;
    margin: 0.75rem 0 0;
    padding: 0.45rem 0.7rem;
    max-width: 100%;
    border-radius: 8px;
    background: #f5f6fa;
    color: #12263a;
    font-weight: 700;
    font-size: 13px;
    word-break: break-all;
}

@media (max-width: 575.98px) {
    .pms-hero {
        min-height: 118px;
    }

    .pms-hero__value {
        font-size: 1.4rem;
    }

    .pms-hero__mark {
        font-size: 4.6rem;
    }

    .pms-quick .btn,
    .pms-row-actions .btn,
    .pms-row-actions .form-control {
        width: 100%;
    }
}

.dark-mode .pms-stat {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .pms-stat__value {
    color: #ebeef2;
}

.dark-mode .pms-confirm-name {
    background: #243656;
    color: #ebeef2;
}

.nk-tb-actions,
.nk-block-tools {
    flex-wrap: wrap;
}

/* Keep page-header actions top-right even when description is long */
.nk-block-head > .nk-block-between {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1rem;
}

.nk-block-head > .nk-block-between > .nk-block-head-content:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.nk-block-head > .nk-block-between > .nk-block-head-content:last-child:not(:only-child) {
    flex: 0 0 auto;
    margin-left: auto;
    width: auto !important;
    align-self: flex-start;
}

.nk-block-head .nk-block-des {
    max-width: 100%;
    width: 100%;
}

.nk-block-head .nk-block-des p {
    margin-bottom: 0.35rem;
    max-width: 100%;
    width: 100%;
}

.nk-block-head .nk-block-des p:last-child {
    margin-bottom: 0;
}

.nk-block-head .nk-block-des p.me-5 {
    margin-right: 0 !important;
}

.pms-table-wrap {
    width: 100%;
    max-width: 100%;
}

.table-responsive,
.pms-table-wrap,
.card-preview .nk-tb-list {
    max-width: 100%;
}

#sms-logs-table td.pms-sms-msg,
#sms-logs-table .pms-sms-msg {
    white-space: normal !important;
    min-width: 220px;
    max-width: 420px;
}
#sms-logs-table .pms-sms-msg__body {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.45;
}

@media (max-width: 767.98px) {
    .nk-block-between {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .nk-block-head > .nk-block-between {
        flex-direction: column;
        align-items: stretch;
    }

    .nk-block-head > .nk-block-between > .nk-block-head-content:last-child:not(:only-child) {
        width: 100% !important;
        margin-left: 0;
    }

    .nk-block-head-content .btn {
        white-space: nowrap;
    }

    .nk-tb-actions {
        justify-content: flex-start !important;
    }
}

.pms-log-attrs {
    min-width: 220px;
    white-space: normal;
    font-size: 12px;
    line-height: 1.45;
}

#activity-logs-table {
    width: 100% !important;
}

#activity-logs-table td.text-wrap {
    white-space: normal;
}

.pms-busy {
    position: fixed;
    inset: 0;
    z-index: 20050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 28, 45, 0.45);
    backdrop-filter: blur(2px);
}

.pms-busy[hidden] {
    display: none !important;
}

.pms-busy__card {
    background: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    min-width: 280px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 18px 48px rgba(18, 28, 45, 0.18);
}

.pms-busy__title {
    margin: 1rem 0 0.25rem;
    font-weight: 700;
}

.pms-busy__text {
    margin: 0;
    color: #8091a7;
    font-size: 13px;
}

.pms-busy-open {
    overflow: hidden;
}

.dark-mode .pms-busy__card {
    background: #1c2b46;
}

.alert-success.pms-alert-hide {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.pms-confirm-dialog {
    max-width: 420px;
    width: calc(100% - 24px);
    margin: 1.25rem auto;
}

.pms-confirm-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(18, 28, 45, 0.22);
}

.pms-confirm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.pms-confirm-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0.35rem auto 1rem;
}

.pms-confirm-icon .icon {
    font-size: 1.85rem;
}

.pms-confirm-icon--danger {
    background: rgba(232, 83, 71, 0.12);
    color: #e85347;
}

.pms-confirm-icon--warning {
    background: rgba(244, 189, 14, 0.16);
    color: #c9a000;
}

.pms-confirm-icon--info {
    background: rgba(101, 118, 255, 0.12);
    color: #6576ff;
}

.pms-confirm-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.pms-confirm-text {
    color: #8091a7;
    margin-bottom: 0;
}

.pms-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.pms-confirm-actions .btn {
    min-width: 118px;
}

#pms-confirm-modal {
    z-index: 20040;
}

#pms-confirm-modal,
#pms-confirm-modal .modal-dialog,
.pms-confirm-icon,
.pms-confirm-icon .icon {
    animation: none !important;
}

body.pms-confirm-open .modal-backdrop {
    z-index: 20035;
}

@media (max-width: 575.98px) {
    .pms-confirm-dialog {
        width: calc(100% - 16px);
        margin: 0.75rem auto;
    }

    .pms-confirm-actions {
        flex-direction: column-reverse;
    }

    .pms-confirm-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

.dark-mode .pms-confirm-content {
    background: #1c2b46;
}

.dark-mode .pms-confirm-text {
    color: #9eaecf;
}

/* DashLite table action menus use .drodown; keep them positioned like Bootstrap dropdowns */
.drodown {
    position: relative;
    display: inline-block;
}

.nk-tb-col-tools,
.nk-tb-col-tools .drodown,
.nk-tb-col-tools .dropdown {
    overflow: visible !important;
}

/* Type-to-search selects */
.ts-wrapper.form-select,
.ts-wrapper.form-control {
    padding: 0;
    background: none;
    border: 0;
    height: auto;
    min-height: 38px;
}
.ts-wrapper .ts-control {
    min-height: 38px;
    border: 1px solid #dbdfea;
    border-radius: 4px;
    padding: 6px 12px;
    background: #fff;
    box-shadow: none;
}
.ts-wrapper.focus .ts-control {
    border-color: var(--pms-stat-icon, #1b7a4a);
    box-shadow: 0 0 0 3px rgba(27, 122, 74, 0.12);
}
.ts-dropdown {
    z-index: 20050;
    border: 1px solid #dbdfea;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(18, 28, 45, 0.12);
}
.dark-mode .ts-wrapper .ts-control {
    background: #1c2b46;
    border-color: #2b3a55;
    color: #e0e8f5;
}
.dark-mode .ts-dropdown {
    background: #1c2b46;
    border-color: #2b3a55;
}

/* Record / edit / commission payment modal */
.pms-pay-dialog {
    max-width: 460px;
    width: calc(100% - 1.5rem);
    margin: 0.75rem auto;
}
.pms-pay-dialog.modal-dialog-scrollable {
    max-height: calc(100vh - 1.5rem);
}
.pms-pay-modal {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(18, 28, 45, 0.18);
    max-height: calc(100vh - 1.5rem);
    display: flex;
    flex-direction: column;
}
.pms-pay-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem 0.7rem;
    background: linear-gradient(135deg, var(--pms-theme), var(--pms-theme-2));
    color: #fff;
    flex-shrink: 0;
}
.pms-pay-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}
.pms-pay-meta {
    margin: 0.2rem 0 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
}
.pms-pay-close {
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pms-pay-close:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}
.pms-pay-body {
    padding: 0.85rem 1rem 0.35rem;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}
.pms-pay-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}
.pms-pay-chip {
    background: #f5f6fa;
    border-radius: 8px;
    border-left: 3px solid var(--pms-theme);
    padding: 0.45rem 0.55rem;
    min-width: 0;
}
.pms-pay-chip-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--pms-theme);
    margin-bottom: 0.1rem;
    line-height: 1.2;
}
.pms-pay-chip strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #364a63;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pms-pay-hint {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem !important;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #8091a7;
}
.pms-pay-hint:empty {
    display: none;
    margin: 0 !important;
}
.pms-pay-foot {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 1rem 0.85rem;
    flex-shrink: 0;
}
.pms-pay-modal .form-group {
    margin-bottom: 0;
}
.pms-pay-modal .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
}
.pms-pay-modal .form-control,
.pms-pay-modal .form-select {
    min-height: 2.15rem;
    font-size: 0.875rem;
    padding: 0.35rem 0.65rem;
}
.pms-pay-modal .input-group-lg > .form-control,
.pms-pay-modal .input-group-lg > .input-group-text,
.pms-pay-modal .input-group-lg > .form-select {
    min-height: 2.15rem;
    font-size: 0.875rem;
    padding: 0.35rem 0.65rem;
}
.pms-pay-modal .row.g-3 {
    --bs-gutter-x: 0.65rem;
    --bs-gutter-y: 0.65rem;
}
.pms-pay-modal .filepond--root {
    margin-bottom: 0;
}
.pms-pay-modal .input-group-text {
    background: #f5f6fa;
    border-color: #dbdfea;
    color: #526484;
    font-weight: 600;
    font-size: 0.8125rem;
}
.pms-pay-modal .btn {
    font-size: 0.8125rem;
    padding: 0.4rem 0.85rem;
}

@media (max-width: 767.98px) {
    .pms-pay-dialog {
        max-width: 420px;
        width: calc(100% - 1rem);
        margin: 0.5rem auto;
    }
    .pms-pay-chips {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pms-pay-chips .pms-pay-chip:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .pms-pay-dialog {
        max-width: none;
        width: calc(100% - 0.75rem);
        margin: 0.4rem auto;
        max-height: calc(100vh - 0.8rem);
    }
    .pms-pay-modal {
        max-height: calc(100vh - 0.8rem);
        border-radius: 10px;
    }
    .pms-pay-head,
    .pms-pay-body,
    .pms-pay-foot {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .pms-pay-chips {
        grid-template-columns: 1fr;
    }
    .pms-pay-chips .pms-pay-chip:last-child:nth-child(odd) {
        grid-column: auto;
    }
    .pms-pay-foot {
        flex-direction: column-reverse;
    }
    .pms-pay-foot .btn {
        width: 100%;
    }
    .pms-pay-modal .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.dark-mode .pms-pay-modal {
    background: #1c2b46;
}
.dark-mode .pms-pay-chip {
    background: #15233b;
}
.dark-mode .pms-pay-chip strong {
    color: #e0e8f5;
}
.dark-mode .pms-pay-modal .input-group-text {
    background: #15233b;
    border-color: #2b3a55;
    color: #9eaecf;
}

/* Header notifications */
.notification-dropdown {
    position: relative;
}
.notification-dropdown > .dropdown-toggle {
    position: relative;
}
.notification-dropdown > .dropdown-toggle::after {
    display: none;
}
.pms-notify-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: #e85347;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
}
.pms-notify-menu {
    width: min(380px, calc(100vw - 24px));
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(18, 28, 45, 0.18);
    z-index: 20030;
}
.pms-notify-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.75rem;
    border-bottom: 1px solid #eef2f7;
}
.pms-notify-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #12263a;
}
.pms-notify-all {
    font-size: 0.8125rem;
    font-weight: 600;
}
.pms-notify-body {
    max-height: min(52vh, 360px);
    overflow-y: auto;
}
.pms-notify-item {
    display: flex;
    width: 100%;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
    color: inherit;
}
.pms-notify-item + .pms-notify-item {
    border-top: 1px solid #f1f3f8;
}
.pms-notify-item.is-unread {
    background: #f6f9ff;
}
.pms-notify-item:hover,
.pms-notify-item:focus {
    background: #f5f6fa;
}
.pms-notify-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(47, 111, 237, 0.12);
    color: #2f6fed;
}
.pms-notify-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.pms-notify-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #12263a;
}
.pms-notify-text {
    font-size: 0.78rem;
    color: #8091a7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pms-notify-time {
    font-size: 0.72rem;
    color: #9eaecf;
}
.pms-notify-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 2rem 1rem;
    color: #8091a7;
    text-align: center;
}
.pms-notify-empty .icon {
    font-size: 1.6rem;
}
.pms-notify-foot {
    padding: 0.65rem 1rem 0.8rem;
    border-top: 1px solid #eef2f7;
    text-align: center;
}
.pms-notify-clear {
    border: 0;
    background: none;
    color: #2f6fed;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0;
}

@media (max-width: 575.98px) {
    .nk-header-tools {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .pms-notify-menu.dropdown-menu {
        position: fixed !important;
        top: 3.75rem !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        inset: 3.75rem 8px auto 8px !important;
    }
    .pms-notify-body {
        max-height: min(62vh, 420px);
    }
}

.dark-mode .pms-notify-head,
.dark-mode .pms-notify-foot,
.dark-mode .pms-notify-item + .pms-notify-item {
    border-color: rgba(255, 255, 255, 0.08);
}
.dark-mode .pms-notify-title,
.dark-mode .pms-notify-label {
    color: #ebeef2;
}
.dark-mode .pms-notify-item.is-unread {
    background: rgba(47, 111, 237, 0.12);
}
.dark-mode .pms-notify-item:hover,
.dark-mode .pms-notify-item:focus {
    background: #243656;
}

.pms-auto-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.pms-auto-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
    gap: 0.85rem 1.5rem;
    align-items: center;
    padding: 0.95rem 1rem;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    background: #fff;
}
.pms-auto-row__copy {
    min-width: 0;
}
.pms-auto-row__hint {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: #8091a7;
}
.pms-auto-row__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
}
.pms-auto-row__controls .form-group {
    min-width: 128px;
    margin-bottom: 0;
}
.pms-auto-row__controls .form-label {
    margin-bottom: 0.25rem;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8091a7;
}
.pms-auto-row__controls .form-control,
.pms-auto-row__controls .form-select {
    height: 38px;
    min-width: 128px;
}
.pms-auto-row__channels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    align-items: center;
    min-height: 38px;
}
.pms-auto-row--event .pms-auto-row__controls {
    align-items: center;
}

@media (max-width: 991.98px) {
    .pms-auto-row {
        grid-template-columns: 1fr;
        padding: 0.85rem;
    }
    .pms-auto-row__controls {
        justify-content: flex-start;
        width: 100%;
    }
    .pms-auto-row__controls .form-control,
    .pms-auto-row__controls .form-select {
        width: 100%;
    }
}

.pms-auto-row--backup {
    align-items: start;
}
.pms-auto-row--backup .pms-auto-row__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-content: stretch;
    align-items: end;
    gap: 0.75rem;
    width: min(100%, 420px);
    min-width: 0;
}
.pms-auto-row--backup .pms-auto-row__controls .form-group {
    min-width: 0;
    width: 100%;
}
.pms-auto-row--backup .pms-auto-row__controls .form-control,
.pms-auto-row--backup .pms-auto-row__controls .form-select {
    width: 100%;
    min-width: 0;
    max-width: none;
}
.pms-auto-row--backup .pms-auto-row__span {
    grid-column: 1 / -1;
}
.pms-auto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.15rem;
}

.pms-cron-card {
    background: #f8fafc;
    border-color: #dbe3f0 !important;
}

.dark-mode .pms-cron-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.pms-cron-copy {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.pms-cron-copy .form-control {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
}

.pms-cron-copy .btn {
    white-space: nowrap;
    flex: 0 0 auto;
}

.pms-cron-meta {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
}

.pms-cron-meta code {
    word-break: break-all;
}

@media (max-width: 767.98px) {
    .pms-cron-copy {
        flex-direction: column;
    }
}

@media (max-width: 991.98px) {
    .pms-auto-row--backup .pms-auto-row__controls {
        width: 100%;
    }
}

.pms-req {
    color: #e85347;
    font-weight: 700;
    margin-left: 0.2rem;
}
.form-label .text-danger {
    font-weight: 700;
}
.form-group.pms-required > .form-label:not(:has(.pms-req)):not(:has(.text-danger))::after,
.form-group.pms-required > .form-label-group .form-label:not(:has(.pms-req)):not(:has(.text-danger))::after,
.form-group:has([required]):not(:has(.pms-req)):not(:has(.text-danger)) > .form-label::after {
    content: " *";
    color: #e85347;
    font-weight: 700;
}

.pms-support-grid {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 992px) {
    .pms-support-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.pms-support-grid .nk-support-item {
    margin: 0;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #ebeef2;
}
.pms-support-card .nk-support-item:last-child {
    border-bottom: 0;
}

.pms-help-modal.modal {
    --bs-modal-width: 920px;
    padding: 0 !important;
}

.pms-help-modal .modal-dialog,
.pms-help-modal .pms-help-dialog {
    width: min(920px, calc(100vw - 32px));
    max-width: min(920px, calc(100vw - 32px)) !important;
    height: min(680px, calc(100vh - 48px));
    height: min(680px, calc(100dvh - 48px));
    margin: 24px auto !important;
}

.pms-help-modal .modal-content {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.pms-help-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #ebeef2;
    background: #fff;
    flex: 0 0 auto;
    min-width: 0;
}

.pms-help-head__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--pms-theme), var(--pms-theme-2));
    flex: 0 0 auto;
}

.pms-help-head__icon .icon {
    font-size: 1.15rem;
}

.pms-help-head__copy {
    min-width: 0;
    flex: 1 1 auto;
}

.pms-help-head__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.pms-help-head__sub {
    margin: 0.15rem 0 0;
    font-size: 13px;
    color: #8094ae;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pms-help-topics-btn {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
}

.pms-help-head__close {
    margin: 0;
    flex: 0 0 auto;
}

.pms-help-mobile-bar {
    flex: 0 0 auto;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid #ebeef2;
    background: #f8fafc;
}

.pms-help-mobile-select {
    display: block;
    margin: 0;
    width: 100%;
}

.pms-help-mobile-select .form-select {
    width: 100%;
    max-width: 100%;
    font-size: 14px;
    font-weight: 600;
    min-height: 40px;
}

.pms-help-shell {
    position: relative;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.pms-help-nav {
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.85rem 0.7rem 1rem;
    background: #f5f6fa;
    border-right: 1px solid #ebeef2;
    z-index: 2;
}

.pms-help-nav-backdrop {
    display: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 1;
}

.pms-help-search {
    position: relative;
    display: block;
    margin: 0 0.15rem 0.75rem;
}

.pms-help-search .icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #8094ae;
    font-size: 1rem;
}

.pms-help-search input {
    width: 100%;
    height: 36px;
    border: 1px solid #e5e9f2;
    border-radius: 8px;
    padding: 0 10px 0 32px;
    background: #fff;
    font-size: 13px;
}

.pms-help-search input:focus {
    outline: 0;
    border-color: var(--pms-theme);
    box-shadow: 0 0 0 3px rgba(9, 113, 254, 0.16);
}

.pms-help-nav__label {
    display: block;
    padding: 0.45rem 0.7rem 0.2rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8094ae;
}

.pms-help-nav__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 0;
    background: transparent;
    color: #364a63;
    text-align: left;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 40px;
}

.pms-help-nav__item span {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pms-help-nav__item .icon {
    font-size: 1rem;
    color: #8094ae;
    flex: 0 0 auto;
}

.pms-help-nav__item:hover {
    background: #fff;
}

.pms-help-nav__item.is-active {
    background: #fff;
    color: var(--pms-theme);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.pms-help-nav__item.is-active .icon {
    color: var(--pms-theme);
}

.pms-help-main {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.4rem 1.5rem;
    background: #fff;
    overscroll-behavior: contain;
}

.pms-help-pane {
    max-width: 100%;
}

.pms-help-pane__title {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pms-help-heading {
    font-size: 14px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 16px 0 8px;
    overflow-wrap: anywhere;
}

.pms-help-text {
    margin: 0 0 8px;
    color: #526484;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pms-help-steps,
.pms-help-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    color: #526484;
    line-height: 1.55;
    max-width: 100%;
}

.pms-help-steps {
    counter-reset: pms-help-step;
}

.pms-help-steps li {
    position: relative;
    margin: 0 0 8px;
    padding: 10px 12px 10px 44px;
    background: #f5f6fa;
    border-radius: 8px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pms-help-steps li::before {
    counter-increment: pms-help-step;
    content: counter(pms-help-step);
    position: absolute;
    left: 12px;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pms-theme);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.pms-help-list li {
    position: relative;
    margin: 0 0 8px;
    padding: 2px 0 2px 18px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.pms-help-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pms-theme);
}

.pms-help-callout,
.pms-help-example {
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.pms-help-callout {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1e3a8a;
}

.pms-help-example {
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.dark-mode .pms-help-head,
.dark-mode .pms-help-main,
.dark-mode .pms-help-modal .modal-content,
.dark-mode .pms-help-mobile-bar {
    background: #1c2b46;
}

.dark-mode .pms-help-head,
.dark-mode .pms-help-nav,
.dark-mode .pms-help-mobile-bar {
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .pms-help-nav {
    background: rgba(0, 0, 0, 0.18);
}

.dark-mode .pms-help-search input,
.dark-mode .pms-help-nav__item:hover,
.dark-mode .pms-help-nav__item.is-active,
.dark-mode .pms-help-mobile-select .form-select {
    background: #15233b;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.dark-mode .pms-help-heading,
.dark-mode .pms-help-pane__title,
.dark-mode .pms-help-head__title {
    color: #e2e8f0;
}

.dark-mode .pms-help-text,
.dark-mode .pms-help-steps,
.dark-mode .pms-help-list,
.dark-mode .pms-help-nav__item {
    color: #cbd5e1;
}

.dark-mode .pms-help-callout {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(147, 197, 253, 0.28);
    color: #bfdbfe;
}

.dark-mode .pms-help-example {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(252, 211, 77, 0.28);
}

@media (max-width: 767.98px) {
    .pms-help-modal .modal-dialog,
    .pms-help-modal .pms-help-dialog {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        margin: 0 !important;
        transform: none !important;
    }

    .pms-help-modal.modal.show .modal-dialog {
        transform: none !important;
    }

    .pms-help-modal .modal-content {
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .pms-help-head {
        padding: 0.75rem 0.85rem;
        padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
        gap: 0.45rem;
    }

    .pms-help-head__icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .pms-help-head__title {
        font-size: 1rem;
    }

    .pms-help-shell {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }

    .pms-help-nav {
        position: absolute;
        inset: 0 auto 0 0;
        width: min(86vw, 300px);
        max-width: 300px;
        border-right: 1px solid #ebeef2;
        border-bottom: 0;
        max-height: none;
        height: 100%;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        box-shadow: 8px 0 24px rgba(15, 23, 42, 0.18);
    }

    .pms-help-shell.is-nav-open .pms-help-nav {
        transform: translateX(0);
    }

    .pms-help-nav-backdrop {
        display: block;
        position: absolute;
        inset: 0;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
    }

    .pms-help-shell.is-nav-open .pms-help-nav-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .pms-help-main {
        padding: 1rem 0.9rem 1.25rem;
        width: 100%;
    }

    .pms-help-pane__title {
        font-size: 1.05rem;
    }

    .pms-help-steps li {
        padding: 10px 10px 10px 40px;
    }

    .pms-help-steps li::before {
        left: 10px;
    }

    .pms-help-callout,
    .pms-help-example {
        padding: 10px 12px;
    }
}


/* Split payouts across accounts */
.pms-pay-from {
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    padding: 14px 16px 12px;
    background: #f8fafc;
}
.pms-pay-from__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.pms-pay-from__row {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(120px, 0.7fr) minmax(140px, 0.9fr) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 8px;
}
.pms-pay-from__avail {
    font-size: 12px;
    color: #8094ae;
    padding-bottom: 8px;
    line-height: 1.35;
}
.pms-pay-from__avail.is-short,
.pms-pay-from__summary .is-short {
    color: #e85347;
}
.pms-pay-from__remove {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding-bottom: 2px;
}
.pms-pay-from__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #526484;
    margin-top: 8px;
}
.dark-mode .pms-pay-from {
    background: rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.08);
}
.dark-mode .pms-pay-from__summary {
    color: #cbd5e1;
}
@media (max-width: 767px) {
    .pms-pay-from__head {
        flex-direction: column;
    }
    .pms-pay-from__row {
        grid-template-columns: 1fr 1fr auto;
        grid-template-areas:
            "account account remove"
            "amount avail remove";
    }
    .pms-pay-from__row > :nth-child(1) { grid-area: account; }
    .pms-pay-from__row > :nth-child(2) { grid-area: amount; }
    .pms-pay-from__row > :nth-child(3) { grid-area: avail; }
    .pms-pay-from__row > :nth-child(4) { grid-area: remove; }
}

.invoice-brand img {
    max-height: 92px !important;
    height: 92px;
    width: auto;
    max-width: 200px;
}

.pms-demo-banner {
    margin: 0 1.25rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: #fff4d6;
    color: #7a4b00;
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
}

.pms-demo-banner__logins {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
}

.pms-demo-banner__logins form { display: inline; }

.pms-demo-banner__buy {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.25rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: #0f9f6e;
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}

.pms-demo-banner__buy:hover,
.pms-demo-banner__buy:focus {
    background: #0b7f57;
    color: #fff !important;
}

.pms-buy-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    background: #0f9f6e;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.pms-buy-now:hover,
.pms-buy-now:focus {
    background: #0b7f57;
    color: #fff !important;
}

/* Date pickers: keep calendar icon clear of the date text */
.pms-date-wrap.form-control-wrap {
    position: relative;
}

.pms-date-wrap .form-icon {
    pointer-events: none;
    z-index: 2;
}

.pms-date-wrap .form-icon-left ~ .form-control.date-picker,
.pms-date-wrap:has(> .form-icon-left) > .form-control.date-picker {
    padding-left: 2.85rem !important;
    padding-right: 0.875rem !important;
}

.pms-date-wrap .form-icon-right ~ .form-control.date-picker,
.pms-date-wrap:has(> .form-icon-right) > .form-control.date-picker {
    padding-right: 2.85rem !important;
    padding-left: 0.875rem !important;
}

.form-control-wrap:has(> .form-icon-left) > .form-control.date-picker {
    padding-left: 2.85rem !important;
}

.form-control-wrap:has(> .form-icon-right) > .form-control.date-picker {
    padding-right: 2.85rem !important;
}

.pms-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1080;
    max-width: min(420px, calc(100vw - 24px));
    padding: 12px 16px;
    border-radius: 8px;
    background: #12263a;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(18, 38, 58, 0.24);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease;
}

.pms-toast.is-on {
    opacity: 1;
    transform: translateY(0);
}

.pms-powered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.4rem;
    line-height: 1.5;
    text-align: center;
    max-width: 100%;
}

.pms-powered__copy,
.pms-powered__by {
    display: block;
}

@media (min-width: 576px) {
    .pms-powered__copy,
    .pms-powered__by {
        display: inline;
    }
}

.pms-footer-centered,
.nk-auth-footer-full .pms-footer-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem 1rem;
    text-align: center;
}

.nk-footer-wrap.pms-footer-centered {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nk-footer-wrap.pms-footer-centered .nk-footer-copyright {
    width: 100%;
    text-align: center;
}

.pms-powered__by a {
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .nk-content-fluid {
        padding-top: 0.75rem;
        padding-bottom: 1.25rem;
    }

    .nk-block-head-sm {
        padding-bottom: 0.35rem;
        margin-bottom: 0.65rem;
    }

    .page-title {
        font-size: 1.4rem !important;
        line-height: 1.2;
    }

    .nk-block-des p {
        font-size: 13px;
        margin-bottom: 0;
    }

    .nk-block-head .nk-block-head-content:last-child .btn {
        width: 100%;
    }

    .pms-dash {
        gap: 0.75rem;
    }

    .pms-hero {
        min-height: 104px;
        padding: 0.95rem 1rem 1.05rem;
        border-radius: 12px;
    }

    .pms-hero__value {
        font-size: 1.35rem;
    }

    .pms-hero__mark {
        font-size: 4.2rem;
        right: 0.2rem;
        bottom: -0.5rem;
    }

    .pms-hero__bar {
        left: 1rem;
        right: 1rem;
        bottom: 0.55rem;
    }

    .pms-stat {
        min-height: 76px;
        padding: 0.8rem 0.9rem;
        border-radius: 12px;
    }

    .pms-quick {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .pms-quick .btn {
        width: 100%;
        justify-content: center;
    }

    .nk-footer-wrap:not(.pms-footer-centered) {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }

    .pms-footer-centered {
        align-items: center !important;
    }

    .pms-powered {
        flex-direction: column;
        gap: 0.35rem;
        font-size: 12px;
    }
}

/* Tenant pay: amount + actions on one full-width row */
.pms-tenant-amount {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, 1fr) minmax(150px, 1fr);
    gap: 10px;
    align-items: end;
    width: 100%;
}
.pms-tenant-amount__field {
    min-width: 0;
}
.pms-tenant-amount .btn {
    width: 100%;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    white-space: nowrap;
}
.pms-tenant-amount + .form-note {
    display: block;
    margin-top: 8px;
}
@media (max-width: 575px) {
    .pms-tenant-amount {
        grid-template-columns: 1fr;
    }
}

/* Dashboard header + date filter (single aligned row) */
.pms-dash-head {
    margin-bottom: 1rem;
    padding-bottom: 0.15rem;
}

.pms-dash-head .page-title {
    color: #12263a;
    line-height: 1.25;
}

.dark-mode .pms-dash-head .page-title {
    color: #e2e8f0;
}

.pms-dash-head__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
}

.pms-dash-head__title {
    min-width: 0;
    flex: 1 1 auto;
}

.pms-dash-head__title .page-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.pms-dash-head__tools {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.pms-dash-layout {
    width: 210px;
    max-width: min(210px, 42vw);
    flex: 0 0 auto;
}

.pms-dash-layout .form-control {
    min-height: 38px;
    font-size: 13px;
    font-weight: 600;
}

.pms-dash-date {
    width: 260px;
    max-width: min(260px, 55vw);
    flex: 0 0 auto;
}

.pms-dash-date .form-control-wrap {
    width: 100%;
}

.pms-dash-date .period-picker,
.pms-dash-date input.period-picker {
    min-height: 38px;
    font-size: 13px;
    font-weight: 600;
    border-color: color-mix(in srgb, var(--pms-theme, #6576ff) 45%, #c5cfe0);
    background: #fff !important;
    color: #12263a;
    cursor: pointer;
}

.pms-dash-date .form-icon {
    color: var(--pms-theme, #6576ff);
}

.pms-dash-reports {
    flex: 0 0 auto;
    white-space: nowrap;
}

.pms-dash-body .row.g-gs {
    align-items: stretch;
}

.pms-dash-charts-row {
    align-items: stretch;
}

.pms-dash-mini-charts-row {
    align-items: stretch;
}

.pms-dash-mini-charts-row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.pms-mini-chart-card {
    width: 100%;
}

.pms-mini-chart-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pms-mini-chart-canvas {
    height: 150px !important;
    min-height: 150px;
    max-height: 150px;
    position: relative;
    overflow: hidden;
}

.pms-mini-chart-canvas canvas {
    width: 100% !important;
    max-height: 100% !important;
}

.pms-dash-activity-row > [class*="col-"] > .card {
    height: 100%;
    min-height: 220px;
}

.pms-notify-card {
    overflow: hidden;
}

.pms-notify-list {
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
}

.pms-notify-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #eef2f7;
}

.pms-notify-item:last-child {
    border-bottom: 0;
}

.pms-notify-data {
    min-width: 0;
    flex: 1 1 auto;
}

.pms-notify-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #364a63;
    margin-bottom: 0.2rem;
    word-break: break-word;
}

.pms-notify-title a {
    color: inherit;
}

.pms-notify-message {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    color: #526484;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.pms-notify-time {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    color: #8094ae;
}

.dark-mode .pms-notify-item {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .pms-notify-title {
    color: #ebeef2;
}

.dark-mode .pms-notify-message {
    color: #9cb0cb;
}

.pms-section-label {
    margin: 0.35rem 0 0.65rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8094ae;
}

.pms-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.pms-stat-grid--8 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pms-stat-tile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding: 0.85rem 1rem;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
    text-decoration: none !important;
    color: inherit !important;
    gap: 0.2rem;
}

a.pms-stat-tile:hover {
    border-color: color-mix(in srgb, var(--pms-theme, #6576ff) 40%, #e5e9f2);
}

.pms-stat-tile.is-warn {
    background: color-mix(in srgb, var(--pms-hero-2, #f4bd0e) 8%, #fff);
}

.pms-stat-tile__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8094ae;
}

.pms-stat-tile__value {
    font-size: 1.15rem;
    font-weight: 800;
    color: #12263a;
    line-height: 1.25;
    word-break: break-word;
}

.pms-stat-tile__hint {
    font-size: 12px;
    color: #8094ae;
}

.pms-dash-top--pair {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas: "revenue revenue";
}

.pms-dash-top--pair {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr);
    grid-template-areas: none;
    align-items: stretch;
}

.dark-mode .pms-stat-tile {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .pms-stat-tile__value {
    color: #ebeef2;
}

@media (max-width: 1199.98px) {
    .pms-stat-grid,
    .pms-stat-grid--8,
    .pms-dash-top--pair {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575.98px) {
    .pms-stat-grid,
    .pms-stat-grid--8,
    .pms-dash-top--pair {
        grid-template-columns: 1fr;
    }
}

.dark-mode .pms-dash-date .period-picker,
.dark-mode .pms-dash-date input.period-picker {
    background: #1c2b46 !important;
    color: #ebeef2;
    border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 767.98px) {
    .pms-dash-head__row {
        align-items: stretch;
    }

    .pms-dash-head__tools {
        width: 100%;
        flex-wrap: wrap;
    }

    .pms-dash-layout,
    .pms-dash-date {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .pms-dash-reports {
        width: 100%;
        justify-content: center;
    }
}

/* Legacy filter card styles (Appearance / older screens) */
.pms-dash-filters .card-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pms-dash-filters__grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(200px, 1fr);
    gap: 1rem 1.25rem;
    align-items: start;
}

.pms-dash-filters .form-label {
    margin-bottom: 0.35rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #8091a7;
}

.pms-dash-filters .form-note {
    margin-top: 0.35rem;
    font-size: 12px;
    color: #8091a7;
}

.pms-dash-layout-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pms-dash-layout-pill {
    border: 1px solid #e5e9f2;
    background: #fff;
    color: #364a63;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.pms-dash-layout-pill.is-active {
    border-color: var(--pms-theme, #6576ff);
    background: color-mix(in srgb, var(--pms-theme, #6576ff) 12%, #fff);
    color: var(--pms-theme, #6576ff);
}

/* Footer */
.nk-footer-wrap {
    gap: 0.65rem 1rem;
}

.nk-auth-footer-full .pms-powered {
    justify-content: center;
    text-align: center;
}

/* Charts + dashboard cards */
.nk-sales-ck,
.nk-sales-ck canvas {
    max-width: 100%;
}

.nk-sales-ck.large {
    min-height: 220px;
}

.card-inner {
    min-width: 0;
}

.card-title-group {
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nk-sale-data-group {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.nk-iv-scheme-item {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.nk-iv-scheme-info,
.nk-iv-scheme-term,
.nk-iv-scheme-amount {
    min-width: 0;
}

/* DataTables + listing tables */
.dataTables_wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dataTables_wrapper .row {
    --bs-gutter-x: 0.75rem;
    margin-left: 0;
    margin-right: 0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    width: auto;
    float: none;
    text-align: left;
    margin: 0;
}

.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    width: 100%;
    max-width: 280px;
}

.dataTables_wrapper .dataTables_filter input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100% !important;
    margin: 0 !important;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    width: auto;
    float: none;
    padding-top: 0.5rem;
}

.dataTables_wrapper .dataTables_paginate {
    text-align: right;
}

@media (max-width: 575.98px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        width: 100%;
        text-align: left;
    }

    .dataTables_wrapper .dataTables_filter label {
        max-width: none;
    }
}

/* Broker commission detail table */
.pms-broker-table {
    width: 100%;
    margin: 0;
}
.pms-broker-table th {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #101924;
    font-weight: 700;
    white-space: nowrap;
    border-bottom-width: 1px;
    vertical-align: middle;
}
.pms-broker-table td {
    vertical-align: middle;
    color: #101924;
    font-size: 0.9rem;
}
.pms-broker-table .pms-broker-detail-main {
    font-weight: 600;
    color: #101924;
    line-height: 1.35;
}
.pms-broker-table .pms-broker-detail-sub {
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: #364a63;
    font-weight: 500;
}
.pms-broker-table .pms-broker-amt {
    font-weight: 700;
    white-space: nowrap;
    color: #101924;
}
.pms-broker-table .pms-broker-pct {
    font-weight: 600;
    color: #364a63;
    font-size: 0.8rem;
}
.pms-broker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: flex-end;
    align-items: center;
}
.pms-broker-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    color: #364a63;
    font-size: 0.875rem;
}
.pms-broker-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

@media (max-width: 767.98px) {
    .pms-broker-actions {
        justify-content: stretch;
    }
    .pms-broker-actions .btn {
        flex: 1 1 auto;
    }
}

.card-preview .card-inner {
    overflow-x: auto;
}

/* SMS logs: filters stay put; only the table scrolls when needed */
.pms-sms-logs-card > .card-inner {
    overflow: visible !important;
}

.pms-sms-logs-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.pms-sms-logs-toolbar__date,
.pms-sms-logs-toolbar__status,
.pms-sms-logs-toolbar__search {
    flex: 1 1 0;
    min-width: 0;
}

.pms-sms-logs-toolbar__search {
    flex: 1.6 1 0;
}

.pms-sms-logs-toolbar__length {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    white-space: nowrap;
}

.pms-sms-logs-toolbar__length .form-label {
    margin: 0;
    line-height: 1;
}

.pms-sms-logs-toolbar__length .form-control-select {
    position: relative;
    width: auto;
    min-width: 4.75rem;
    margin: 0;
}

.pms-sms-logs-toolbar__length .form-control-select .form-control {
    width: 4.75rem;
    min-width: 4.75rem;
    padding-right: 2rem;
    margin-bottom: 0;
}

.pms-sms-logs-toolbar .form-control-wrap,
.pms-sms-logs-toolbar .form-control,
.pms-sms-logs-toolbar select.form-control {
    width: 100%;
    margin-bottom: 0;
}

.pms-sms-logs-table {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.pms-sms-logs-table.is-overflowing {
    overflow-x: auto;
}

.pms-sms-logs-card .dataTables_wrapper.dt-is-empty .pms-sms-logs-table,
.pms-sms-logs-card .dataTables_wrapper:has(td.dataTables_empty) + .pms-sms-logs-table,
.pms-sms-logs-card:has(td.dataTables_empty) .pms-sms-logs-table {
    overflow-x: hidden !important;
}

.pms-sms-logs-card #sms-logs-table {
    width: 100% !important;
    min-width: 0 !important;
}

.pms-sms-logs-card .dataTables_length,
.pms-sms-logs-card .dataTables_filter,
.pms-sms-logs-card .datatable-filter,
.pms-sms-logs-card .dataTables_wrapper > .row:has(.dataTables_length),
.pms-sms-logs-card .dataTables_wrapper > .row:has(.dataTables_filter) {
    display: none !important;
}

.pms-sms-logs-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .pms-sms-logs-toolbar {
        flex-wrap: nowrap;
    }
}

@media (max-width: 767.98px) {
    .pms-sms-logs-toolbar__date,
    .pms-sms-logs-toolbar__status,
    .pms-sms-logs-toolbar__search,
    .pms-sms-logs-toolbar__length {
        flex: 1 1 100%;
        min-width: 0;
    }

    .pms-sms-logs-toolbar__length .form-control-select,
    .pms-sms-logs-toolbar__length .form-control-select .form-control {
        width: 100%;
        min-width: 0;
    }
}

table.datatable {
    min-width: 640px;
}

/* Forms and filters on list pages — keep Export/Add actions horizontal on desktop */
.nk-block-head .toggle-expand-content .nk-block-tools {
    width: auto;
}

.nk-block-head .toggle-expand-content .nk-block-tools.g-3 {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.nk-block-head .toggle-expand-content .nk-block-tools.g-3 > li,
.nk-block-head .toggle-expand-content .nk-block-tools.g-3 > li > .btn,
.nk-block-head .toggle-expand-content .nk-block-tools.g-3 > li > div {
    width: auto;
}

.nk-block-head .toggle-expand-content .nk-block-tools.g-3 .btn {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .nk-block-head .toggle-expand-content .nk-block-tools {
        width: 100%;
    }

    .nk-block-head .toggle-expand-content .nk-block-tools.g-3 {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nk-block-head .toggle-expand-content .nk-block-tools.g-3 > li,
    .nk-block-head .toggle-expand-content .nk-block-tools.g-3 > li > .btn,
    .nk-block-head .toggle-expand-content .nk-block-tools.g-3 > li > div {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .pms-dash-head .nk-block-between {
        flex-direction: column;
        align-items: stretch !important;
    }

    .pms-dash-head .pms-dash-actions {
        justify-content: stretch;
    }

    .pms-dash-head .pms-dash-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .nk-iv-wg3-group {
        flex-wrap: wrap;
    }

    .align-center.flex-wrap.flex-md-nowrap {
        flex-direction: column;
        align-items: stretch !important;
        text-align: center;
    }

    .align-center.flex-wrap.flex-md-nowrap .nk-block-content.flex-shrink-0 .btn {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .container-fluid,
    .nk-content,
    .nk-content-fluid {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .card,
    .card-bordered {
        border-radius: 12px;
    }

    .card-inner {
        padding: 1rem;
    }

    .nk-block-head .nk-block-between {
        gap: 0.75rem;
    }

    .nk-block-head-content:last-child:not(:only-child) {
        width: 100%;
    }

    .nk-block-head-content .toggle-wrap {
        width: 100%;
    }

    .row.g-1.mb-2 > [class*="col-"],
    .row.g-1 > [class*="col-"] {
        margin-bottom: 0.5rem;
    }

    .modal-dialog:not(.pms-help-dialog) {
        margin: 0.65rem;
        max-width: calc(100vw - 1.3rem);
    }

    .modal-body,
    .modal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .pms-powered {
        font-size: 12px;
        line-height: 1.5;
    }

    .pms-powered__copy,
    .pms-powered__by {
        display: block;
    }

    .nk-footer-links {
        width: 100%;
    }

    .nk-footer-wrap:not(.pms-footer-centered) .nk-footer-links .nav {
        justify-content: flex-start;
    }

    .nk-sales-ck.large {
        min-height: 180px;
    }

    .nk-activity .nk-activity-data .label,
    .nk-activity .nk-activity-data .time {
        white-space: normal;
        word-break: break-word;
    }
}

@media (max-width: 575.98px) {
    .pms-stat-row > [class*="col-"],
    .pms-hero-row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pms-quick {
        grid-template-columns: 1fr;
    }

    .pms-dash-actions {
        flex-direction: column;
    }

    .pms-dash-actions .btn {
        width: 100%;
    }

    table.datatable {
        min-width: 520px;
        font-size: 12px;
    }

    .nk-tb-col,
    .nk-tb-item .nk-tb-col {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }
}

/* Bulk tenant SMS picker */
.pms-tenant-picker {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.pms-tenant-picker__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    gap: 0.75rem 1rem;
    align-items: end;
}

.pms-tenant-picker__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.pms-tenant-picker__meta {
    font-size: 12px;
    color: #8094ae;
}

.pms-tenant-picker__search {
    position: relative;
}

.pms-tenant-picker__search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8094ae;
    pointer-events: none;
}

.pms-tenant-picker__search .form-control {
    padding-left: 2.1rem;
}

.pms-tenant-picker__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pms-tenant-picker__actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pms-tenant-picker__btn-count {
    opacity: 0.85;
    font-weight: 600;
}

.pms-tenant-picker__hint {
    margin-bottom: 0 !important;
}

.pms-tenant-sms-list {
    max-height: min(420px, 55vh);
    overflow: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.pms-tenant-sms-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid #eef2f7;
    cursor: pointer;
}

.pms-tenant-sms-row.is-readonly {
    grid-template-columns: minmax(0, 1fr) auto;
    cursor: default;
}

.pms-tenant-sms-row:last-child {
    border-bottom: 0;
}

.pms-tenant-sms-row:hover {
    background: #f8fafc;
}

.pms-tenant-sms-row.is-selected {
    background: #f5f7ff;
}

.pms-tenant-sms-row__check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
}

.pms-tenant-sms-row__check input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    cursor: pointer;
}

.pms-tenant-sms-row__main {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.pms-tenant-sms-row__name {
    font-size: 14px;
    color: #12263a;
    line-height: 1.3;
    word-break: break-word;
}

.pms-tenant-sms-row__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pms-tenant-sms-row__chip {
    display: inline-flex;
    max-width: 100%;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: #f5f6fa;
    color: #526484;
    font-size: 11px;
    line-height: 1.4;
    word-break: break-all;
}

.pms-tenant-sms-row__badge {
    white-space: nowrap;
}

.dark-mode .pms-tenant-sms-list {
    background: #1c2b46;
}

.dark-mode .pms-tenant-sms-row {
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .pms-tenant-sms-row:hover,
.dark-mode .pms-tenant-sms-row.is-selected {
    background: rgba(101, 118, 255, 0.12);
}

.dark-mode .pms-tenant-sms-row__name {
    color: #ebeef2;
}

.dark-mode .pms-tenant-sms-row__chip {
    background: #243656;
    color: #c4cefe;
}

.dark-mode .pms-tenant-picker__meta {
    color: #9cb0cb;
}

@media (max-width: 767.98px) {
    .pms-tenant-picker__head {
        grid-template-columns: 1fr;
    }

    .pms-tenant-picker__actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pms-tenant-picker__actions .btn {
        justify-content: center;
        width: 100%;
    }

    .pms-tenant-sms-row,
    .pms-tenant-sms-row.is-readonly {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .pms-tenant-sms-row__badge {
        grid-column: 2;
        justify-self: start;
    }
}

/* Bulk SMS form layout */
.pms-sms-mode {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0.95rem 1rem;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.pms-sms-mode:hover {
    border-color: #c4cefe;
}

.pms-sms-mode.is-active {
    border-color: #6576ff;
    background: #f5f7ff;
    box-shadow: 0 0 0 1px #6576ff;
}

.pms-sms-mode__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pms-sms-mode__title {
    font-size: 14px;
    font-weight: 700;
    color: #12263a;
    line-height: 1.3;
}

.pms-sms-mode__hint {
    font-size: 12px;
    color: #8094ae;
    line-height: 1.4;
}

.pms-sms-count {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    min-height: 38px;
    padding: 0.55rem 0.9rem;
    border: 1px solid #e5e9f2;
    border-radius: 6px;
    background: #f5f6fa;
    color: #526484;
}

.pms-sms-count strong {
    font-size: 1.15rem;
    color: #12263a;
}

.pms-sms-picker-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.pms-sms-picker-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.pms-sms-picker-tools .form-control {
    min-width: 180px;
}

.pms-sms-actions {
    display: flex;
    justify-content: center;
}

.dark-mode .pms-sms-mode {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .pms-sms-mode.is-active {
    background: rgba(101, 118, 255, 0.16);
    border-color: #6576ff;
}

.dark-mode .pms-sms-mode__title {
    color: #ebeef2;
}

.dark-mode .pms-sms-count {
    background: #243656;
    border-color: rgba(255, 255, 255, 0.1);
    color: #c4cefe;
}

.dark-mode .pms-sms-count strong {
    color: #fff;
}

.pms-email-preview {
    background: #fff;
    min-height: 100%;
}

.pms-email-preview ul {
    color: #526484;
    font-size: 13px;
}

.dark-mode .pms-email-preview {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .pms-email-preview ul {
    color: #c4cefe;
}

@media (max-width: 767.98px) {
    .pms-sms-picker-tools {
        width: 100%;
    }

    .pms-sms-picker-tools .form-control,
    .pms-sms-picker-tools .btn {
        flex: 1 1 auto;
        width: 100%;
    }

    .pms-sms-actions .btn {
        width: 100%;
    }
}

/* Landlord dashboard */
.pms-landlord-dash {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pms-ll-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 128px;
    padding: 1.15rem 1.25rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-top: 4px solid var(--pms-stat-properties);
    text-decoration: none !important;
    color: #12263a;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

a.pms-ll-stat:hover {
    color: #12263a;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.pms-ll-stat--dark {
    background: var(--pms-hero-4);
    border: 0;
    border-top: 4px solid #38bdf8;
    color: #fff;
}

.pms-landlord-dash .col-xl-3:nth-child(2) .pms-ll-stat { border-top-color: var(--pms-stat-properties); }
.pms-landlord-dash .col-xl-3:nth-child(3) .pms-ll-stat { border-top-color: var(--pms-stat-units); }
.pms-landlord-dash .col-xl-3:nth-child(4) .pms-ll-stat { border-top-color: var(--pms-stat-vacant); }

.pms-ll-stat__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.8;
}

.pms-ll-stat__value {
    margin-top: 0.35rem;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.pms-ll-stat__hint {
    margin-top: 0.25rem;
    font-size: 12px;
    opacity: 0.75;
}

.pms-ll-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dark-mode .pms-ll-stat:not(.pms-ll-stat--dark) {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ebeef2;
}

@media (max-width: 575.98px) {
    .pms-ll-stat {
        min-height: 108px;
    }

    .pms-ll-stat__value {
        font-size: 1.35rem;
    }

    .pms-ll-links .btn {
        width: 100%;
        justify-content: center;
    }
}



.card-inner .table-responsive,
.card-inner .dataTables_wrapper,
.card-inner table.datatable,
.card-inner table.dataTable {
    width: 100% !important;
    max-width: 100%;
}

/* Give # / index columns breathing room (DataTables + nk-tb-list) */
table.datatable thead th:first-child,
table.datatable tbody td:first-child,
table.dataTable thead th:first-child,
table.dataTable tbody td:first-child,
.nk-tb-list .nk-tb-item .nk-tb-col:first-child {
    padding-left: 1.25rem !important;
    padding-inline-start: 1.25rem !important;
    min-width: 3rem;
}

.pms-dash-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.pms-dash-layout-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    text-align: left;
    border: 1px solid #e5e9f2;
    background: #fff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: inherit;
}

.pms-dash-layout-card__name {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
}

.pms-dash-layout-card__hint {
    font-size: 12px;
    color: #8091a7;
    line-height: 1.4;
}

.pms-dash-layout-card.is-active {
    border-color: #6576ff;
    box-shadow: 0 0 0 3px rgba(101, 118, 255, 0.16);
    background: #f5f7ff;
}

.dark-mode .pms-dash-layout-card {
    background: #1c2b46;
    border-color: rgba(255, 255, 255, 0.1);
    color: #ebeef2;
}

.dark-mode .pms-dash-layout-card.is-active {
    background: rgba(101, 118, 255, 0.16);
    border-color: #6576ff;
}

.dark-mode .pms-dash-layout-card__hint {
    color: #9cb0cb;
}

/* Collections layout: force rent collections chart full width */
.pms-dash-full-chart > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0;
    padding-right: 0;
}


/* ---- Responsive Buy & Sell / settings forms ---- */
@media (max-width: 767.98px) {
    .form-settings .card-inner,
    .nk-content .card-inner {
        padding: 1rem;
    }
    .nk-block-tools {
        width: 100%;
        justify-content: flex-start !important;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    .nk-block-tools .btn {
        margin-bottom: 0.25rem;
    }
    .nk-content .row.g-gs > [class*='col-'] {
        margin-bottom: 0.5rem;
    }
    .form-settings .form-check-inline {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .nk-content .table-responsive {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
    .nk-content .btn-group {
        flex-wrap: wrap;
    }
    .nk-content .modal-dialog {
        margin: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .nk-block-title.page-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }
    .nk-content .card.card-bordered {
        border-radius: 10px;
    }
}

/* Sidebar section headings: Dashlite uses 2.5rem which leaves large gaps */
.nk-sidebar .nk-menu-item + .nk-menu-heading {
    padding-top: 0.75rem;
}
.nk-sidebar .nk-menu-heading {
    padding-bottom: 0.25rem;
}

