@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
:root {
    --sidebar-width: 250px;
}
* { font-family: Vazirmatn, Tahoma, Arial, sans-serif; }
body { background: #f8f9fc; text-align: right; }
.auth-page { min-height: 100vh; background: linear-gradient(135deg, #20364f, #0d6efd); }
.sb-nav-fixed { padding-top: 56px; }
#layoutSidenav { display: flex; }
#layoutSidenav_nav { width: var(--sidebar-width); min-height: calc(100vh - 56px); flex-shrink: 0; }
#layoutSidenav_content { width: 100%; min-width: 0; min-height: calc(100vh - 56px); display: flex; flex-direction: column; }
.sb-sidenav { min-height: calc(100vh - 56px); }
.sb-sidenav-dark { background: #212529; color: rgba(255,255,255,.75); }
.sb-sidenav .nav { flex-direction: column; }
.sb-sidenav .nav-link { color: rgba(255,255,255,.75); padding: .75rem 1rem; }
.sb-sidenav .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.sb-sidenav-menu-heading { padding: 1rem 1rem .5rem; font-size: .75rem; color: rgba(255,255,255,.35); }
.sb-sidenav-footer { padding: .75rem 1rem; background: rgba(0,0,0,.2); }
body.sidebar-collapsed #layoutSidenav_nav { display: none; }
.table th { white-space: nowrap; }
.form-control, .form-select, .btn { border-radius: .5rem; }
.card { border-radius: .75rem; }
.float-start { float: left !important; }
@media (max-width: 768px) {
    #layoutSidenav { display: block; }
    #layoutSidenav_nav { width: 100%; min-height: auto; }
    .sb-sidenav { min-height: auto; }
}
.searchable-select-box { position: relative; }
.searchable-select-menu {
    display: none;
    position: absolute;
    z-index: 1050;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
}
.searchable-select-box.open .searchable-select-menu { display: block; }
.searchable-select-item {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    padding: .5rem .75rem;
    text-align: right;
    cursor: pointer;
}
.searchable-select-item:hover, .searchable-select-item.active { background: #f1f3f5; }
.searchable-select-empty { padding: .75rem; color: #6c757d; }
.passenger-row { background: #fff; }
.text-uppercase { text-transform: uppercase; }
.invalid-feedback { display: block; }

.ltr-input {
    direction: ltr;
    text-align: left;
    unicode-bidi: plaintext;
}
.ltr-display {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
    text-align: left;
}
.roundtrip-section {
    background: #fbfcff;
}
.form-check-input {
    cursor: pointer;
}

.pagination .page-link {
    border-radius: .45rem;
    margin: 0 .15rem;
}
.card-header .btn-sm {
    border-radius: .45rem;
}


.sidebar-brand-mini {
    margin: .75rem .85rem .25rem;
    padding: .75rem .8rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .85rem;
    background: linear-gradient(135deg, rgba(13,110,253,.22), rgba(255,255,255,.05));
    color: #fff;
    font-weight: 700;
    text-align: center;
}
.sb-sidenav-dark {
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
}
.sb-sidenav-menu-heading {
    color: rgba(255,255,255,.45);
    letter-spacing: 0;
    font-weight: 700;
}
.sb-sidenav .nav-link {
    margin: .12rem .65rem;
    border-radius: .75rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.sb-sidenav .nav-link:hover {
    transform: translateX(-2px);
}
.sb-sidenav .nav-link.active {
    background: rgba(13,110,253,.22);
    color: #fff;
    box-shadow: inset 3px 0 0 #7db3ff;
}
.nav-icon {
    display: inline-flex;
    width: 1.55rem;
    height: 1.55rem;
    align-items: center;
    justify-content: center;
    border-radius: .55rem;
    background: rgba(255,255,255,.08);
    font-size: .95rem;
    flex: 0 0 auto;
}
.sb-sidenav .nav-link.active .nav-icon {
    background: rgba(255,255,255,.16);
}
.report-summary-card,
.company-balance-card {
    transition: transform .15s ease, box-shadow .15s ease;
}
.company-balance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 .75rem 1.75rem rgba(15,23,42,.12) !important;
}
.balance-amount {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.6;
}
.mini-stat {
    border: 1px solid #edf0f4;
    border-radius: .65rem;
    padding: .45rem .55rem;
    background: #fbfcfe;
    min-height: 48px;
}
.mini-stat span {
    display: block;
    color: #6c757d;
    margin-bottom: .15rem;
}
.mini-stat strong {
    font-size: .88rem;
}

.complete-monthly-filter-card {
    border: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
}
.complete-monthly-stat-card {
    border: 1px solid #e8edf5;
}
.complete-monthly-stat-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 132px;
}
.complete-monthly-table {
    font-size: .82rem;
}
.complete-monthly-table th,
.complete-monthly-table td {
    vertical-align: middle;
}
.monthly-complete-print-body {
    background: #e9edf2;
    padding: 18px;
    direction: rtl;
}
.monthly-complete-print-actions {
    max-width: 1280px;
    margin: 0 auto 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.monthly-report-day {
    width: 100%;
    max-width: 1280px;
    min-height: 780px;
    margin: 0 auto 20px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e0e8;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.monthly-report-print-header {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1f3b5b;
}
.monthly-report-print-header h1 {
    margin: 3px 0;
    font-size: 22px;
    font-weight: 800;
    color: #172b42;
}
.monthly-report-issuer {
    font-size: 13px;
    font-weight: 700;
    color: #48627e;
}
.monthly-report-subtitle {
    font-size: 11px;
    color: #6b7d90;
}
.monthly-report-date-box {
    min-width: 245px;
    border: 1px solid #ccd7e4;
    border-radius: 8px;
    overflow: hidden;
}
.monthly-report-date-box div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 9px;
    border-bottom: 1px solid #e1e7ee;
    font-size: 10px;
}
.monthly-report-date-box div:last-child {
    border-bottom: 0;
}
.monthly-report-date-box span {
    color: #64748b;
}
.monthly-report-month-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.monthly-report-month-overview div {
    border: 1px solid #dce5ef;
    border-radius: 7px;
    padding: 6px 8px;
    background: #f8fafc;
}
.monthly-report-month-overview span,
.monthly-report-day-summary span {
    display: block;
    color: #64748b;
    font-size: 9px;
    margin-bottom: 2px;
}
.monthly-report-month-overview strong {
    font-size: 10.5px;
    color: #1e344d;
}
.monthly-report-day-title {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #1f3b5b;
    color: #fff;
    padding: 7px 11px;
    border-radius: 7px;
}
.monthly-report-day-title div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.monthly-report-day-title span {
    font-size: 10px;
}
.monthly-report-day-title strong {
    font-size: 14px;
}
.monthly-report-activity-badge,
.monthly-report-empty-badge {
    padding: 3px 9px;
    border-radius: 999px;
    font-weight: 700;
}
.monthly-report-activity-badge {
    background: #d9f3e5;
    color: #16633a;
}
.monthly-report-empty-badge {
    background: #e9eef4;
    color: #526579;
}
.monthly-report-day-summary {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 7px;
    margin: 8px 0;
}
.monthly-report-day-summary div {
    border: 1px solid #dce5ef;
    border-radius: 6px;
    padding: 5px 7px;
    min-height: 43px;
}
.monthly-report-day-summary strong {
    font-size: 9.5px;
    color: #172b42;
}
.monthly-report-table-wrap {
    flex: 1;
}
.monthly-report-print-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 8.4px;
}
.monthly-report-print-table th,
.monthly-report-print-table td {
    border: 1px solid #aebdcd;
    padding: 5px 3px;
    text-align: center;
    vertical-align: middle;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.monthly-report-print-table thead th {
    background: #e8eef5;
    color: #172b42;
    font-weight: 800;
}
.monthly-report-print-table tbody tr:nth-child(even) {
    background: #f8fafc;
}
.monthly-report-print-table tfoot th {
    background: #dbe6f1;
    color: #172b42;
    font-weight: 800;
}
.monthly-report-print-table th:nth-child(1),
.monthly-report-print-table td:nth-child(1) {
    width: 3.5%;
}
.monthly-report-print-table th:nth-child(2),
.monthly-report-print-table td:nth-child(2) {
    width: 10.5%;
}
.monthly-report-no-data {
    height: 165px;
    color: #64748b;
    font-size: 11px;
}
.monthly-report-print-footer {
    margin-top: 9px;
    padding-top: 6px;
    border-top: 1px solid #cbd5e1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #64748b;
    font-size: 8.5px;
}
.monthly-report-day-dense .monthly-report-print-table {
    font-size: 7.4px;
}
.monthly-report-day-dense .monthly-report-print-table th,
.monthly-report-day-dense .monthly-report-print-table td {
    padding: 3px 2px;
}
.monthly-report-day-ultra .monthly-report-month-overview,
.monthly-report-day-ultra .monthly-report-day-summary {
    gap: 4px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.monthly-report-day-ultra .monthly-report-print-table {
    font-size: 6.6px;
}
.monthly-report-day-ultra .monthly-report-print-table th,
.monthly-report-day-ultra .monthly-report-print-table td {
    padding: 2px 1px;
}
@media (max-width: 992px) {
    .monthly-report-month-overview,
    .monthly-report-day-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    .monthly-report-day {
        min-width: 1100px;
    }
    .monthly-complete-print-body {
        overflow-x: auto;
    }
}
@page {
    size: A4 landscape;
    margin: 7mm;
}
@media print {
    html,
    body.monthly-complete-print-body {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
    .monthly-complete-print-actions {
        display: none !important;
    }
    .monthly-report-day {
        width: 100%;
        max-width: none;
        min-width: 0;
        height: 195mm;
        min-height: 195mm;
        max-height: 195mm;
        margin: 0;
        padding: 4mm;
        border: 0;
        box-shadow: none;
        break-after: page;
        page-break-after: always;
        overflow: hidden;
    }
    .monthly-report-day-last {
        break-after: auto;
        page-break-after: auto;
    }
    .monthly-report-print-header {
        padding-bottom: 2.2mm;
    }
    .monthly-report-print-header h1 {
        font-size: 17px;
    }
    .monthly-report-date-box div {
        padding: 1.2mm 2mm;
    }
    .monthly-report-month-overview {
        margin-top: 2mm;
        gap: 1.5mm;
    }
    .monthly-report-month-overview div {
        padding: 1.2mm 1.8mm;
    }
    .monthly-report-day-title {
        margin-top: 2mm;
        padding: 1.5mm 2.4mm;
    }
    .monthly-report-day-summary {
        margin: 1.5mm 0;
        gap: 1.5mm;
    }
    .monthly-report-day-summary div {
        min-height: 9mm;
        padding: 1mm 1.5mm;
    }
    .monthly-report-print-table th,
    .monthly-report-print-table td {
        padding: 1.1mm .7mm;
    }
    .monthly-report-no-data {
        height: 75mm;
    }
    .monthly-report-print-footer {
        margin-top: 1.5mm;
        padding-top: 1.2mm;
    }
}
.monthly-company-summary-overview {
    grid-template-columns: repeat(10, 1fr);
}
.monthly-company-summary-cards {
    grid-template-columns: repeat(12, 1fr);
}
.monthly-company-summary-table {
    font-size: 7.6px;
    table-layout: fixed;
}
.monthly-company-summary-table th,
.monthly-company-summary-table td {
    overflow-wrap: anywhere;
}
.monthly-company-summary-table th:nth-child(1),
.monthly-company-summary-table td:nth-child(1) {
    width: 3%;
}
.monthly-company-summary-table th:nth-child(2),
.monthly-company-summary-table td:nth-child(2) {
    width: 16%;
}
.monthly-company-summary-table th:nth-child(3),
.monthly-company-summary-table td:nth-child(3),
.monthly-company-summary-table th:nth-child(4),
.monthly-company-summary-table td:nth-child(4),
.monthly-company-summary-table th:nth-child(5),
.monthly-company-summary-table td:nth-child(5),
.monthly-company-summary-table th:nth-child(6),
.monthly-company-summary-table td:nth-child(6),
.monthly-company-summary-table th:nth-child(7),
.monthly-company-summary-table td:nth-child(7),
.monthly-company-summary-table th:nth-child(8),
.monthly-company-summary-table td:nth-child(8),
.monthly-company-summary-table th:nth-child(9),
.monthly-company-summary-table td:nth-child(9),
.monthly-company-summary-table th:nth-child(10),
.monthly-company-summary-table td:nth-child(10),
.monthly-company-summary-table th:nth-child(11),
.monthly-company-summary-table td:nth-child(11) {
    width: 8%;
}
.monthly-company-summary-table th:nth-child(12),
.monthly-company-summary-table td:nth-child(12) {
    width: 9%;
}
@media (max-width: 992px) {
    .monthly-company-summary-overview,
    .monthly-company-summary-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
.monthly-report-day-dense .monthly-company-summary-table {
    font-size: 6.9px;
}
.monthly-report-day-ultra .monthly-company-summary-table {
    font-size: 6.2px;
}
.monthly-summary-list-title {
    display: grid;
    grid-template-columns: 1fr 240px auto;
    align-items: center;
    gap: 12px;
}
.monthly-summary-list-title .monthly-summary-list-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.monthly-summary-list-cards {
    grid-template-columns: repeat(6, 1fr);
}
.monthly-summary-list-table {
    direction: rtl;
    font-size: 8.2px;
}
.monthly-summary-list-table th,
.monthly-summary-list-table td {
    display: table-cell;
    min-width: 0;
}
.monthly-summary-list-table th:nth-child(1),
.monthly-summary-list-table td:nth-child(1) {
    width: 3.5%;
}
.monthly-summary-list-table th:nth-child(2),
.monthly-summary-list-table td:nth-child(2) {
    width: 14%;
}
.monthly-summary-list-table th:nth-child(3),
.monthly-summary-list-table td:nth-child(3) {
    width: 10%;
}
.monthly-summary-list-table th:nth-child(4),
.monthly-summary-list-table td:nth-child(4) {
    width: 15%;
}
.monthly-summary-list-table th:nth-child(5),
.monthly-summary-list-table td:nth-child(5) {
    width: 12%;
}
.monthly-summary-list-table th:nth-child(6),
.monthly-summary-list-table td:nth-child(6),
.monthly-summary-list-table th:nth-child(7),
.monthly-summary-list-table td:nth-child(7),
.monthly-summary-list-table th:nth-child(8),
.monthly-summary-list-table td:nth-child(8) {
    width: 10%;
}
.monthly-summary-list-table th:nth-child(9),
.monthly-summary-list-table td:nth-child(9) {
    width: 15.5%;
}
.monthly-summary-list-table td:nth-child(3),
.monthly-summary-list-table td:nth-child(6),
.monthly-summary-list-table td:nth-child(7),
.monthly-summary-list-table td:nth-child(8) {
    white-space: nowrap;
}
.monthly-ticket-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    max-width: 100%;
    padding: 3px 6px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 7.6px;
    font-weight: 800;
    line-height: 1.4;
    white-space: normal;
}
.monthly-ticket-status-active {
    background: #d8f0df;
    border-color: #599b70;
    color: #164f2b;
}
.monthly-ticket-status-cancelled {
    background: #f8dfe2;
    border-color: #b95764;
    color: #781f2b;
}
@media (max-width: 992px) {
    .monthly-summary-list-title {
        grid-template-columns: 1fr;
    }
    .monthly-summary-list-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media print {
    .monthly-summary-list-page .monthly-report-print-table th,
    .monthly-summary-list-page .monthly-report-print-table td {
        padding: .9mm .6mm;
    }
    .monthly-summary-list-page .monthly-report-no-data {
        height: 65mm;
    }
}
.monthly-summary-list-overview {
    grid-template-columns: repeat(10, minmax(0, 1fr));
}
.monthly-summary-list-cards {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}
.monthly-summary-list-sections {
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow: hidden;
}
.monthly-summary-list-section {
    width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
}
.monthly-summary-list-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 8px;
    border: 1px solid #aebdcd;
    border-bottom: 0;
    background: #dbe6f1;
    color: #172b42;
    font-size: 8.5px;
}
.monthly-summary-list-section-title strong {
    font-size: 9.5px;
}
.monthly-summary-list-table {
    font-size: 7.7px;
}
.monthly-summary-ticket-table th:nth-child(1),
.monthly-summary-ticket-table td:nth-child(1) {
    width: 3%;
}
.monthly-summary-ticket-table th:nth-child(2),
.monthly-summary-ticket-table td:nth-child(2) {
    width: 11%;
}
.monthly-summary-ticket-table th:nth-child(3),
.monthly-summary-ticket-table td:nth-child(3) {
    width: 8%;
}
.monthly-summary-ticket-table th:nth-child(4),
.monthly-summary-ticket-table td:nth-child(4) {
    width: 11%;
}
.monthly-summary-ticket-table th:nth-child(5),
.monthly-summary-ticket-table td:nth-child(5) {
    width: 10%;
}
.monthly-summary-ticket-table th:nth-child(6),
.monthly-summary-ticket-table td:nth-child(6) {
    width: 7.5%;
}
.monthly-summary-ticket-table th:nth-child(7),
.monthly-summary-ticket-table td:nth-child(7) {
    width: 8%;
}
.monthly-summary-ticket-table th:nth-child(8),
.monthly-summary-ticket-table td:nth-child(8) {
    width: 7%;
}
.monthly-summary-ticket-table th:nth-child(9),
.monthly-summary-ticket-table td:nth-child(9) {
    width: 6%;
}
.monthly-summary-ticket-table th:nth-child(10),
.monthly-summary-ticket-table td:nth-child(10) {
    width: 8.5%;
}
.monthly-summary-ticket-table th:nth-child(11),
.monthly-summary-ticket-table td:nth-child(11) {
    width: 8%;
}
.monthly-summary-ticket-table th:nth-child(12),
.monthly-summary-ticket-table td:nth-child(12) {
    width: 12%;
}
.monthly-summary-ticket-table td:nth-child(3),
.monthly-summary-ticket-table td:nth-child(6),
.monthly-summary-ticket-table td:nth-child(7),
.monthly-summary-ticket-table td:nth-child(8),
.monthly-summary-ticket-table td:nth-child(9),
.monthly-summary-ticket-table td:nth-child(10),
.monthly-summary-ticket-table td:nth-child(11) {
    white-space: nowrap;
}
.monthly-summary-hotel-table th:nth-child(1),
.monthly-summary-hotel-table td:nth-child(1) {
    width: 3.5%;
}
.monthly-summary-hotel-table th:nth-child(2),
.monthly-summary-hotel-table td:nth-child(2) {
    width: 12.5%;
}
.monthly-summary-hotel-table th:nth-child(3),
.monthly-summary-hotel-table td:nth-child(3) {
    width: 18%;
}
.monthly-summary-hotel-table th:nth-child(4),
.monthly-summary-hotel-table td:nth-child(4) {
    width: 10%;
}
.monthly-summary-hotel-table th:nth-child(5),
.monthly-summary-hotel-table td:nth-child(5) {
    width: 14%;
}
.monthly-summary-hotel-table th:nth-child(6),
.monthly-summary-hotel-table td:nth-child(6),
.monthly-summary-hotel-table th:nth-child(7),
.monthly-summary-hotel-table td:nth-child(7),
.monthly-summary-hotel-table th:nth-child(8),
.monthly-summary-hotel-table td:nth-child(8) {
    width: 10%;
}
.monthly-summary-hotel-table th:nth-child(9),
.monthly-summary-hotel-table td:nth-child(9) {
    width: 12%;
}
.monthly-summary-hotel-table td:nth-child(3),
.monthly-summary-hotel-table td:nth-child(4),
.monthly-summary-hotel-table td:nth-child(5) {
    white-space: normal;
}
.monthly-summary-invoice-table th:nth-child(1),
.monthly-summary-invoice-table td:nth-child(1) {
    width: 4%;
}
.monthly-summary-invoice-table th:nth-child(2),
.monthly-summary-invoice-table td:nth-child(2) {
    width: 18%;
}
.monthly-summary-invoice-table th:nth-child(3),
.monthly-summary-invoice-table td:nth-child(3) {
    width: 38%;
    white-space: normal;
}
.monthly-summary-invoice-table th:nth-child(4),
.monthly-summary-invoice-table td:nth-child(4) {
    width: 12%;
}
.monthly-summary-invoice-table th:nth-child(5),
.monthly-summary-invoice-table td:nth-child(5),
.monthly-summary-invoice-table th:nth-child(6),
.monthly-summary-invoice-table td:nth-child(6) {
    width: 14%;
}
.monthly-list-secondary {
    margin-top: 1px;
    color: #526579;
    font-size: 6.9px;
    line-height: 1.35;
}
.monthly-list-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    max-width: 100%;
    padding: 3px 5px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 7.1px;
    font-weight: 800;
    line-height: 1.35;
    white-space: normal;
}
.monthly-list-status-active {
    background: #d8f0df;
    border-color: #599b70;
    color: #164f2b;
}
.monthly-list-status-cancelled {
    background: #f8dfe2;
    border-color: #b95764;
    color: #781f2b;
}
.monthly-summary-list-empty {
    flex: 1;
    min-height: 80mm;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5ef;
    color: #64748b;
    font-size: 11px;
}
.monthly-report-day-dense .monthly-summary-list-sections {
    gap: 4px;
}
.monthly-report-day-dense .monthly-summary-list-section-title {
    padding: 2px 6px;
}
.monthly-report-day-ultra .monthly-summary-list-sections {
    gap: 3px;
}
.monthly-report-day-ultra .monthly-summary-list-section-title {
    padding: 1px 5px;
    font-size: 7px;
}
@media (max-width: 992px) {
    .monthly-summary-list-overview,
    .monthly-summary-list-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media print {
    .monthly-summary-list-page .monthly-summary-list-sections {
        gap: 1.2mm;
    }
    .monthly-summary-list-page .monthly-summary-list-section-title {
        padding: .7mm 1.5mm;
    }
    .monthly-summary-list-page .monthly-report-print-table th,
    .monthly-summary-list-page .monthly-report-print-table td {
        padding: .75mm .5mm;
    }
    .monthly-summary-list-page .monthly-summary-list-empty {
        min-height: 80mm;
    }
}
.monthly-full-services-overview {
    grid-template-columns: repeat(11, 1fr);
}
.monthly-full-services-cards {
    grid-template-columns: repeat(13, 1fr);
}
.monthly-full-service-sections {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 7px;
}
.monthly-full-service-section {
    width: 100%;
}
.monthly-full-service-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 8px;
    border: 1px solid #aebdcd;
    border-bottom: 0;
    background: #dbe6f1;
    color: #172b42;
    font-size: 8.5px;
}
.monthly-full-service-section-title strong {
    font-size: 9.5px;
}
.monthly-full-services-page .monthly-report-print-table {
    font-size: 7.4px;
}
.monthly-full-services-page .monthly-report-print-table th,
.monthly-full-services-page .monthly-report-print-table td {
    padding: 3px 2px;
}
.monthly-full-ticket-table {
    font-size: 6.2px;
}
.monthly-full-ticket-table th,
.monthly-full-ticket-table td {
    padding: 2px 1px;
    line-height: 1.35;
}
.monthly-full-ticket-table th:nth-child(1),
.monthly-full-ticket-table td:nth-child(1) {
    width: 2.8%;
}
.monthly-full-ticket-table th:nth-child(2),
.monthly-full-ticket-table td:nth-child(2) {
    width: 7.2%;
}
.monthly-full-ticket-table th:nth-child(3),
.monthly-full-ticket-table td:nth-child(3),
.monthly-full-ticket-table th:nth-child(9),
.monthly-full-ticket-table td:nth-child(9),
.monthly-full-ticket-table th:nth-child(10),
.monthly-full-ticket-table td:nth-child(10),
.monthly-full-ticket-table th:nth-child(11),
.monthly-full-ticket-table td:nth-child(11) {
    width: 4.5%;
}
.monthly-full-ticket-table th:nth-child(4),
.monthly-full-ticket-table td:nth-child(4),
.monthly-full-ticket-table th:nth-child(5),
.monthly-full-ticket-table td:nth-child(5),
.monthly-full-ticket-table th:nth-child(6),
.monthly-full-ticket-table td:nth-child(6),
.monthly-full-ticket-table th:nth-child(7),
.monthly-full-ticket-table td:nth-child(7),
.monthly-full-ticket-table th:nth-child(8),
.monthly-full-ticket-table td:nth-child(8),
.monthly-full-ticket-table th:nth-child(12),
.monthly-full-ticket-table td:nth-child(12),
.monthly-full-ticket-table th:nth-child(13),
.monthly-full-ticket-table td:nth-child(13),
.monthly-full-ticket-table th:nth-child(14),
.monthly-full-ticket-table td:nth-child(14),
.monthly-full-ticket-table th:nth-child(15),
.monthly-full-ticket-table td:nth-child(15),
.monthly-full-ticket-table th:nth-child(16),
.monthly-full-ticket-table td:nth-child(16) {
    width: 7.2%;
}
.monthly-full-services-page .monthly-full-no-data {
    height: auto;
    padding: 9px 4px;
}
.monthly-full-hotel-table th:nth-child(1),
.monthly-full-hotel-table td:nth-child(1) {
    width: 5%;
}
.monthly-full-hotel-table th:nth-child(2),
.monthly-full-hotel-table td:nth-child(2) {
    width: 27%;
    white-space: normal;
}
.monthly-full-hotel-table th:nth-child(3),
.monthly-full-hotel-table td:nth-child(3) {
    width: 11%;
}
.monthly-full-hotel-table th:nth-child(4),
.monthly-full-hotel-table td:nth-child(4),
.monthly-full-hotel-table th:nth-child(5),
.monthly-full-hotel-table td:nth-child(5),
.monthly-full-hotel-table th:nth-child(6),
.monthly-full-hotel-table td:nth-child(6),
.monthly-full-hotel-table th:nth-child(7),
.monthly-full-hotel-table td:nth-child(7) {
    width: 14.25%;
}
.monthly-full-invoice-table th:nth-child(1),
.monthly-full-invoice-table td:nth-child(1) {
    width: 4%;
}
.monthly-full-invoice-table th:nth-child(2),
.monthly-full-invoice-table td:nth-child(2) {
    width: 14%;
}
.monthly-full-invoice-table th:nth-child(3),
.monthly-full-invoice-table td:nth-child(3) {
    width: 20%;
}
.monthly-full-invoice-table th:nth-child(4),
.monthly-full-invoice-table td:nth-child(4) {
    width: 30%;
}
.monthly-full-invoice-table th:nth-child(5),
.monthly-full-invoice-table td:nth-child(5) {
    width: 12%;
}
.monthly-full-invoice-table th:nth-child(6),
.monthly-full-invoice-table td:nth-child(6),
.monthly-full-invoice-table th:nth-child(7),
.monthly-full-invoice-table td:nth-child(7) {
    width: 10%;
}
.monthly-full-invoice-table td:nth-child(2),
.monthly-full-invoice-table td:nth-child(3),
.monthly-full-invoice-table td:nth-child(4) {
    white-space: normal;
}
.monthly-report-day-dense .monthly-full-service-sections {
    gap: 4px;
}
.monthly-report-day-dense .monthly-full-service-section-title {
    padding: 2px 6px;
}
.monthly-report-day-ultra .monthly-full-service-sections {
    gap: 3px;
}
.monthly-report-day-ultra .monthly-full-service-section-title {
    padding: 1px 5px;
    font-size: 7px;
}
@media (max-width: 992px) {
    .monthly-full-services-overview,
    .monthly-full-services-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media print {
    .monthly-full-services-page {
        height: auto;
        min-height: 195mm;
        max-height: none;
        overflow: visible;
    }
    .monthly-full-services-page .monthly-full-service-sections {
        gap: 1.2mm;
    }
    .monthly-full-services-page .monthly-full-service-section-title {
        padding: .7mm 1.5mm;
    }
    .monthly-full-services-page .monthly-report-print-table th,
    .monthly-full-services-page .monthly-report-print-table td {
        padding: .7mm .45mm;
    }
    .monthly-full-services-page .monthly-full-ticket-table {
        font-size: 5.6px;
    }
    .monthly-full-services-page .monthly-full-ticket-table th,
    .monthly-full-services-page .monthly-full-ticket-table td {
        padding: .55mm .2mm;
        line-height: 1.25;
    }
}
.monthly-report-month-overview,
.monthly-report-day-summary {
    gap: 0;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
}
.monthly-report-month-overview div,
.monthly-report-day-summary div {
    min-width: 0;
    min-height: 0;
    padding: 4px 5px;
    border: 0;
    border-left: 1px solid #dce5ef;
    border-radius: 0;
    background: transparent;
    text-align: center;
}
.monthly-report-month-overview div:last-child,
.monthly-report-day-summary div:last-child {
    border-left: 0;
}
.monthly-report-month-overview span,
.monthly-report-day-summary span {
    margin: 0 0 1px;
    font-size: 7.7px;
    line-height: 1.2;
}
.monthly-report-month-overview strong,
.monthly-report-day-summary strong {
    display: block;
    font-size: 8.8px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.monthly-report-day-title {
    min-height: 0;
    margin-top: 5px;
    padding: 4px 7px;
    border-radius: 4px;
}
.monthly-report-day-title div {
    gap: 5px;
}
.monthly-report-day-title span {
    font-size: 8px;
    line-height: 1.2;
}
.monthly-report-day-title strong {
    font-size: 10.5px;
    line-height: 1.2;
}
.monthly-report-activity-badge,
.monthly-report-empty-badge {
    padding: 2px 6px;
    line-height: 1.2;
}
.monthly-report-day-summary {
    margin: 5px 0;
}
.monthly-summary-list-title {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 7px;
}
.monthly-summary-list-title .monthly-summary-list-date {
    gap: 5px;
    white-space: nowrap;
}
@media print {
    .monthly-report-month-overview {
        margin-top: .8mm;
        border-radius: .8mm;
    }
    .monthly-report-month-overview div,
    .monthly-report-day-summary div {
        min-height: 0;
        padding: .45mm .65mm;
    }
    .monthly-report-month-overview span,
    .monthly-report-day-summary span {
        margin-bottom: .15mm;
        font-size: 6.3px;
        line-height: 1.12;
    }
    .monthly-report-month-overview strong,
    .monthly-report-day-summary strong {
        font-size: 7.4px;
        line-height: 1.15;
    }
    .monthly-report-day-title {
        margin-top: .8mm;
        padding: .55mm 1.2mm;
        border-radius: .8mm;
    }
    .monthly-report-day-title div {
        gap: 1mm;
    }
    .monthly-report-day-title span {
        font-size: 6.6px;
    }
    .monthly-report-day-title strong {
        font-size: 8.4px;
    }
    .monthly-report-activity-badge,
    .monthly-report-empty-badge {
        padding: .4mm 1.2mm;
        font-size: 6.4px;
    }
    .monthly-report-day-summary {
        margin: .7mm 0 .9mm;
        border-radius: .8mm;
    }
    .monthly-report-month-overview {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .monthly-company-summary-overview {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }
    .monthly-full-services-overview {
        grid-template-columns: repeat(11, minmax(0, 1fr));
    }
    .monthly-report-day-summary {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .monthly-company-summary-cards {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .monthly-summary-list-overview {
        grid-template-columns: repeat(10, minmax(0, 1fr));
    }
    .monthly-summary-list-cards {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
    .monthly-full-services-cards {
        grid-template-columns: repeat(13, minmax(0, 1fr));
    }
    .monthly-summary-list-title {
        grid-template-columns: minmax(0, 1fr) auto auto;
        gap: 1.5mm;
    }
}
.salary-nav-group {
    margin: 0 .65rem .35rem;
    padding: .45rem .25rem .5rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .85rem;
    background: rgba(255,255,255,.025);
}
.salary-nav-parent {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem .75rem .4rem;
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
}
.sb-sidenav .salary-nav-group .salary-sub-link {
    margin: .08rem .3rem;
    padding: .55rem .75rem;
    font-size: .84rem;
}
.sb-sidenav .salary-nav-group .salary-sub-link .nav-icon {
    width: 1.35rem;
    height: 1.35rem;
    font-size: .8rem;
}

@media screen {
:root {
    --topbar-height: 72px;
    --sidebar-width: 292px;
    --sidebar-collapsed-width: 88px;
    --ui-bg: #f3f6fb;
    --ui-surface: #ffffff;
    --ui-surface-soft: #f8fafc;
    --ui-border: #e5eaf2;
    --ui-border-strong: #d8dfeb;
    --ui-text: #172033;
    --ui-muted: #718096;
    --ui-primary: #3157d5;
    --ui-primary-strong: #2748b5;
    --ui-primary-soft: #eef2ff;
    --ui-success: #0d9f6e;
    --ui-warning: #d88b16;
    --ui-danger: #d3455b;
    --ui-violet: #7557d8;
    --ui-sky: #1888bf;
    --ui-shadow-sm: 0 5px 18px rgba(20, 34, 66, .055);
    --ui-shadow-md: 0 14px 40px rgba(20, 34, 66, .085);
    --ui-shadow-lg: 0 24px 70px rgba(20, 34, 66, .12);
}
html { scroll-behavior: smooth; }
body {
    background: var(--ui-bg);
    color: var(--ui-text);
    overflow-x: hidden;
    font-size: .93rem;
}
body.sb-nav-fixed { padding-top: var(--topbar-height); }
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.app-topbar {
    height: var(--topbar-height);
    padding: 0;
    border-bottom: 1px solid rgba(216, 223, 235, .78);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(20, 34, 66, .055);
    z-index: 1040;
}
.app-topbar-inner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    gap: 12px;
}
.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 250px;
    color: var(--ui-text);
    text-decoration: none;
}
.app-brand:hover { color: var(--ui-text); }
.app-brand-mark {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(145deg, #3157d5, #223f9e);
    color: #fff;
    box-shadow: 0 10px 24px rgba(49, 87, 213, .25);
    font-size: 1.15rem;
}
.app-brand-copy { display: flex; flex-direction: column; line-height: 1.35; }
.app-brand-copy strong { font-size: .97rem; font-weight: 800; color: #15213a; }
.app-brand-copy small { color: #8893a7; font-size: .68rem; margin-top: 2px; }
.app-sidebar-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--ui-border);
    border-radius: 13px;
    background: #fff;
    color: #4b5870;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    box-shadow: var(--ui-shadow-sm);
}
.app-sidebar-toggle:hover { background: var(--ui-primary-soft); color: var(--ui-primary); border-color: #d9e0ff; }
.app-topbar-spacer { flex: 1 1 auto; }
.app-topbar-date {
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    color: #667085;
    background: #fbfcfe;
    font-size: .79rem;
}
.app-user-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 4px 6px 4px 12px;
    border: 1px solid var(--ui-border);
    border-radius: 14px;
    background: #fff;
}
.app-user-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef2ff;
    color: var(--ui-primary);
    font-size: 1rem;
}
.app-user-copy { display: flex; flex-direction: column; min-width: 100px; line-height: 1.25; }
.app-user-copy strong { font-size: .78rem; color: #25314a; font-weight: 800; }
.app-user-copy small { font-size: .67rem; color: #919aae; margin-top: 2px; }
.app-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #f0dfe3;
    border-radius: 12px;
    background: #fff;
    color: #b84355;
    font-size: .78rem;
    font-weight: 700;
}
.app-logout-btn:hover { background: #fff3f5; border-color: #edccd2; color: #a93649; }
#layoutSidenav { display: flex; min-height: calc(100vh - var(--topbar-height)); align-items: stretch; }
#layoutSidenav_nav {
    width: var(--sidebar-width);
    min-height: calc(100vh - var(--topbar-height));
    height: calc(100vh - var(--topbar-height));
    position: sticky;
    top: var(--topbar-height);
    flex: 0 0 var(--sidebar-width);
    transition: width .24s ease, flex-basis .24s ease, transform .24s ease;
    z-index: 1030;
}
#layoutSidenav_content {
    width: calc(100% - var(--sidebar-width));
    min-width: 0;
    min-height: calc(100vh - var(--topbar-height));
    background: transparent;
    transition: width .24s ease;
}
.sb-sidenav {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid rgba(255,255,255,.055);
}
.sb-sidenav-dark {
    background:
        radial-gradient(circle at 20% 0%, rgba(73, 102, 198, .22), transparent 30%),
        linear-gradient(180deg, #111a2d 0%, #0c1425 58%, #09101e 100%);
    color: rgba(255,255,255,.78);
}
.sb-sidenav-menu { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; padding: 13px 10px 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
.sb-sidenav-menu::-webkit-scrollbar { width: 5px; }
.sb-sidenav-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 999px; }
.sidebar-top-panel {
    margin: 2px 2px 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 18px;
    background: rgba(255,255,255,.035);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.sidebar-context { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.sidebar-context-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(88,120,227,.35), rgba(88,120,227,.12));
    color: #bfcfff;
}
.sidebar-context div { display: flex; flex-direction: column; line-height: 1.35; }
.sidebar-context strong { font-size: .82rem; color: #f7f9ff; }
.sidebar-context small { margin-top: 2px; font-size: .65rem; color: rgba(255,255,255,.43); }
.sidebar-search-wrap { position: relative; }
.sidebar-search-wrap > i {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.42);
    font-size: .82rem;
    pointer-events: none;
}
.sidebar-menu-search {
    width: 100%;
    height: 38px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 11px;
    outline: 0;
    padding: 0 33px 0 30px;
    background: rgba(4, 10, 21, .28);
    color: #fff;
    font-size: .75rem;
}
.sidebar-menu-search::placeholder { color: rgba(255,255,255,.36); }
.sidebar-menu-search:focus { border-color: rgba(111,143,255,.58); background: rgba(4,10,21,.42); box-shadow: 0 0 0 3px rgba(77,106,210,.12); }
.sidebar-search-clear {
    display: none;
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,.48);
}
.sidebar-search-wrap.has-value .sidebar-search-clear { display: grid; place-items: center; }
.sidebar-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
}
.sidebar-quick-actions a {
    display: flex;
    min-width: 0;
    min-height: 49px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    color: rgba(255,255,255,.68);
    text-decoration: none;
    background: rgba(255,255,255,.025);
}
.sidebar-quick-actions a:hover { color: #fff; background: rgba(75,105,211,.18); border-color: rgba(112,142,246,.25); transform: translateY(-1px); }
.sidebar-quick-actions i { font-size: .9rem; }
.sidebar-quick-actions span { font-size: .6rem; white-space: nowrap; }
.sidebar-nav-list { display: flex; flex-direction: column; gap: 7px; }
.sidebar-section {
    padding: 7px 4px 8px;
    border: 1px solid transparent;
    border-radius: 16px;
    transition: background .18s ease, border-color .18s ease;
}
.sidebar-section:hover { background: rgba(255,255,255,.018); border-color: rgba(255,255,255,.035); }
.sb-sidenav-menu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 10px 7px;
    color: rgba(255,255,255,.36);
    font-size: .64rem;
    font-weight: 700;
}
.sb-sidenav-menu-heading i { font-size: .72rem; opacity: .75; }
.sb-sidenav .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    margin: 2px 3px;
    padding: 7px 9px;
    border-radius: 12px;
    color: rgba(240,244,255,.68);
    font-size: .78rem;
    font-weight: 600;
    overflow: hidden;
}
.sb-sidenav .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.065);
    transform: translateX(-2px);
}
.sb-sidenav .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(66,96,204,.34), rgba(66,96,204,.15));
    box-shadow: inset -3px 0 0 #8ea8ff, 0 7px 18px rgba(2,6,23,.16);
}
.sb-sidenav .nav-link.active::after {
    content: '';
    position: absolute;
    inset: 5px auto 5px 0;
    width: 1px;
    background: linear-gradient(transparent, rgba(255,255,255,.28), transparent);
}
.nav-icon {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    color: rgba(215,225,255,.78);
    font-size: .88rem;
}
.sb-sidenav .nav-link:hover .nav-icon { background: rgba(255,255,255,.09); color: #fff; }
.sb-sidenav .nav-link.active .nav-icon { background: rgba(141,166,255,.16); color: #c7d4ff; }
.nav-label { min-width: 0; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-arrow { margin-right: auto; color: rgba(255,255,255,.22); font-size: .6rem; transition: transform .18s ease; }
.sb-sidenav .nav-link:hover .nav-arrow { color: rgba(255,255,255,.62); transform: translateX(-2px); }
.salary-nav-group {
    margin: 1px 3px 3px;
    padding: 6px 3px 5px;
    border: 1px solid rgba(130,104,232,.14);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(118,87,216,.075), rgba(118,87,216,.025));
}
.salary-nav-parent { display: flex; align-items: center; gap: 9px; padding: 5px 8px 7px; color: #d7ceff; font-size: .72rem; font-weight: 800; }
.salary-nav-parent .nav-icon { background: rgba(118,87,216,.13); color: #cfc4ff; }
.sb-sidenav .salary-nav-group .salary-sub-link { margin: 1px 2px; padding: 6px 7px; min-height: 39px; font-size: .74rem; }
.sb-sidenav .salary-nav-group .salary-sub-link .nav-icon { width: 27px; height: 27px; flex-basis: 27px; font-size: .78rem; border-radius: 9px; }
.sb-sidenav-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 66px;
    padding: 10px 15px;
    border-top: 1px solid rgba(255,255,255,.055);
    background: rgba(2,8,19,.32);
}
.sidebar-footer-icon { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 34px; border-radius: 10px; background: rgba(27,159,110,.11); color: #5fd2a7; }
.sidebar-footer-copy { display: flex; min-width: 0; flex-direction: column; line-height: 1.3; }
.sidebar-footer-copy small { color: rgba(255,255,255,.34); font-size: .62rem; }
.sidebar-footer-copy strong { color: rgba(255,255,255,.76); font-size: .72rem; margin-top: 2px; white-space: nowrap; }
.sidebar-backdrop { display: none; }
body.sidebar-collapsed #layoutSidenav_nav { display: block; width: var(--sidebar-collapsed-width); flex-basis: var(--sidebar-collapsed-width); }
body.sidebar-collapsed #layoutSidenav_content { width: calc(100% - var(--sidebar-collapsed-width)); }
body.sidebar-collapsed .sidebar-top-panel { padding: 8px; }
body.sidebar-collapsed .sidebar-context div,
body.sidebar-collapsed .sidebar-search-wrap,
body.sidebar-collapsed .sidebar-quick-actions,
body.sidebar-collapsed .sb-sidenav-menu-heading,
body.sidebar-collapsed .nav-label,
body.sidebar-collapsed .nav-arrow,
body.sidebar-collapsed .salary-nav-parent .nav-label,
body.sidebar-collapsed .sidebar-footer-copy { display: none; }
body.sidebar-collapsed .sidebar-context { margin: 0; justify-content: center; }
body.sidebar-collapsed .sidebar-context-icon { width: 40px; height: 40px; }
body.sidebar-collapsed .sidebar-section { padding: 4px 1px; }
body.sidebar-collapsed .sb-sidenav .nav-link { justify-content: center; margin: 3px 1px; padding: 6px; }
body.sidebar-collapsed .salary-nav-group { margin: 0; padding: 3px 1px; }
body.sidebar-collapsed .salary-nav-parent { justify-content: center; padding: 4px 0; }
body.sidebar-collapsed .sb-sidenav-footer { justify-content: center; padding: 10px; }
body.sidebar-collapsed .nav-icon { width: 34px; height: 34px; flex-basis: 34px; }
.app-main-content { max-width: 1720px; margin-inline: auto; padding-bottom: 30px; }
#layoutSidenav_content > footer {
    border-top: 1px solid var(--ui-border) !important;
    background: rgba(255,255,255,.72) !important;
    color: var(--ui-muted);
}
.card {
    border: 1px solid var(--ui-border);
    border-radius: 16px;
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow-sm);
}
.card-header {
    padding: .9rem 1rem;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
    color: #29364f;
    font-weight: 800;
}
.card-body { padding: 1rem; }
.card-footer { border-top: 1px solid #edf0f5; background: #fbfcfe; }
.btn {
    min-height: 39px;
    border-radius: 10px;
    padding-inline: .85rem;
    font-weight: 700;
    font-size: .79rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-sm { min-height: 32px; border-radius: 9px; font-size: .72rem; }
.btn-primary { background: var(--ui-primary); border-color: var(--ui-primary); box-shadow: 0 6px 16px rgba(49,87,213,.16); }
.btn-primary:hover { background: var(--ui-primary-strong); border-color: var(--ui-primary-strong); transform: translateY(-1px); }
.btn-outline-primary { color: var(--ui-primary); border-color: #cad4fb; background: #fff; }
.btn-outline-primary:hover { background: var(--ui-primary-soft); color: var(--ui-primary-strong); border-color: #bfcaf5; }
.form-label { color: #3d4860; font-size: .78rem; font-weight: 800; margin-bottom: .42rem; }
.form-control,
.form-select,
.input-group-text {
    min-height: 42px;
    border: 1px solid #dbe1eb;
    border-radius: 10px;
    background-color: #fff;
    color: #243149;
    font-size: .82rem;
}
.form-control::placeholder { color: #a3abba; }
.form-control:focus,
.form-select:focus {
    border-color: #9eb0ec;
    box-shadow: 0 0 0 3px rgba(49,87,213,.10);
}
.form-check-input { border-color: #c8d0dd; }
.form-check-input:checked { background-color: var(--ui-primary); border-color: var(--ui-primary); }
.table-responsive {
    border: 1px solid var(--ui-border);
    border-radius: 13px;
    background: #fff;
    overflow: auto;
}
.table { margin-bottom: 0; color: #354057; --bs-table-bg: transparent; }
.table > :not(caption) > * > * { padding: .72rem .7rem; border-bottom-color: #edf0f4; vertical-align: middle; }
.table thead th {
    color: #5a6579;
    background: #f7f9fc;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
    border-bottom: 1px solid #e5e9f0;
}
.table tbody td { font-size: .78rem; }
.table tbody tr { transition: background-color .15s ease; }
.table tbody tr:hover { background: #f8faff; }
.table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: rgba(246,248,252,.7); }
.badge { padding: .42rem .58rem; border-radius: 8px; font-weight: 700; font-size: .67rem; }
.pagination { gap: 3px; }
.pagination .page-link {
    min-width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    margin: 0;
    border: 1px solid var(--ui-border);
    border-radius: 9px;
    color: #536078;
    background: #fff;
    font-size: .74rem;
}
.pagination .active .page-link { background: var(--ui-primary); border-color: var(--ui-primary); box-shadow: 0 6px 14px rgba(49,87,213,.17); }
.app-alert {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 13px;
    box-shadow: var(--ui-shadow-sm);
    font-size: .8rem;
}
.alert-success.app-alert { color: #087451; background: #eafaf4; }
.alert-danger.app-alert { color: #a9384a; background: #fff0f2; }
.searchable-select-menu { border-color: var(--ui-border); border-radius: 11px; box-shadow: var(--ui-shadow-md) !important; }
.searchable-select-item { font-size: .78rem; padding: .62rem .75rem; }
.searchable-select-item:hover, .searchable-select-item.active { background: #f0f4ff; color: var(--ui-primary-strong); }
.dashboard-shell { display: flex; flex-direction: column; gap: 22px; }
.dashboard-hero {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 27px 30px;
    border: 1px solid rgba(49,87,213,.12);
    border-radius: 22px;
    background:
        radial-gradient(circle at 8% 18%, rgba(91,116,220,.19), transparent 25%),
        radial-gradient(circle at 95% 90%, rgba(16,159,110,.09), transparent 25%),
        linear-gradient(125deg, #fff 0%, #f7f9ff 52%, #f4f7ff 100%);
    box-shadow: var(--ui-shadow-md);
}
.dashboard-hero::after {
    content: '';
    position: absolute;
    width: 310px;
    height: 310px;
    left: -105px;
    bottom: -210px;
    border: 1px solid rgba(49,87,213,.09);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(49,87,213,.025), 0 0 0 72px rgba(49,87,213,.018);
    pointer-events: none;
}
.dashboard-hero-content { position: relative; z-index: 1; max-width: 760px; }
.dashboard-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 8px; background: #eef2ff; color: #4b61c4; font-size: .68rem; font-weight: 800; }
.dashboard-hero h1 { margin: 10px 0 7px; font-size: clamp(1.35rem, 2.1vw, 1.9rem); font-weight: 900; color: #17213a; letter-spacing: -.02em; }
.dashboard-hero p { margin: 0; color: #737f95; font-size: .82rem; line-height: 1.9; }
.dashboard-hero-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.dashboard-hero-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #e6eaf2; border-radius: 9px; background: rgba(255,255,255,.78); color: #6d7890; font-size: .68rem; }
.dashboard-hero-meta i { color: var(--ui-primary); }
.dashboard-hero-actions { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 165px; gap: 9px; }
.dashboard-hero-actions .btn { min-height: 44px; border-radius: 12px; }
.dashboard-primary-action { background: #233d97; color: #fff; border: 1px solid #233d97; box-shadow: 0 10px 22px rgba(35,61,151,.2); }
.dashboard-primary-action:hover { background: #1c327f; color: #fff; transform: translateY(-1px); }
.dashboard-secondary-action { background: rgba(255,255,255,.8); color: #354365; border: 1px solid #dfe5ef; }
.dashboard-secondary-action:hover { background: #fff; color: var(--ui-primary); border-color: #ccd6f5; }
.dashboard-kpi-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.dashboard-kpi {
    position: relative;
    min-width: 0;
    min-height: 154px;
    overflow: hidden;
    padding: 17px;
    border: 1px solid var(--ui-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}
.dashboard-kpi::before { content: ''; position: absolute; top: -44px; left: -44px; width: 112px; height: 112px; border-radius: 50%; background: currentColor; opacity: .045; }
.dashboard-kpi-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 1rem; margin-bottom: 13px; }
.dashboard-kpi-body { display: flex; min-width: 0; flex-direction: column; }
.dashboard-kpi-body > span { color: #7a8599; font-size: .68rem; font-weight: 700; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-kpi-body strong { color: #202c45; font-size: clamp(1rem, 1.45vw, 1.28rem); font-weight: 900; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-kpi-body small { color: #9aa3b3; font-size: .61rem; margin-top: 4px; line-height: 1.4; }
.dashboard-kpi-link { position: absolute; left: 12px; bottom: 12px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: #f5f7fb; color: #8791a4; text-decoration: none; }
.dashboard-kpi-link:hover { color: currentColor; transform: translateX(-2px); }
.dashboard-kpi-primary { color: var(--ui-primary); }
.dashboard-kpi-primary .dashboard-kpi-icon { color: var(--ui-primary); background: #eef2ff; }
.dashboard-kpi-primary .dashboard-kpi-foot { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 4px; color: #8993a7; font-size: .6rem; }
.dashboard-kpi-sky { color: var(--ui-sky); }
.dashboard-kpi-sky .dashboard-kpi-icon { color: var(--ui-sky); background: #ebf8fd; }
.dashboard-kpi-violet { color: var(--ui-violet); }
.dashboard-kpi-violet .dashboard-kpi-icon { color: var(--ui-violet); background: #f2efff; }
.dashboard-kpi-amber { color: var(--ui-warning); }
.dashboard-kpi-amber .dashboard-kpi-icon { color: var(--ui-warning); background: #fff7e9; }
.dashboard-kpi-danger { color: var(--ui-danger); }
.dashboard-kpi-danger .dashboard-kpi-icon { color: var(--ui-danger); background: #fff0f2; }
.dashboard-kpi-success { color: var(--ui-success); }
.dashboard-kpi-success .dashboard-kpi-icon { color: var(--ui-success); background: #eafaf4; }
.dashboard-panel {
    overflow: hidden;
    padding: 20px;
    border: 1px solid var(--ui-border);
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--ui-shadow-sm);
}
.dashboard-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.dashboard-panel-head.compact { align-items: center; }
.dashboard-panel-eyebrow { display: block; margin-bottom: 3px; color: #8c96a9; font-size: .63rem; font-weight: 800; }
.dashboard-panel-head h2 { margin: 0; color: #26324a; font-size: .98rem; font-weight: 900; }
.dashboard-panel-head p { margin: 5px 0 0; color: #929bae; font-size: .66rem; }
.dashboard-panel-head-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; background: #f1f4fb; color: #63708a; }
.dashboard-panel-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ui-primary); text-decoration: none; font-size: .68rem; font-weight: 800; }
.dashboard-chart-total { display: flex; flex-direction: column; text-align: left; direction: ltr; }
.dashboard-chart-total span { color: #929bad; font-size: .61rem; }
.dashboard-chart-total strong { color: #26324a; font-size: .92rem; margin-top: 3px; }
.dashboard-chart-total small { color: #a3abba; font-size: .57rem; }
.dashboard-chart-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; color: #7d8799; font-size: .63rem; }
.dashboard-chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.legend-ticket { background: #4263d7; }
.legend-hotel { background: #7a60d7; }
.legend-invoice { background: #e4a333; }
.dashboard-performance-chart { min-height: 290px; position: relative; direction: ltr; }
.dashboard-performance-chart svg { display: block; width: 100%; height: auto; min-height: 270px; overflow: visible; }
.dashboard-chart-grid { stroke: #edf0f5; stroke-width: 1; }
.dashboard-chart-axis-label { fill: #9aa4b5; font-size: 10px; font-family: Vazirmatn, Tahoma, sans-serif; }
.dashboard-chart-month-label { fill: #6f7a8f; font-size: 10px; font-weight: 700; font-family: Vazirmatn, Tahoma, sans-serif; }
.dashboard-chart-bar { rx: 5px; transition: opacity .18s ease, transform .18s ease; transform-box: fill-box; transform-origin: center bottom; }
.dashboard-chart-bar:hover { opacity: .8; transform: scaleY(1.015); }
.dashboard-chart-ticket { fill: #4263d7; }
.dashboard-chart-hotel { fill: #7a60d7; }
.dashboard-chart-invoice { fill: #e4a333; }
.dashboard-chart-empty { min-height: 260px; display: grid; place-items: center; color: #919bad; font-size: .75rem; text-align: center; }
.dashboard-chart-empty i { display: block; font-size: 1.5rem; margin-bottom: 7px; color: #b2bac8; }
.dashboard-chart-loading { min-height: 260px; display: flex; align-items: end; justify-content: center; gap: 8px; padding-bottom: 70px; }
.dashboard-chart-loading span { width: 16px; border-radius: 6px 6px 2px 2px; background: #e6eaf3; animation: dashboardLoading 1s ease-in-out infinite alternate; }
.dashboard-chart-loading span:nth-child(1) { height: 46px; }
.dashboard-chart-loading span:nth-child(2) { height: 82px; animation-delay: .15s; }
.dashboard-chart-loading span:nth-child(3) { height: 60px; animation-delay: .3s; }
@keyframes dashboardLoading { to { opacity: .35; transform: scaleY(.8); } }
.dashboard-quick-grid { display: flex; flex-direction: column; gap: 7px; }
.dashboard-quick-grid a {
    display: grid;
    grid-template-columns: 39px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 8px 10px;
    border: 1px solid #edf0f5;
    border-radius: 13px;
    color: #43506a;
    text-decoration: none;
    background: #fbfcfe;
}
.dashboard-quick-grid a:hover { border-color: #d8e0f7; background: #f6f8ff; transform: translateX(-2px); box-shadow: 0 7px 18px rgba(34,52,100,.05); }
.dashboard-quick-grid a > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 11px; color: #5169c8; background: #eef2ff; }
.dashboard-quick-grid a > div { display: flex; min-width: 0; flex-direction: column; }
.dashboard-quick-grid strong { font-size: .73rem; font-weight: 800; color: #36435c; }
.dashboard-quick-grid small { color: #9aa3b3; font-size: .61rem; margin-top: 2px; }
.dashboard-quick-grid a > i { color: #acb4c2; font-size: .72rem; }
.dashboard-debt-list { display: flex; flex-direction: column; gap: 7px; }
.dashboard-debt-row { display: flex; align-items: center; gap: 11px; padding: 9px 8px; border-radius: 11px; text-decoration: none; color: inherit; }
.dashboard-debt-row:hover { background: #fafbfe; }
.dashboard-debt-rank { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 28px; border-radius: 9px; background: #f3f5f9; color: #7b8597; font-size: .66rem; font-weight: 800; }
.dashboard-debt-info { flex: 1 1 auto; min-width: 0; }
.dashboard-debt-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.dashboard-debt-title strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3c4860; font-size: .72rem; }
.dashboard-debt-title span { flex: 0 0 auto; color: #c24558; font-size: .67rem; }
.dashboard-debt-track { height: 5px; overflow: hidden; border-radius: 999px; background: #f1f3f7; }
.dashboard-debt-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ef9aa7, #d34c62); }
.dashboard-base-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.dashboard-base-grid a { min-height: 96px; display: grid; grid-template-columns: 32px minmax(0,1fr); grid-template-rows: auto auto; align-items: center; gap: 2px 9px; padding: 12px; border: 1px solid #edf0f5; border-radius: 13px; color: #69758b; background: #fbfcfe; text-decoration: none; }
.dashboard-base-grid a:hover { background: #f7f9ff; border-color: #dbe2f5; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(34,52,100,.05); }
.dashboard-base-grid i { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #eef2ff; color: #536bc6; }
.dashboard-base-grid span { font-size: .64rem; color: #8b95a7; }
.dashboard-base-grid strong { font-size: .9rem; color: #35425c; }
.dashboard-empty-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9aa3b3; text-align: center; }
.dashboard-empty-state i { color: #41b68c; font-size: 1.55rem; margin-bottom: 8px; }
.dashboard-empty-state strong { font-size: .72rem; }
.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 18%, rgba(71,96,191,.32), transparent 28%),
        radial-gradient(circle at 88% 80%, rgba(16,159,110,.16), transparent 25%),
        linear-gradient(145deg, #101a30 0%, #172441 52%, #10192d 100%);
}
.auth-page .container { position: relative; z-index: 1; }
.auth-page .card { overflow: hidden; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 22px !important; box-shadow: 0 28px 80px rgba(2,8,23,.28) !important; }
.auth-page .card-header { padding-top: 1.4rem; border: 0; }
.auth-page .card-header h3 { font-size: 1.25rem; font-weight: 900; color: #202c45; }
.auth-page .card-footer { padding: .85rem; background: #fafbfe; border-color: #edf0f4; }
.auth-page .btn-primary { min-height: 44px; }
}

@media screen and (max-width: 1399.98px) {
.dashboard-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 991.98px) {
:root { --topbar-height: 66px; }
body.sb-nav-fixed { padding-top: var(--topbar-height); }
.app-topbar { height: var(--topbar-height); }
.app-topbar-inner { padding: 0 12px; gap: 8px; }
.app-brand { min-width: auto; }
.app-brand-mark { width: 39px; height: 39px; border-radius: 12px; }
.app-brand-copy small { display: none; }
.app-brand-copy strong { font-size: .86rem; }
.app-user-copy { display: none; }
.app-user-chip { min-width: 42px; padding: 3px; border: 0; background: transparent; }
.app-user-avatar { width: 36px; height: 36px; }
.app-logout-btn { width: 39px; min-height: 39px; padding: 0; }
.app-logout-btn span { display: none; }
#layoutSidenav { display: block; min-height: calc(100vh - var(--topbar-height)); }
#layoutSidenav_nav,
body.sidebar-collapsed #layoutSidenav_nav {
    position: fixed;
    top: var(--topbar-height);
    right: 0;
    bottom: 0;
    width: min(86vw, 310px);
    height: calc(100vh - var(--topbar-height));
    min-height: 0;
    transform: translateX(105%);
    flex-basis: auto;
    box-shadow: -20px 0 60px rgba(2,8,23,.18);
    z-index: 1050;
}
#layoutSidenav_content,
body.sidebar-collapsed #layoutSidenav_content { width: 100%; min-height: calc(100vh - var(--topbar-height)); }
body.sidebar-mobile-open #layoutSidenav_nav { transform: translateX(0); }
body.sidebar-mobile-open { overflow: hidden; }
body.sidebar-mobile-open .sidebar-backdrop { display: block; opacity: 1; pointer-events: auto; }
.sidebar-backdrop { display: block; position: fixed; inset: var(--topbar-height) 0 0; z-index: 1045; background: rgba(10,17,30,.45); opacity: 0; pointer-events: none; backdrop-filter: blur(2px); transition: opacity .22s ease; }
body.sidebar-collapsed .sidebar-top-panel { padding: 12px; }
body.sidebar-collapsed .sidebar-context div,
body.sidebar-collapsed .sidebar-search-wrap,
body.sidebar-collapsed .sidebar-quick-actions,
body.sidebar-collapsed .sb-sidenav-menu-heading,
body.sidebar-collapsed .nav-label,
body.sidebar-collapsed .nav-arrow,
body.sidebar-collapsed .salary-nav-parent .nav-label,
body.sidebar-collapsed .sidebar-footer-copy { display: flex; }
body.sidebar-collapsed .sidebar-search-wrap { display: block; }
body.sidebar-collapsed .sidebar-quick-actions { display: grid; }
body.sidebar-collapsed .sb-sidenav-menu-heading { display: flex; }
body.sidebar-collapsed .sidebar-context { justify-content: flex-start; margin-bottom: 11px; }
body.sidebar-collapsed .sb-sidenav .nav-link { justify-content: flex-start; margin: 2px 3px; padding: 7px 9px; }
body.sidebar-collapsed .salary-nav-group { margin: 1px 3px 3px; padding: 6px 3px 5px; }
body.sidebar-collapsed .salary-nav-parent { justify-content: flex-start; padding: 5px 8px 7px; }
body.sidebar-collapsed .sb-sidenav-footer { justify-content: flex-start; padding: 10px 15px; }
.dashboard-hero { padding: 23px; }
.dashboard-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dashboard-performance-chart { min-height: 250px; }
}

@media screen and (max-width: 767.98px) {
.app-main-content { padding-top: 16px !important; }
.dashboard-shell { gap: 15px; }
.dashboard-hero { min-height: 0; align-items: stretch; flex-direction: column; gap: 17px; padding: 20px; border-radius: 18px; }
.dashboard-hero-actions { min-width: 0; flex-direction: row; }
.dashboard-hero-actions .btn { flex: 1 1 0; }
.dashboard-kpi-grid { gap: 10px; }
.dashboard-kpi { min-height: 145px; padding: 14px; border-radius: 15px; }
.dashboard-panel { padding: 16px; border-radius: 16px; }
.dashboard-panel-head { flex-direction: column; align-items: stretch; }
.dashboard-panel-head.compact { flex-direction: row; align-items: center; }
.dashboard-chart-total { text-align: right; direction: rtl; }
.table-responsive { border-radius: 11px; }
.table > :not(caption) > * > * { padding: .65rem .62rem; }
.card { border-radius: 14px; }
}

@media screen and (max-width: 575.98px) {
.app-topbar-inner { padding: 0 9px; }
.app-brand-copy { display: none; }
.app-sidebar-toggle { width: 38px; height: 38px; }
.app-topbar-spacer { min-width: 0; }
.dashboard-hero h1 { font-size: 1.25rem; }
.dashboard-hero p { font-size: .75rem; }
.dashboard-hero-meta { gap: 6px; }
.dashboard-hero-meta span { font-size: .61rem; }
.dashboard-kpi-grid { grid-template-columns: 1fr; }
.dashboard-kpi { min-height: 132px; }
.dashboard-kpi-body strong { font-size: 1.2rem; }
.dashboard-hero-actions { flex-direction: column; }
.dashboard-base-grid { grid-template-columns: 1fr 1fr; }
.dashboard-base-grid a { min-height: 86px; padding: 10px; }
.dashboard-debt-title { align-items: flex-start; flex-direction: column; gap: 4px; }
.dashboard-performance-chart { margin-inline: -8px; }
}

@media screen {
.app-footer { background: rgba(255,255,255,.72); border-top: 1px solid var(--ui-border); color: var(--ui-muted); }
.auth-shell { min-height: 100vh; }
.auth-card-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 34px 100px rgba(2,8,23,.32);
}
.auth-showcase {
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 22%, rgba(125,148,237,.32), transparent 25%),
        radial-gradient(circle at 84% 78%, rgba(42,186,139,.15), transparent 27%),
        linear-gradient(145deg, #14213b 0%, #1a2b51 55%, #111b32 100%);
}
.auth-showcase::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    right: -190px;
    top: -185px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 50px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.015);
}
.auth-showcase-mark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 19px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.13); font-size: 1.55rem; margin-bottom: 25px; }
.auth-showcase-copy { position: relative; z-index: 1; max-width: 470px; }
.auth-showcase-copy > span { color: #aebdf2; font-size: .76rem; font-weight: 800; }
.auth-showcase-copy h1 { margin: 9px 0 12px; font-size: 2rem; line-height: 1.7; font-weight: 900; letter-spacing: -.02em; }
.auth-showcase-copy p { margin: 0; max-width: 430px; color: rgba(232,237,250,.62); font-size: .84rem; line-height: 2; }
.auth-showcase-pills { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.auth-showcase-pills span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(255,255,255,.095); border-radius: 10px; background: rgba(255,255,255,.045); color: rgba(255,255,255,.7); font-size: .67rem; }
.auth-login-panel { display: flex; flex-direction: column; justify-content: center; padding: 45px 48px 34px; background: #fff; }
.auth-login-head { margin-bottom: 25px; }
.auth-login-kicker { display: inline-block; margin-bottom: 6px; color: var(--ui-primary); font-size: .72rem; font-weight: 900; }
.auth-login-head h2 { margin: 0; color: #202c45; font-size: 1.45rem; font-weight: 900; }
.auth-login-head p { margin: 8px 0 0; color: #9099ab; font-size: .75rem; line-height: 1.8; }
.auth-mobile-mark { width: 48px; height: 48px; margin-bottom: 14px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg, #3157d5, #233f9c); color: #fff; box-shadow: 0 10px 22px rgba(49,87,213,.22); }
.auth-input-wrap { position: relative; }
.auth-input-wrap > i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); color: #95a0b3; z-index: 2; }
.auth-input-wrap .form-control { min-height: 47px; padding-right: 40px; border-radius: 12px; background: #fbfcfe; }
.auth-input-wrap .form-control:focus { background: #fff; }
.auth-submit-btn { min-height: 48px; justify-content: space-between; padding-inline: 17px; border-radius: 12px; }
.auth-error-box { display: flex; align-items: flex-start; gap: 9px; border: 0; border-radius: 12px; background: #fff0f2; color: #a73c4d; font-size: .72rem; }
.auth-copyright { margin-top: 28px; padding-top: 17px; border-top: 1px solid #eef1f5; color: #a0a8b7; text-align: center; font-size: .62rem; }
}

@media screen and (max-width: 991.98px) {
.auth-card-wrap { grid-template-columns: 1fr; max-width: 520px; min-height: auto; margin-inline: auto; border-radius: 22px; }
.auth-login-panel { padding: 36px 34px 28px; }
}

@media screen and (max-width: 575.98px) {
.auth-page .container { padding-inline: 15px; }
.auth-card-wrap { border-radius: 18px; }
.auth-login-panel { padding: 30px 22px 24px; }
.auth-login-head h2 { font-size: 1.28rem; }
}

@media screen {
.app-main-content > .d-flex.justify-content-between.align-items-center:not(.dashboard-hero),
.app-main-content > form + .d-flex.justify-content-between.align-items-center {
    padding: 2px 2px 13px;
    border-bottom: 1px solid rgba(222,227,237,.78);
}
.app-main-content h1.h3,
.app-main-content h1.h4,
.app-main-content .h3 {
    color: #243149;
    font-weight: 900;
    letter-spacing: -.01em;
}
.app-main-content .text-muted { color: #8791a4 !important; }
.modal-content { overflow: hidden; border: 1px solid var(--ui-border); border-radius: 17px; box-shadow: var(--ui-shadow-lg); }
.modal-header { border-bottom-color: #edf0f5; background: #fbfcfe; }
.modal-footer { border-top-color: #edf0f5; background: #fbfcfe; }
.dropdown-menu { border: 1px solid var(--ui-border); border-radius: 12px; box-shadow: var(--ui-shadow-md); }
.dropdown-item { padding: .55rem .75rem; border-radius: 8px; font-size: .78rem; }
hr { border-color: #e9edf3; opacity: 1; }
.accordion-item { overflow: hidden; border-color: var(--ui-border); border-radius: 13px !important; }
.accordion-button { font-size: .8rem; font-weight: 800; color: #3a465e; }
.accordion-button:not(.collapsed) { color: var(--ui-primary-strong); background: #f4f6ff; box-shadow: inset 0 -1px 0 #e7ebf5; }
}
