body {
    font-family: "Cairo", sans-serif !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
label,
option,
select,
.choices__item {
    font-family: "Cairo", sans-serif !important;
}

label {
    /* padding: 0 !important; */
    margin: 0;
}
[dir="rtl"] .boc-checkbox {
    padding-left: unset;
    padding-right: 35px;
}
.choices .choices__list--dropdown .choices__item--selectable,
.choices[data-type*="select-one"] .choices__inner {
    background-color: white !important;
    color: black;
    font-size: 12px !important;
}
.choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #3874ff !important;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted::after,
.choices__placeholder {
    opacity: 1 !important;
}
.theme-wizard
    .nav-item:not(.theme-wizard .nav-item:last-child)
    .nav-link.active_line:before {
    background-color: var(--phoenix-theme-wizard-active-color);
}
.form-label {
    font-size: 0.7rem;
}

.employee_card .date_info {
    position: relative;
}

.employee_card span.span_info {
    background: #e5edff;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    top: -50px;
}
html.dark .employee_card span.span_info {
    background: #272d3a;
}
.employee_card span.span_info.end_date,
.employee_card span.span_info.start_date {
    bottom: -60px;
    top: unset;
}
html[dir="rtl"] .employee_card span.span_info.end_date {
    left: 0;
}
html[dir="ltr"] .employee_card span.span_info.end_date {
    right: -10px;
}
html[dir="rtl"] .employee_card span.span_info.start_date {
    right: -10px;
}
.employee_card span.span_info.end_date::after,
.employee_card span.span_info.start_date::after {
    top: -47%;
    border-bottom-color: #e5edff;
    border-top-color: transparent;
    left: 5px;
    right: unset;
}
html.dark .employee_card span.span_info.end_date::after,
html.dark .employee_card span.span_info.start_date::after {
    border-bottom-color: #272d3a;
    border-top-color: transparent;
}
.employee_card span.span_info.start_date::after {
    left: unset;
    right: 0%;
}
.employee_card span.span_info::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0%;
    margin-left: -5px;
    border: 10px solid transparent;
    border-top-color: #e5edff;
}
html[dir="ltr"] .employee_card span.span_info::after {
    right: unset;
    margin-left: 0px;
    margin-right: -5px;
    left: 0%;
}
html[dir="ltr"] .employee_card span.span_info.end_date::after {
    left: unset;
    margin-left: 0px;
    margin-right: -5px;
    right: 5px;
}

html.dark .employee_card span.span_info::after {
    border-top-color: #272d3a;
}

/* start custom dashboard style */

html:not(.dark) main.main {
    background-color: #f2f6ff;
}
@media (min-width: 992px) {
    html:not(.navbar-vertical-collapsed) .navbar-vertical.navbar-expand-lg {
        background-color: #0f172a;
        top: 0 !important;
        z-index: 2;
        height: 100vh !important;
        padding-top: 20px;
    }
    html.dark .navbar-vertical.navbar-expand-lg {
        background-color: #141824;
    }
    .navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg,
    .navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-vertical-footer{
        background-color: #0f172a;
    }
    .navbar-vertical .navbar-vertical-content .navbar-nav .nav-link {
    color: #ccc;
}
}
.navbar.navbar-top {
    /* background-color: #0f172a; */
    height: 60px !important;
    /* z-index: 1; */
}

.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active,
.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link:hover {
    background-color: #c0d3ff !important;
    border-radius: 50px;
    color: #111;
}

.employee_card .avatar-xl {
    height: clamp(6.5rem, 8.5vw, 10rem);
    width: clamp(6.5rem, 8.5vw, 10rem);
    flex: 0 0 auto;
}
.employee_card .avatar-xl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.employee_card i {
    font-size: 18px;
}
.text-icon {
    color: #517adb;
}

.employee-info-tabs {
    border: #c0d3ff 1px solid !important;
    background-color: #c3d1f5;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: #111 !important;
    /* padding: 0 20px !important; */
}
html.dark .employee-info-tabs {
    background-color: transparent;
}

.employee-info-summary,
.employee-info-wizard,
.employee-card-main,
.employee-card-details {
    min-width: 0;
    max-width: 100%;
}

.employee-info-wizard {
    overflow: hidden;
}

.employee-info-tabs-scroll {
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.employee-info-nav-wizard {
    width: max-content;
    min-width: 100%;
    flex-wrap: nowrap;
}

.employee-info-nav-wizard > .nav-item {
    flex: 0 0 auto !important;
    min-width: 7.25rem;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .employee-card-actions,
    .employee-card-main {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .employee-card-actions {
        order: 1 !important;
    }

    .employee-card-main {
        order: 2 !important;
    }
}

@media (min-width: 768px) and (max-width: 1698px) {
    .employee-info-summary .card-body,
    .employee-info-wizard-header {
        max-width: 100%;
    }

    .employee-card-details p {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

.employee-info-tabs .nav-link {
    padding: 20px 15px !important;
    transition: all 0.3s ease-in-out;
}
.employee-info-tabs ul {
    width: 100%;
}
.employee-info-tabs .nav-link.active {
    color: white;
    border-radius: 50px;
    padding: 20px 15px !important;
    background-color: #0f337e !important;
}
html:not(.dark) .card-header:first-child {
    background-color: rgb(236 241 252) !important;
}
/* end custom dashboard style */

/* start permission page */
.permission_item {
    min-width: 300px;
}
.permission_item .item {
    min-height: 110px;
}
.item_shadow {
    box-shadow: 0 1px 0px 0 rgb(25 25 25 / 13%), 0 0px 10px 0 rgb(0 0 0 / 10%);
}
.permission_icon span {
    opacity: 10%;
    height: 60px;
    width: 60px;
}
/* .check_permission .form-check-input {
    background-color: #cd5e4d;
} */
.check_permission .form-check-input:disabled {
    background-color: #808080;
}

/* .check_permission .form-check-input:checked {
    background-color: #00b010;
} */
.check_permission .child .item {
    border-color: #cd5e4d !important;
}
.check_permission .child .item.disabled svg {
    color: #cd5e4d !important;
}
.check_permission .child .item.disabled {
    border-color: #808080 !important;
}
.check_permission .child .item.disabled svg {
    color: #808080 !important;
}
.check_permission .child .item.checked {
    border-color: #00b010 !important;
}
.check_permission .child .item.disabled svg {
    color: #00b010 !important;
}

.check_permission .child svg {
    right: 5px;
    top: 5px;
    font-size: 20px;
    z-index: 2;
}

/* end permission page */
/* start model */
.modal-header {
    background-color: #0f172a;
    /* border-radius: 30px 30px 0 0; */
    padding: 20px;
}
.modal-content {
    /* border-radius: 30px; */
}
.modal-header svg,
.modal-title {
    color: white;
}
.modal-body {
    padding: 30px;
}
.modal-footer button[type="submit"] {
    background-color: #0c278a;
}
.modal-footer button[type="submit"]:hover {
    background-color: #1335b3;
}
/* End model */

/* Start contract style */
.contract {
    border-radius: 30px;
}
.contract_action {
    background-color: #0a1f6b;
    width: 80px;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}
html[dir="ltr"] .contract_action {
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: unset;
    border-top-right-radius: unset;
}
.contract_action .icon {
    background-color: #c0d3ff;
    width: 36px;
    height: 36px;
}
.contract_action .icon svg {
    color: #6780d8;
}
.contract_action .icon.active svg {
    color: #0a268a;
}
.contract_info_title {
    font-size: 18px;
}
/* End contract style */

/* Change the background and border color of the select box */
.select2-container--default .select2-selection--single {
    /* border: 2px solid #007bff; */
    border-radius: 8px;
    height: 38px !important;

    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.49;
    color: var(--phoenix-gray-900);
    background-color: var(--phoenix-input-bg);
    background-clip: padding-box;
    border: 1px solid var(--phoenix-input-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    -webkit-transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
}

/* Style the dropdown */
.select2-container--default .select2-dropdown {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Style the search box within the dropdown */
.select2-container--default .select2-search--dropdown {
    background-color: #e9ecef;
    border-radius: 4px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-right: 20px !important;
}
.select2-container--default,
.select2-container--default * {
    outline: 0 !important;
}
.light-style .select2-container--default .select2-results__option {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
}
.select2-container--default .select2-results__option--highlighted {
    background-color: rgba(67, 89, 113, 0.04);
    color: #697a8d;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 10px;
    right: 4px;
    width: 20px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    padding: 0 6px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 20px;
}

/* Ensure the Select2 dropdown and input respect RTL */
body[dir="rtl"] .select2-container--default .select2-selection--single {
    text-align: right; /* Align text to the right */
    padding-right: 10px; /* Add some padding to the right */
}

body[dir="rtl"]
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    text-align: right; /* Align the rendered text to the right */
}

/* Style the Select2 dropdown arrow in RTL mode */
body[dir="rtl"]
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    right: auto; /* Move the dropdown arrow to the right */
    left: 4px; /* Remove left alignment */
}

/* Customize the dropdown list (optional) */
html[dir="rtl"] .select2-container--default .select2-dropdown {
    text-align: right; /* Align dropdown items to the right */
}
.asset_title {
    border: 1px solid #c0d3ff !important;
    background-color: #c3d1f5 !important;
    border-radius: 3px !important;
    text-align: center;
    color: #111 !important;
    padding: 10px !important;
    margin: 5px 0 20px;
}
.asset_card .table > thead > tr > th {
    background-color: aliceblue;
}
.asset_card .table .info_name {
    background-color: aliceblue !important;
}
.asset_card .asset_data {
    font-size: 16px;
}
.asset_card .asset_attachment {
    color: #81d5e0;
    font-size: 60px;
}
.custody_attachment {
    color: #81d5e0;
    font-size: 30px;
}
.btn-secondary {
    background-color: #898a8f;
}

/*  */
.check_permission .child .text_checkbox input[type="checkbox"] {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #cd5e4d;
    background-color: white;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    text-align: center;
}

.check_permission .child .text_checkbox input[type="checkbox"]::before {
    content: "❌";
    font-size: 10px;
    color: white; /* اللون الأبيض */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.check_permission .child .text_checkbox input[type="checkbox"]:checked::before {
    content: "✔";
    color: white;
}

.check_permission .child .text_checkbox input[type="checkbox"]:checked {
    background-color: #00b010;
    border-color: #00b010;
}
/* th {
    display: flex;
    align-items: center;
} */

.entitlement-read-ui {
    --ent-border: #e6edf5;
    --ent-soft: rgba(248, 250, 252, .7);
    --ent-text: #111827;
    --ent-muted: #64748b;
    --ent-primary: #2563eb;
    --ent-success: #16a34a;
    --ent-danger: #dc2626;
    --ent-warning: #d97706;
    --ent-info: #0891b2;
    --ent-secondary: #64748b;
}

.entitlement-read-ui .entitlement-data-panel,
.entitlement-read-ui .entitlement-section-panel,
.entitlement-read-ui .entitlement-read-card {
    border: 1px solid var(--ent-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.entitlement-read-ui .entitlement-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--ent-border);
    background: var(--ent-soft);
}

.entitlement-read-ui .entitlement-panel-title {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: var(--ent-text);
    font-size: .88rem;
    font-weight: 800;
}

.entitlement-read-ui .entitlement-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .55rem .9rem;
    padding: .9rem 1rem;
}

.entitlement-read-ui .entitlement-info-cell,
.entitlement-read-ui .entitlement-info-item {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.entitlement-read-ui .entitlement-info-icon,
.entitlement-read-ui .entitlement-info-item > i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    border-radius: 8px;
    font-size: .9rem;
}

.entitlement-read-ui .entitlement-info-icon {
    color: var(--tone, var(--ent-secondary));
    background: color-mix(in srgb, var(--tone, var(--ent-secondary)) 12%, transparent);
}

.entitlement-read-ui .entitlement-info-item > i {
    background: color-mix(in srgb, currentColor 12%, transparent);
}

.entitlement-read-ui .entitlement-tone-primary { --tone: var(--ent-primary); }
.entitlement-read-ui .entitlement-tone-success { --tone: var(--ent-success); }
.entitlement-read-ui .entitlement-tone-danger { --tone: var(--ent-danger); }
.entitlement-read-ui .entitlement-tone-warning { --tone: var(--ent-warning); }
.entitlement-read-ui .entitlement-tone-info { --tone: var(--ent-info); }
.entitlement-read-ui .entitlement-tone-secondary { --tone: var(--ent-secondary); }

.entitlement-read-ui .entitlement-label,
.entitlement-read-ui .text-muted.small.fw-semibold,
.entitlement-read-ui .text-muted.small.mb-1 {
    color: var(--ent-muted) !important;
    font-size: .72rem;
    font-weight: 700 !important;
    line-height: 1.25;
    margin-bottom: .2rem !important;
}

.entitlement-read-ui .entitlement-value,
.entitlement-read-ui .fw-bold.fs-6,
.entitlement-read-ui .fw-bold.fs-5 {
    color: var(--ent-text);
    font-size: .88rem !important;
    font-weight: 700 !important;
    line-height: 1.35;
    word-break: break-word;
}

.entitlement-read-ui .entitlement-amount {
    font-variant-numeric: tabular-nums;
}

.entitlement-read-ui .entitlement-read-box,
.entitlement-read-ui .entitlement-note-box {
    min-height: 46px;
    border: 1px solid var(--ent-border);
    border-radius: 8px;
    background: var(--ent-soft);
    color: #475569;
    font-size: .84rem;
    line-height: 1.6;
}

.entitlement-read-ui .badge {
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .entitlement-read-ui .entitlement-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .entitlement-read-ui .entitlement-info-grid {
        grid-template-columns: 1fr;
    }

    .entitlement-read-ui .entitlement-info-icon,
    .entitlement-read-ui .entitlement-info-item > i {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        font-size: .86rem;
    }
    /*housing  */
      .cost-report-shell {
            --cr-primary: #1e40af;
            --cr-primary-deep: #00288e;
            --cr-muted: #64748b;
            --cr-border: #e2e8f0;
            --cr-bg: #f8fbff;
            background: var(--cr-bg);
            border: 1px solid #dbe7ff;
            border-radius: 18px;
            padding: 20px;
            margin-bottom: 16px;
        }

        .cost-report-title {
            color: var(--cr-primary-deep);
            font-size: 1.65rem;
            font-weight: 800;
            margin-bottom: .2rem;
        }

        .cost-report-subtitle {
            color: var(--cr-muted);
            font-size: .86rem;
        }

        .cost-filter-box {
            background: #fff;
            border: 1px solid var(--cr-border);
            border-radius: 14px;
            padding: 16px;
            margin-top: 14px;
            margin-bottom: 16px;
        }

        .cost-filter-box label {
            font-size: .72rem;
            font-weight: 800;
            color: var(--cr-primary-deep);
            margin-bottom: 6px;
            letter-spacing: .03em;
        }

        .cost-fill-secondary {
            background: #64748b;
        }

        .cost-filter-box .form-control,
        .cost-filter-box .form-select {
            border-radius: 12px;
            border-color: var(--cr-border);
            background: #f8fafc;
            font-weight: 600;
        }

        .cost-filter-box .form-control:focus,
        .cost-filter-box .form-select:focus {
            border-color: #8fb0ff;
            box-shadow: 0 0 0 .2rem rgba(30, 64, 175, .12);
            background: #fff;
        }

        /* Desktop layout (original grid) */
        .cost-analytics {
            display: grid;
            grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
            gap: 16px;
        }

        /* عكس الترتيب لتقرير الفروع فقط على سطح المكتب */
        /* الـ KPI (الإجمالي) يظهر كعمود أول (يمين) */
        .branch-report-layout .branch-kpi {
            order: 2;
        }

        /* الـ Panel (التفاصيل) يظهر كعمود ثانٍ (يسار) */
        .branch-report-layout .branch-distribution {
            order: 1;
        }

        /* الترتيب الأصلي لتقرير السكن على سطح المكتب */
        /* الـ Panel (التفاصيل) يظهر كعمود أول (يمين) */
        .housing-report-layout .housing-distribution {
            order: 2;
        }

        /* الـ KPI (الإجمالي) يظهر كعمود ثانٍ (يسار) */
        .housing-report-layout .housing-kpi {
            order: 1;
        }

        /* Mobile: إلغاء الترتيب المخصص وجعل الكل بعمود واحد مع ظهور الإجمالي أولاً */
        @media (max-width: 767px) {
            .cost-analytics {
                display: flex;
                flex-direction: column;
            }

            /* إلغاء خاصية order لجميع العناصر */
            .branch-report-layout .branch-kpi,
            .branch-report-layout .branch-distribution,
            .housing-report-layout .housing-distribution,
            .housing-report-layout .housing-kpi {
                order: unset;
            }

            /* جعل الإجمالي يظهر أولاً في كلتا الحالتين */
            .cost-kpi-stack {
                order: 1 !important;
                margin-bottom: 16px;
            }

            .cost-panel:not(.cost-tab-panel):not(.cost-panel.mt-4) {
                order: 2 !important;
            }

            /* عكس الترتيب لتقرير الفروع فقط على سطح المكتب */
            /* الـ KPI (الإجمالي) يظهر كعمود أول (يمين) */
            .branch-report-layout .branch-kpi {
                order: 1;
            }

            /* الـ Panel (التفاصيل) يظهر كعمود ثانٍ (يسار) */
            .branch-report-layout .branch-distribution {
                order: 2;
            }

            /* الترتيب الأصلي لتقرير السكن على سطح المكتب */
            /* الـ Panel (التفاصيل) يظهر كعمود أول (يمين) */
            .housing-report-layout .housing-distribution {
                order: 1;
            }

            /* الـ KPI (الإجمالي) يظهر كعمود ثانٍ (يسار) */
            .housing-report-layout .housing-kpi {
                order: 2;
            }
        }

        .cost-panel {
            background: #fff;
            border: 1px solid var(--cr-border);
            border-radius: 16px;
            padding: 18px;
        }

        .cost-panel-title {
            color: #0f2f78;
            font-size: 1.08rem;
            font-weight: 800;
        }

        .cost-panel-subtitle {
            color: var(--cr-muted);
            font-size: .78rem;
        }

        .cost-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 10px;
            margin-bottom: 14px;
        }

        .cost-legend-item {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: .72rem;
            font-weight: 700;
            color: #334155;
        }

        .cost-legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 3px;
        }

        .cost-row {
            margin-bottom: 11px;
        }

        .cost-row:last-child {
            margin-bottom: 0;
        }

        .cost-row-head {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            margin-bottom: 4px;
            font-size: .78rem;
            font-weight: 700;
            color: #475569;
        }

        .cost-track {
            height: 14px;
            border-radius: 999px;
            background: #f1f5f9;
            border: 1px solid #e8eef6;
            overflow: hidden;
        }

        .cost-fill {
            height: 100%;
            border-radius: inherit;
        }

        .cost-fill-primary {
            background: #00288e;
        }

        .cost-fill-info {
            background: #3755c3;
        }

        .cost-fill-success {
            background: #003a46;
        }

        .cost-fill-warning {
            background: #ba1a1a;
        }

        .cost-kpi-stack {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .cost-kpi-card {
            border-radius: 16px;
            border: 1px solid var(--cr-border);
            background: #fff;
            padding: 16px;
        }

        .cost-kpi-card.is-main {
            background: linear-gradient(145deg, #00288e, #1f49a8);
            color: #fff;
            border: 0;
            box-shadow: 0 10px 24px rgba(0, 40, 142, .24);
        }

        .cost-kpi-label {
            font-size: .82rem;
            color: #64748b;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .cost-kpi-card.is-main .cost-kpi-label {
            color: rgba(255, 255, 255, .85);
        }

        .cost-kpi-value {
            font-size: 1.85rem;
            font-weight: 800;
            line-height: 1.2;
            color: #1e3a8a;
        }

        .cost-kpi-card.is-main .cost-kpi-value {
            color: #fff;
        }

        .cost-kpi-footnote {
            font-size: .75rem;
            color: #64748b;
            margin-top: 8px;
        }

        .cost-tabs {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 4px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
        }

        .cost-tab {
            border: 0;
            background: transparent;
            color: #475569;
            border-radius: 9px;
            padding: 7px 12px;
            font-size: .78rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            line-height: 1;
            transition: .18s ease;
        }

        .cost-tab-icon {
            width: 22px;
            height: 22px;
            border-radius: 7px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(148, 163, 184, .16);
            font-size: .72rem;
            flex-shrink: 0;
        }

        .cost-tab:hover {
            background: #eef2ff;
            color: #1e3a8a;
        }

        .cost-tab:hover .cost-tab-icon {
            background: rgba(59, 130, 246, .14);
        }

        .cost-tab.is-active {
            background: #1e40af;
            color: #fff;
            box-shadow: 0 8px 18px rgba(30, 64, 175, .18);
        }

        .cost-tab.is-active .cost-tab-icon {
            background: rgba(255, 255, 255, .16);
        }

        .cost-tab-panel[x-cloak] {
            display: none !important;
        }

        /* Extra small devices */
        @media (max-width: 576px) {
            .cost-kpi-value {
                font-size: 1.4rem;
            }

            .cost-panel {
                padding: 14px;
            }

            .cost-report-shell {
                padding: 14px;
            }

            .cost-tab {
                padding: 5px 10px;
                font-size: 0.7rem;
            }
        }

            .select-wrapper {
        position: relative;
    }

    .select-loading-overlay {
        position: absolute;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(1px);
        border-radius: 0.375rem;
        z-index: 10;
    }

    .select-loading-spinner {
        width: 18px;
        height: 18px;
        border: 2px solid #dbeafe;
        border-top-color: #3b82f6;
        border-radius: 50%;
        animation: selectSpin .7s linear infinite;
    }

    @keyframes selectSpin {
        to {
            transform: rotate(360deg);
        }
    }


     .status-chip-text {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            transition: all 0.2s ease;
            font-size: 0.85rem;
            white-space: nowrap;
            font-weight: 500;
        }

        .status-chip-text .status-chip-label-text {
            color: #334155;
            font-weight: 600;
            opacity: 0.9;
            transition: all 0.2s ease;
        }

        .status-chip-text .status-chip-value-text {
            font-weight: 700;
            color: var(--chip-color, #64748b);
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            background: rgba(255, 255, 255, 0.4);
            padding: 0.05rem 0.5rem;
            border-radius: 0.25rem;
            transition: all 0.2s ease;
        }

        .status-chip-text.clickable {
            cursor: pointer;
        }

        .status-chip-text.clickable:hover {
            transform: translateY(-1px);
        }

        .status-chip-text.clickable:hover .status-chip-label-text {
            color: var(--chip-color, #64748b);
            opacity: 1;
        }

        .status-chip-text.clickable:hover .status-chip-value-text {
            background: rgba(255, 255, 255, 0.7);
            transform: scale(1.05);
        }

        .accordion-button:not(.collapsed) {
            background-color: transparent !important;
            box-shadow: none !important;
        }

        .accordion-button:focus {
            box-shadow: none !important;
            border-color: transparent !important;
        }

        .accordion-button::after {
            background-size: 0.7rem;
            width: 0.7rem;
            height: 0.7rem;
        }

        .bg-opacity-10 {
            --bs-bg-opacity: 0.1;
        }

        .status-card {
            transition: all 0.2s ease;
        }

        .status-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
        }

        .status-card:active {
            transform: scale(0.98);
        }

        @media (max-width: 576px) {
            .status-chip-text {
                font-size: 0.75rem;
                gap: 0.4rem;
                padding: 0.2rem 0.4rem;
            }

            .status-chip-text .status-chip-value-text {
                font-size: 0.8rem;
                padding: 0.05rem 0.4rem;
            }

            .accordion-button {
                font-size: 0.8rem;
                padding: 0.5rem 0.75rem !important;
            }

            .card-body.p-3 {
                padding: 0.75rem !important;
            }

            .accordion-body.p-3 {
                padding: 0.75rem !important;
            }
        }

        @media (max-width: 400px) {
            .status-chip-text {
                font-size: 0.65rem;
                gap: 0.3rem;
                padding: 0.15rem 0.3rem;
            }

            .status-chip-text .status-chip-value-text {
                font-size: 0.7rem;
                padding: 0.05rem 0.3rem;
            }
        }

        @media (min-width: 992px) {
            .col-lg {
                flex: 1 0 0%;
                max-width: none;
            }
        }
}
