
/* Google Fonts: Plus Jakarta Sans + Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Default Font Variables */
:root {
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --c: #2563eb;
    --bg: #e0ebff;
    --line: #e4e8f3;
    --blue-4a5878: #4a5878;
    --bg: #eef1f4;
    --card: #fff;
    --ink: #1f2937;
    --mute: #6b7280;
    --line: #e3e7ec;
    --soft: #f6f8fa;
    --white: #FFF;
    --futex-shadow2: 0 7px 5px rgba(15, 31, 75, .02), 0 1px 3px rgba(15, 31, 75, .02);
    --futex-shadow3: 0 1px 2px rgba(var(--text-rgb), .03), 0 6px 18px -8px rgba(var(--blue-283478-rgb), .08);
    --color-red-dark: #e51400;
    --color-red-light: #fff5f5;
    --color-red-soft: #fdd5d5;
    --color-lightgrey-soft: #f1f5f9;
    --white: #ffffff;
}

/* Default Font */
body {
    font-family: var(--font-body) !important;
    color: var(--blue-4a5878)
}
ul{
    padding:0;
    margin:0;
    list-style:none
}

/* Inter Font Utility */
.font-body {
    font-family: var(--font-body);
}

/* Plus Jakarta Sans Utility */
.font-jakarta {
    font-family: var(--font-head);
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 800 !important;
}
.futex-theme-workspace {
    display: flex
}


.futex-theme-left-nav-small, .futex-theme-left-nav-large {
    width: 110px !important;
    background-color: var(--bs-white) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    -webkit-box-shadow: 6px 0 18px 0 rgba(0, 0, 0, 0.08) !important;
    box-shadow: 6px 0 18px 0 rgba(0, 0, 0, 0.08) !important;
}
.futex-theme-workspace.nav-fixed #left {
    top: 0px;
    padding-top: 65px !important;
}

.futex-theme-main-content-wrap {
    margin-left: 110px !important;
    width: 100%;
    padding: 0 5px;
}
.futex-theme-workspace:has(> .futex-theme-left-nav-large) > .futex-theme-main-content-wrap {
    margin-left: 215px !important;
}

.futex-theme-left-nav-small {
    .subnav{
        width:100%
    }

    .subnav .subnav-menu {
        padding: 5px !important;
    }

        .subnav .subnav-menu > li:hover {
            background: none !important;
        }

        .subnav .subnav-menu > li > a {
            border: 1px solid #d7e7e7;
            border-radius: 6px;
            margin-bottom: 4px !important;
            max-height: none !important;
            font-weight: 600 !important;
            font-size: 13px !important;
            letter-spacing: -0.2px;
            text-align: center;
            padding: 8px !important;
        }

            .subnav .subnav-menu > li > a .left-nav-text {
                display: -webkit-box !important;
                -webkit-box-orient: vertical !important;
                -webkit-line-clamp: 2 !important;
                line-clamp: 2 !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                line-height: 1.3;
                word-break: break-word;
            }

    .subnav li > a .left-nav-icon {
        display: block;
        line-height: 28px
    }


    div.text-center {
        width: 115px;
        position: fixed;
        top: 42px;
        z-index: 1;
    }

        div.text-center .main-branch {
            padding: 5px 7px 4px;
            font-size: 13px;
            text-transform: uppercase;
        }


    #content.nav-fixed #left {
        padding-top: 39px;
    }

    #content.nav-fixed #left {
        padding-top: 39px;
    }
}
/* 1. Nav width */
.futex-theme-workspace:has(#customQuickLinksContainer) .futex-theme-left-nav-small {
    width: 215px !important;
}
/* 2. Main content margin */
.futex-theme-workspace:has(#customQuickLinksContainer) > .futex-theme-main-content-wrap {
    margin-left: 215px !important;
}
/* 3. Subnav menu */
.futex-theme-workspace:has(#customQuickLinksContainer) .futex-theme-left-nav-small .subnav .subnav-menu {
    padding: 6px !important;
    top: 34px;
    position: relative;
}
/* 4. Branch wala fixed div */
.futex-theme-workspace:has(#customQuickLinksContainer) .futex-theme-left-nav-small div.text-center {
    width: 215px;
}

.futex-theme-main-content-wrap {
    .vbox {
        padding: 5px 5px !important;
        margin-bottom: 5px !important;
        border-radius: 6px !important;
    }

        .vbox input, .vbox select {
            border-radius: 6px !important
        }

    select {
       
        min-height: 38px;
       
        border: 1px solid #cfdae0;
        
        font-size: 14px;
       
    }

    .stickyFooter {
        min-width: 0 !important;
        max-width: calc(100% - 44px) !important;
        margin-left: 30px;
        margin-bottom: -4px !important;
    }

        .stickyFooter .vbox {
            border-radius: 0 !important
        }

    .vbox .detail-search-button, .vbox .btn-primary {
        padding: 7px 22px;
    }

    detail-action-cell {
    }
}

    .futex-theme-left-nav-large {
        width: 215px !important
    }

.futex-theme-left-nav-large {
    .subnav .subnav-menu {
        padding: 6px !important;
        top: 34px;
        position: relative;
    }
    

    h1, h2, h3, h4, h5, h6 {
        font-weight: 600 !important
    }

    div.text-center .main-branch {
        padding: 5px 7px 4px;
        font-size: 13px;
        text-transform: uppercase;
    }

    div.text-center {
        position: fixed;
        top: 42px;
        z-index: 1;
        width: 215px !important;
        background: #FFF
    }
}
    /* 1. Poori bar (jis div ke andar ye 3 items hain) */
    /* =========================================
   FUTEX INFO STRIP
========================================= */
    /* =========================================
   FUTEX INFO STRIP
========================================= */

    .futex-info-strip {
        background: color-mix(in srgb, var(--fx-ic) 10%, transparent) !important;
        border: 1px solid color-mix(in srgb, var(--fx-ic) 25%, transparent);
        border-radius: 12px;
        padding: 10px 8px;
        gap: 0 !important;
        flex-wrap: wrap;
    }
    /* =========================================
   INFO ITEMS (Client / Business / Salesman)
========================================= */

    .futex-info-item {
        display: flex;
        align-items: center;
        gap: 12px !important;
        padding: 2px 18px;
        min-width: 0;
    }

    .futex-info-strip .futex-info-item:first-child {
        padding-left: 0
    }

    .futex-info-strip .futex-info-item:last-child {
        padding-right: 0
    }
    /* Divider between items */
    .futex-info-item + .futex-info-item {
        position: relative;
        border-left: 0;
        max-width: 260px;
    }

        .futex-info-item + .futex-info-item::before {
            content: "";
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 70%;
            width: 1px;
            background-color: color-mix(in srgb, var(--fx-ic) 40%, transparent);
        }
    /* ICON BOX */
    .futex-info-item > .fs-3.rounded-2, .futex-info-item > div:has(i) {
        height: 38px !important;
        min-width: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px !important;
        background: #fff;
        color: var(--fx-ic);
        font-size: 1.6rem !important;
        box-shadow: 0 2px 6px color-mix(in srgb, var(--fx-ic) 20%, transparent);
        transition: transform .2s ease, background .2s ease, color .2s ease;
    }

    .futex-info-item:hover > .fs-3.rounded-2 {
        background: var(--fx-ic);
        color: #fff;
        transform: scale(1.08);
    }
    /* TEXT CONTENT */
    .futex-info-item > .overflow-hidden {
        min-width: 0;
    }

    .futex-info-item .overflow-hidden > .text-muted.small.d-block {
        font-size: 10.5px !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .06em;
        color: color-mix(in srgb, var(--fx-ic) 65%, #666) !important;
        margin-bottom: 3px !important;
    }

    .futex-info-item .overflow-hidden > a.fw-bold,
    .futex-info-item .overflow-hidden > .fw-bold {
        font-size: .9rem !important;
        font-weight: 700 !important;
        color: color-mix(in srgb, var(--fx-ic) 15%, #111) !important;
        transition: color .2s ease;
    }

        .futex-info-item .overflow-hidden > a.fw-bold:hover {
            color: var(--fx-ic) !important;
        }
    /* RESPONSIVE */
    @media (max-width: 768px) {

        .futex-info-strip {
            padding: 8px;
        }

        .futex-info-item {
            padding: 6px 12px;
        }

            .futex-info-item + .futex-info-item::before {
                display: none;
            }
    }

.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li > a, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a {
    border: 0;
    background: none;
    font-weight: 600;
    color: var(--blue-4a5878);
    position: relative
}
        /* Base: sab icons par smooth color transition */
    .futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li > a i, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a i,
    .futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li > a svg, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a svg {
        transition: color .3s ease, fill .3s ease;
    }
    /* Har tab ka alag color (active ko chhod ke) */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(1) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(1) > a:not(.active) :is(i, svg) {
    color: #e63946;
}
    /* red */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(2) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(2) > a:not(.active) :is(i, svg) {
    color: #f4a261;
}
    /* orange */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(3) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(3) > a:not(.active) :is(i, svg) {
    color: #2a9d8f;
}
    /* teal */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(4) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(4) > a:not(.active) :is(i, svg) {
    color: #3a86ff;
}
    /* blue */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(5) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(5) > a:not(.active) :is(i, svg) {
    color: #8338ec;
}
    /* purple */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(6) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(6) > a:not(.active) :is(i, svg) {
    color: #ff006e;
}
    /* pink */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(7) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(7) > a:not(.active) :is(i, svg) {
    color: #06d6a0;
}
    /* mint */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(8) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(8) > a:not(.active) :is(i, svg) {
    color: #ffb703;
}
    /* yellow */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(9) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(9) > a:not(.active) :is(i, svg) {
    color: #118ab2;
}
    /* sky */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li:not(.active):nth-child(10) > a:not(.active) :is(i, svg), .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active):nth-child(10) > a:not(.active) :is(i, svg) {
    color: #6d597a;
}
    /* mauve */
    /* Base: link ko relative karo aur ::after ready rakho (width 0) */


.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li > a::after, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #2bae2b;
    transform: translateX(-50%);
    transition: width .3s ease;
}
    /* Hover par center se left-right phailey */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li > a:hover::after, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a:hover::after {
    width: 90%;
}
    /* Active tab par hamesha 100% */
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li.active > a::after, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li.active > a::after,
.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top > li > a.active::after, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a.active::after {
    width: 90%;
}

    .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li.active > a {
        color: #319431
    }

    .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li > a:hover {
        background: #f6f8f9;
    }

    .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top > li:not(.active) > a:not(.active):hover {
        background: #f6f8f9;
    }


.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top li, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top li {
    padding-bottom: 0;
    margin-bottom: 0
}

.futex-theme-workspace .futex-theme-main-content-wrap .tabs .tabs-top, .futex-theme-workspace .futex-theme-main-content-wrap .tabs.tabs-top {
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px !important;
}

    .futex-theme-workspace .futex-theme-main-content-wrap .tab-content.border-top {
        border: 0 !important
    }

    .futex-theme-main-content-wrap .stats > li .details #textspan4,
    .futex-theme-main-content-wrap .stats > li .details #textspan2 {
        font-size: 13px !important;
        line-height: 17px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .futex-theme-main-content-wrap .tab-pane .stats li div {
        padding: 0px 5px;
        border-radius: 6px;
    }

.futex-theme-main-content-wrap .tab-pane .box {
    border-radius: 6px !important;
    overflow: hidden;
    border: none;
    padding: 0;
}

    .futex-theme-main-content-wrap .tab-pane li .myImg {
        width: 50px;
        height: 36px;
    }

    .futex-theme-main-content-wrap .counter-card {
        line-height: 17px;
    }

    .futex-theme-main-content-wrap .alert {
        border-radius: 6px
    }

        .futex-theme-main-content-wrap .alert .btn {
            padding: 4px 6px;
            border-radius: 6px !important;
            font-weight: 600;
            letter-spacing: -0.2px;
            font-size: 12px;
           
        }

    .futex-theme-main-content-wrap .counter-card {
        padding: 10px 15px;
    }
    /* ==========================================================
   Overview tab - Futex theme
   Sab rules .futex-theme-main-content-wrap ke andar scoped hain
   HTML mein koi nayi class nahi chahiye
   Sections: 1) Top 3 cards  2) Status strip  3) 6 Counter cards
   ========================================================== */

    .futex-theme-main-content-wrap {
        --fx-navy: #0f1f4b;
        --fx-muted: #5b6785;
        --fx-line: #d5dcea;
        --fx-radius: 8px;
        --fx-shadow: 0 1px 3px rgba(15, 31, 75, .06);
        --fx-shadow-hover: 0 2px 6px rgba(15, 31, 75, .10);
    }
        /* ==========================================================
   1) TOP 3 CARDS  (Next Invoice / Recurring Type / Frequency)
   ========================================================== */

       
        .futex-theme-main-content-wrap .tabs {
            box-shadow: var(--futex-shadow2)
        }



/* ==========================================================
3) COUNTER CARDS  (6 cards)
========================================================== */

.futex-theme-counter-card .counter-card {
    --accent: #2563eb;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 10px 35px 10px 15px;
    background: #fff;
    border: 1px solid #edf0f6 !important;
    border-radius: var(--fx-radius);
    box-shadow: var(--fx-shadow) !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

    .futex-theme-counter-card .counter-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--fx-shadow-hover) !important;
    }

    /* right side chevron */
    .futex-theme-counter-card .counter-card::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-top: 2px solid #94a3b8;
        border-right: 2px solid #94a3b8;
        transform: translateY(-50%) rotate(45deg);
    }

/* accent colors: Total / Overdue / Paid / Amount / Received / Due */
.futex-theme-counter-card .row.g-3 > div:nth-child(1) .counter-card {
    --accent: #2563eb;
}

.futex-theme-counter-card .row.g-3 > div:nth-child(2) .counter-card {
    --accent: #e11d48;
}

.futex-theme-counter-card .row.g-3 > div:nth-child(3) .counter-card {
    --accent: #0f8a5f;
}

.futex-theme-counter-card .row.g-3 > div:nth-child(4) .counter-card {
    --accent: #7c3aed;
}

.futex-theme-counter-card .row.g-3 > div:nth-child(5) .counter-card {
    --accent: #0eb5c4;
}

.futex-theme-counter-card .row.g-3 > div:nth-child(6) .counter-card {
    --accent: #f97316;
}

/* icon: bahar halka tint box, andar dark rounded square */
.futex-theme-counter-card .counter-card .counter-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--accent) 14%, #fff) !important;
    color: var(--accent);
    margin-right: 0 !important;
    font-size:20px
}

    /*.futex-theme-counter-card .counter-card .counter-icon > i {
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        color: #fff;
        background: var(--accent);
        border-radius: 8px;
    }*/

.futex-theme-counter-card .counter-card .counter-title {
   margin:0
}

.futex-theme-counter-card .counter-card > div:last-child {
    flex: 1 1 auto;
    min-width: 0;
}

.futex-theme-counter-card .counter-card .counter-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--fx-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.futex-theme-counter-card .counter-card .counter-value {
    font-size:18px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--fx-navy);
    font-variant-numeric: tabular-nums;
}

/* "Invoices" / "Amount" pill */
.futex-theme-counter-card .counter-card .counter-currency {
    display: inline-block;
    margin-top: 1px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 6px;
    color: var(--accent) !important;
    background: color-mix(in srgb, var(--accent) 12%, #fff);
}

/* ==========================================================
4) MOBILE
========================================================== */

@media (max-width: 767.98px) {
    .futex-theme-counter-card .tab-content ul.stats.dashboard > li + li::before {
        display: none;
    }

    .futex-theme-counter-card .tab-content ul.stats.dashboard + div {
        flex-direction: column;
    }

        .futex-theme-counter-card .tab-content ul.stats.dashboard + div > div {
            width: 100% !important;
        }

            .futex-theme-counter-card .tab-content ul.stats.dashboard + div > div:first-child::after {
                display: none;
            }

            .futex-theme-counter-card .tab-content ul.stats.dashboard + div > div:last-child {
                flex-wrap: wrap;
                gap: 12px;
            }
}


    .futex-theme-main-content-wrap .node-connector-wrapper {
        border: 1px solid #cdd6e6;
        border-radius: 100%;
        padding: 2px;
    }

    .futex-theme-main-content-wrap .status-date-text {
        font-size: 11px;
        color: #64748b;
        font-weight: 500;
    }


    .fx-ic-box {
        flex: 0 0 40px;
        width: 40px;
        height: 35px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: .6rem;
        color: var(--brand, #1d4ed8);
        background: color-mix(in srgb, var(--brand, #1d4ed8) 10%, #fff);
    }

        .fx-ic-box i {
            font-size: 16px
        }

    .futex-theme-main-content-wrap .futex-theme-horizantal-form .control-label {
        margin-left: 51px;
        margin-bottom: 2px;
    }

    .futex-theme-main-content-wrap .futex-theme-horizantal-form {
        .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control, .select2-container--default.select2-container--disabled .select2-selection--single {
            background: color-mix(in srgb, var(--brand, #1d4ed8) 10%, #fff) !important;
        }

        .form-group {
            margin: 0 !important
        }
    }

    .futex-theme-main-content-wrap .alert-info {
        padding-top: 7px !important;
        padding-bottom: 7px !important;
    }

    .client-add .select2 {
        width: 77% !important
    }

    input, textarea, select {
        border-radius: 6px !important
    }

    html input:focus,
    html textarea:focus,
    html select:focus {
        box-shadow: 0 0 0 0.25rem rgb(0 0 0 / 9%) !important;
    }
    /* ---------- Theme accent (sirf yahan se color aata hai) ---------- */
    :root {
        --s2-accent: var(--theme-color, var(--bs-primary, #0d6efd));
    }

   /* .select2-container {
        width: 100% !important;
    }*/
    /* ---------- Closed box ---------- */
    .select2-container--default .select2-selection--single {
        height: 38px;
        display: flex;
        align-items: center;
        border-radius: 6px;
        background: #fff;
        transition: border-color .15s ease, box-shadow .15s ease;
    }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            padding-left: 12px;
            padding-right: 48px;
            line-height: 36px;
            color: #212529;
            overflow: hidden !important
        }

    .form-floating .form-floating-custom .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-top: 0rem !important;
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #9aa0a6;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 36px;
        right: 6px;
    }

    .select2-container--default .select2-selection--single .select2-selection__clear {
        margin-right: 25px;
        color: #9aa0a6;
        right: 0;
        position: absolute;
    }

        .select2-container--default .select2-selection--single .select2-selection__clear:hover {
            color: #dc3545;
        }
    /* ---------- Dropdown panel ---------- */
    .select2-dropdown {
        border: 1px solid #e3e6ea;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        margin-top: 0px;
    }
    /* ---------- Search box ---------- */
    .select2-search--dropdown {
        padding: 4px 10px;
        background: #f8f9fa;
        border-bottom: 1px solid #eef0f2;
    }

    .select2-container--default .select2-search--dropdown .select2-search__field {
        height: 36px;
        padding: 0 12px;
        border: 1px solid #ced4da;
        border-radius: 8px;
        outline: none !important;
    }
    /* ---------- Options ---------- */
    .select2-results__options {
        max-height: 260px;
        padding: 6px;
    }

    .select2-container--default .select2-results__option {
        padding: 9px 12px;
        margin-bottom: 2px;
        border-radius: 6px;
        color: #374151;
        white-space: normal;
        line-height: 1.35;
        transition: background .12s ease, color .12s ease;
    }
    /* Hover / keyboard highlight */
    .select2-container--default .select2-results__option--highlighted,
    .select2-container--default .select2-results__option--highlighted[aria-selected],
    .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
        background-color: var(--s2-accent) !important;
        color: #fff !important;
    }
    /* Pehle se selected option (select2 v4.0 aur v4.1) */
    .select2-container--default .select2-results__option[aria-selected="true"],
    .select2-container--default .select2-results__option.select2-results__option--selected,
    .select2-container--default .select2-results__option--selectable[aria-selected="true"],
    .select2-container--default .select2-results .select2-results__options .select2-results__option[aria-selected="true"] {
        background-color: var(--s2-accent) !important;
        color: #fff !important;
        font-weight: 600;
    }
    /* Disabled row */
    .select2-container--default .select2-results__option[aria-disabled="true"],
    .select2-container--default .select2-results__option--disabled,
    .select2-container--default .select2-results__option[aria-disabled="true"].select2-results__option--highlighted,
    .select2-container--default .select2-results__option--disabled.select2-results__option--highlighted {
        background-color: transparent !important;
        color: #9aa0a6 !important;
        font-style: italic;
        font-weight: normal;
    }
    /* Mouse kisi dusre option par ho to pehle selected normal ho jaye */
    .select2-container--default .select2-results .select2-results__options:has(.select2-results__option--highlighted) .select2-results__option[aria-selected="true"]:not(.select2-results__option--highlighted),
    .select2-container--default .select2-results .select2-results__options:has(.select2-results__option--highlighted) .select2-results__option--selected:not(.select2-results__option--highlighted) {
        background-color: transparent !important;
        color: #374151 !important;
        font-weight: normal;
    }
    /* No results */
    .select2-container--default .select2-results__message {
        padding: 12px;
        text-align: center;
        color: #9aa0a6;
    }
    /* ---------- Scrollbar ---------- */
    .select2-results__options::-webkit-scrollbar {
        width: 8px;
    }

    .select2-results__options::-webkit-scrollbar-thumb {
        background: #cfd4da;
        border-radius: 8px;
    }

        .select2-results__options::-webkit-scrollbar-thumb:hover {
            background: #adb5bd;
        }
    /* ---------- Focus: border + box-shadow theme ke mutabiq ---------- */
    /* input, textarea, select (native) */
    html input:focus,
    html textarea:focus,
    html select:focus,
    html .form-control:focus,
    html .form-select:focus {
        border-color: var(--s2-accent) !important;
        box-shadow: 0 0 8px 0.15rem color-mix(in srgb, var(--s2-accent) 20%, transparent) !important;
        outline: none !important;
    }
    /* Select2: focus aur open state */
    html .select2-container--default.select2-container--focus .select2-selection--single,
    html .select2-container--default.select2-container--open .select2-selection--single,
    html .select2-container--default.select2-container--focus .select2-selection--multiple,
    html .select2-container--default.select2-container--open .select2-selection--multiple {
        border-color: var(--s2-accent) !important;
        box-shadow: 0 0 8px 0.15rem color-mix(in srgb, var(--s2-accent) 20%, transparent) !important;
        outline: none !important;
    }
    /* Select2 dropdown ki search box */
    html .select2-container--default .select2-search--dropdown .select2-search__field:focus {
        border-color: var(--s2-accent) !important;
        box-shadow: 0 0 8px 0.15rem color-mix(in srgb, var(--s2-accent) 20%, transparent) !important;
        outline: none !important;
    }
    /* Khule dropdown ka border */
    html .select2-container--open .select2-dropdown {
        border-color: var(--s2-accent);
    }
    /* ---------- Theme accent colors (theme class body/html par lagti hai) ---------- */
    :root {
        --s2-accent: #339933;
    }
    /* default (green) */

    .theme-blue {
        --s2-accent: #368ee0;
    }

    .theme-orange {
        --s2-accent: #f8a31f;
    }

    .theme-red {
        --s2-accent: #e51400;
    }

    .theme-green {
        --s2-accent: #339933;
    }

    .theme-lime {
        --s2-accent: #8cbf26;
    }

    .theme-teal {
        --s2-accent: #00aba9;
    }

    .theme-purple {
        --s2-accent: #ff0097;
    }

    .theme-brown {
        --s2-accent: #a05000;
    }

    .theme-pink {
        --s2-accent: #e671b8;
    }

    .theme-magenta {
        --s2-accent: #a200ff;
    }

    .theme-grey {
        --s2-accent: #333333;
    }

    .theme-darkblue {
        --s2-accent: #204e81;
    }

    .theme-lightred {
        --s2-accent: #e63a3a;
    }

    .theme-lightgrey {
        --s2-accent: #666666;
    }

    .theme-satblue {
        --s2-accent: #2c5e7b;
    }

    .theme-satgreen {
        --s2-accent: #56af45;
    }

    .theme-grey-3 {
        --s2-accent: #eeeeee;
    }

    .theme-grey-4 {
        --s2-accent: #999999;
    }
    /* ---------- .fx-ic-box + thead.vbox / tr.vbox: har theme ka color ---------- */

/* ================= DEFAULT (green) ================= */
/* ================= DEFAULT (green) ================= */
/* ================= DEFAULT (green) ================= */
.detail-filter,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.fx-ic-box,
.futex-empty-box,
thead.vbox,
tr.vbox,
.futex-info-item,
.futex-form-vertical-grid .input-icon i,
.futex-modal-header .modal-header-icon,
.futex-modal .modal-header .modal-header-icon,
.futex-modal .popup-header,
.futex-offcanvas .offcanvas-header-icon,
.minitiles > li,
.futex-theme-main-content-wrap .minitiles > li:hover,
.minitiles .dropdown-menu > li > a > i,
.manage-campus li.default-branch a,
.manage-campus li.default-branch a::before,
.pill-box,
.pill-option > input:checked + .pill-box,
.pill-mark,
.pill-option > input:checked + .pill-box .pill-mark::after,
.dd-btn,
.dd-unit-group {
    --fx-ic: #339933;
}

/* ================= THEMES ================= */
.theme-blue .detail-filter,
.theme-blue .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-blue .fx-ic-box,
.theme-blue .futex-empty-box,
.theme-blue thead.vbox,
.theme-blue tr.vbox,
.theme-blue .futex-info-item,
.theme-blue .futex-form-vertical-grid .input-icon i,
.theme-blue .futex-modal-header .modal-header-icon,
.theme-blue .futex-modal .modal-header .modal-header-icon,
.theme-blue .futex-modal .popup-header,
.theme-blue .futex-offcanvas .offcanvas-header-icon,
.theme-blue .minitiles > li,
.theme-blue .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-blue .minitiles .dropdown-menu > li > a > i,
.theme-blue .manage-campus li.default-branch a,
.theme-blue .manage-campus li.default-branch a::before,
.theme-blue .pill-box,
.theme-blue .pill-option > input:checked + .pill-box,
.theme-blue .pill-mark,
.theme-blue .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-blue .dd-btn,
.theme-blue .dd-unit-group {
    --fx-ic: #368ee0;
}

.theme-orange .detail-filter,
.theme-orange .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-orange .fx-ic-box,
.theme-orange .futex-empty-box,
.theme-orange thead.vbox,
.theme-orange tr.vbox,
.theme-orange .futex-info-item,
.theme-orange .futex-form-vertical-grid .input-icon i,
.theme-orange .futex-modal-header .modal-header-icon,
.theme-orange .futex-modal .modal-header .modal-header-icon,
.theme-orange .futex-modal .popup-header,
.theme-orange .futex-offcanvas .offcanvas-header-icon,
.theme-orange .minitiles > li,
.theme-orange .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-orange .minitiles .dropdown-menu > li > a > i,
.theme-orange .manage-campus li.default-branch a,
.theme-orange .manage-campus li.default-branch a::before,
.theme-orange .pill-box,
.theme-orange .pill-option > input:checked + .pill-box,
.theme-orange .pill-mark,
.theme-orange .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-orange .dd-btn,
.theme-orange .dd-unit-group {
    --fx-ic: #f8a31f;
}

.theme-red .detail-filter,
.theme-red .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-red .fx-ic-box,
.theme-red .futex-empty-box,
.theme-red thead.vbox,
.theme-red tr.vbox,
.theme-red .futex-info-item,
.theme-red .futex-form-vertical-grid .input-icon i,
.theme-red .futex-modal-header .modal-header-icon,
.theme-red .futex-modal .modal-header .modal-header-icon,
.theme-red .futex-modal .popup-header,
.theme-red .futex-offcanvas .offcanvas-header-icon,
.theme-red .minitiles > li,
.theme-red .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-red .minitiles .dropdown-menu > li > a > i,
.theme-red .manage-campus li.default-branch a,
.theme-red .manage-campus li.default-branch a::before,
.theme-red .pill-box,
.theme-red .pill-option > input:checked + .pill-box,
.theme-red .pill-mark,
.theme-red .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-red .dd-btn,
.theme-red .dd-unit-group {
    --fx-ic: #e51400;
}

.theme-green .detail-filter,
.theme-green .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-green .fx-ic-box,
.theme-green .futex-empty-box,
.theme-green thead.vbox,
.theme-green tr.vbox,
.theme-green .futex-info-item,
.theme-green .futex-form-vertical-grid .input-icon i,
.theme-green .futex-modal-header .modal-header-icon,
.theme-green .futex-modal .modal-header .modal-header-icon,
.theme-green .futex-modal .popup-header,
.theme-green .futex-offcanvas .offcanvas-header-icon,
.theme-green .minitiles > li,
.theme-green .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-green .minitiles .dropdown-menu > li > a > i,
.theme-green .manage-campus li.default-branch a,
.theme-green .manage-campus li.default-branch a::before,
.theme-green .pill-box,
.theme-green .pill-option > input:checked + .pill-box,
.theme-green .pill-mark,
.theme-green .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-green .dd-btn,
.theme-green .dd-unit-group {
    --fx-ic: #339933;
}

.theme-lime .detail-filter,
.theme-lime .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-lime .fx-ic-box,
.theme-lime .futex-empty-box,
.theme-lime thead.vbox,
.theme-lime tr.vbox,
.theme-lime .futex-info-item,
.theme-lime .futex-form-vertical-grid .input-icon i,
.theme-lime .futex-modal-header .modal-header-icon,
.theme-lime .futex-modal .modal-header .modal-header-icon,
.theme-lime .futex-modal .popup-header,
.theme-lime .futex-offcanvas .offcanvas-header-icon,
.theme-lime .minitiles > li,
.theme-lime .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-lime .minitiles .dropdown-menu > li > a > i,
.theme-lime .manage-campus li.default-branch a,
.theme-lime .manage-campus li.default-branch a::before,
.theme-lime .pill-box,
.theme-lime .pill-option > input:checked + .pill-box,
.theme-lime .pill-mark,
.theme-lime .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-lime .dd-btn,
.theme-lime .dd-unit-group {
    --fx-ic: #8cbf26;
}

.theme-teal .detail-filter,
.theme-teal .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-teal .fx-ic-box,
.theme-teal .futex-empty-box,
.theme-teal thead.vbox,
.theme-teal tr.vbox,
.theme-teal .futex-info-item,
.theme-teal .futex-form-vertical-grid .input-icon i,
.theme-teal .futex-modal-header .modal-header-icon,
.theme-teal .futex-modal .modal-header .modal-header-icon,
.theme-teal .futex-modal .popup-header,
.theme-teal .futex-offcanvas .offcanvas-header-icon,
.theme-teal .minitiles > li,
.theme-teal .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-teal .minitiles .dropdown-menu > li > a > i,
.theme-teal .manage-campus li.default-branch a,
.theme-teal .manage-campus li.default-branch a::before,
.theme-teal .pill-box,
.theme-teal .pill-option > input:checked + .pill-box,
.theme-teal .pill-mark,
.theme-teal .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-teal .dd-btn,
.theme-teal .dd-unit-group {
    --fx-ic: #00aba9;
}

.theme-purple .detail-filter,
.theme-purple .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-purple .fx-ic-box,
.theme-purple .futex-empty-box,
.theme-purple thead.vbox,
.theme-purple tr.vbox,
.theme-purple .futex-info-item,
.theme-purple .futex-form-vertical-grid .input-icon i,
.theme-purple .futex-modal-header .modal-header-icon,
.theme-purple .futex-modal .modal-header .modal-header-icon,
.theme-purple .futex-modal .popup-header,
.theme-purple .futex-offcanvas .offcanvas-header-icon,
.theme-purple .minitiles > li,
.theme-purple .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-purple .minitiles .dropdown-menu > li > a > i,
.theme-purple .manage-campus li.default-branch a,
.theme-purple .manage-campus li.default-branch a::before,
.theme-purple .pill-box,
.theme-purple .pill-option > input:checked + .pill-box,
.theme-purple .pill-mark,
.theme-purple .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-purple .dd-btn,
.theme-purple .dd-unit-group {
    --fx-ic: #ff0097;
}

.theme-brown .detail-filter,
.theme-brown .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-brown .fx-ic-box,
.theme-brown .futex-empty-box,
.theme-brown thead.vbox,
.theme-brown tr.vbox,
.theme-brown .futex-info-item,
.theme-brown .futex-form-vertical-grid .input-icon i,
.theme-brown .futex-modal-header .modal-header-icon,
.theme-brown .futex-modal .modal-header .modal-header-icon,
.theme-brown .futex-modal .popup-header,
.theme-brown .futex-offcanvas .offcanvas-header-icon,
.theme-brown .minitiles > li,
.theme-brown .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-brown .minitiles .dropdown-menu > li > a > i,
.theme-brown .manage-campus li.default-branch a,
.theme-brown .manage-campus li.default-branch a::before,
.theme-brown .pill-box,
.theme-brown .pill-option > input:checked + .pill-box,
.theme-brown .pill-mark,
.theme-brown .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-brown .dd-btn,
.theme-brown .dd-unit-group {
    --fx-ic: #a05000;
}

.theme-pink .detail-filter,
.theme-pink .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-pink .fx-ic-box,
.theme-pink .futex-empty-box,
.theme-pink thead.vbox,
.theme-pink tr.vbox,
.theme-pink .futex-info-item,
.theme-pink .futex-form-vertical-grid .input-icon i,
.theme-pink .futex-modal-header .modal-header-icon,
.theme-pink .futex-modal .modal-header .modal-header-icon,
.theme-pink .futex-modal .popup-header,
.theme-pink .futex-offcanvas .offcanvas-header-icon,
.theme-pink .minitiles > li,
.theme-pink .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-pink .minitiles .dropdown-menu > li > a > i,
.theme-pink .manage-campus li.default-branch a,
.theme-pink .manage-campus li.default-branch a::before,
.theme-pink .pill-box,
.theme-pink .pill-option > input:checked + .pill-box,
.theme-pink .pill-mark,
.theme-pink .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-pink .dd-btn,
.theme-pink .dd-unit-group {
    --fx-ic: #e671b8;
}

.theme-magenta .detail-filter,
.theme-magenta .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-magenta .fx-ic-box,
.theme-magenta .futex-empty-box,
.theme-magenta thead.vbox,
.theme-magenta tr.vbox,
.theme-magenta .futex-info-item,
.theme-magenta .futex-form-vertical-grid .input-icon i,
.theme-magenta .futex-modal-header .modal-header-icon,
.theme-magenta .futex-modal .modal-header .modal-header-icon,
.theme-magenta .futex-modal .popup-header,
.theme-magenta .futex-offcanvas .offcanvas-header-icon,
.theme-magenta .minitiles > li,
.theme-magenta .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-magenta .minitiles .dropdown-menu > li > a > i,
.theme-magenta .manage-campus li.default-branch a,
.theme-magenta .manage-campus li.default-branch a::before,
.theme-magenta .pill-box,
.theme-magenta .pill-option > input:checked + .pill-box,
.theme-magenta .pill-mark,
.theme-magenta .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-magenta .dd-btn,
.theme-magenta .dd-unit-group {
    --fx-ic: #a200ff;
}

.theme-grey .detail-filter,
.theme-grey .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-grey .fx-ic-box,
.theme-grey .futex-empty-box,
.theme-grey thead.vbox,
.theme-grey tr.vbox,
.theme-grey .futex-info-item,
.theme-grey .futex-form-vertical-grid .input-icon i,
.theme-grey .futex-modal-header .modal-header-icon,
.theme-grey .futex-modal .modal-header .modal-header-icon,
.theme-grey .futex-modal .popup-header,
.theme-grey .futex-offcanvas .offcanvas-header-icon,
.theme-grey .minitiles > li,
.theme-grey .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-grey .minitiles .dropdown-menu > li > a > i,
.theme-grey .manage-campus li.default-branch a,
.theme-grey .manage-campus li.default-branch a::before,
.theme-grey .pill-box,
.theme-grey .pill-option > input:checked + .pill-box,
.theme-grey .pill-mark,
.theme-grey .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-grey .dd-btn,
.theme-grey .dd-unit-group {
    --fx-ic: #333333;
}

.theme-darkblue .detail-filter,
.theme-darkblue .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-darkblue .fx-ic-box,
.theme-darkblue .futex-empty-box,
.theme-darkblue thead.vbox,
.theme-darkblue tr.vbox,
.theme-darkblue .futex-info-item,
.theme-darkblue .futex-form-vertical-grid .input-icon i,
.theme-darkblue .futex-modal-header .modal-header-icon,
.theme-darkblue .futex-modal .modal-header .modal-header-icon,
.theme-darkblue .futex-modal .popup-header,
.theme-darkblue .futex-offcanvas .offcanvas-header-icon,
.theme-darkblue .minitiles > li,
.theme-darkblue .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-darkblue .minitiles .dropdown-menu > li > a > i,
.theme-darkblue .manage-campus li.default-branch a,
.theme-darkblue .manage-campus li.default-branch a::before,
.theme-darkblue .pill-box,
.theme-darkblue .pill-option > input:checked + .pill-box,
.theme-darkblue .pill-mark,
.theme-darkblue .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-darkblue .dd-btn,
.theme-darkblue .dd-unit-group {
    --fx-ic: #204e81;
}

.theme-lightred .detail-filter,
.theme-lightred .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-lightred .fx-ic-box,
.theme-lightred .futex-empty-box,
.theme-lightred thead.vbox,
.theme-lightred tr.vbox,
.theme-lightred .futex-info-item,
.theme-lightred .futex-form-vertical-grid .input-icon i,
.theme-lightred .futex-modal-header .modal-header-icon,
.theme-lightred .futex-modal .modal-header .modal-header-icon,
.theme-lightred .futex-modal .popup-header,
.theme-lightred .futex-offcanvas .offcanvas-header-icon,
.theme-lightred .minitiles > li,
.theme-lightred .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-lightred .minitiles .dropdown-menu > li > a > i,
.theme-lightred .manage-campus li.default-branch a,
.theme-lightred .manage-campus li.default-branch a::before,
.theme-lightred .pill-box,
.theme-lightred .pill-option > input:checked + .pill-box,
.theme-lightred .pill-mark,
.theme-lightred .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-lightred .dd-btn,
.theme-lightred .dd-unit-group {
    --fx-ic: #e63a3a;
}

.theme-lightgrey .detail-filter,
.theme-lightgrey .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-lightgrey .fx-ic-box,
.theme-lightgrey .futex-empty-box,
.theme-lightgrey thead.vbox,
.theme-lightgrey tr.vbox,
.theme-lightgrey .futex-info-item,
.theme-lightgrey .futex-form-vertical-grid .input-icon i,
.theme-lightgrey .futex-modal-header .modal-header-icon,
.theme-lightgrey .futex-modal .modal-header .modal-header-icon,
.theme-lightgrey .futex-modal .popup-header,
.theme-lightgrey .futex-offcanvas .offcanvas-header-icon,
.theme-lightgrey .minitiles > li,
.theme-lightgrey .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-lightgrey .minitiles .dropdown-menu > li > a > i,
.theme-lightgrey .manage-campus li.default-branch a,
.theme-lightgrey .manage-campus li.default-branch a::before,
.theme-lightgrey .pill-box,
.theme-lightgrey .pill-option > input:checked + .pill-box,
.theme-lightgrey .pill-mark,
.theme-lightgrey .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-lightgrey .dd-btn,
.theme-lightgrey .dd-unit-group {
    --fx-ic: #666666;
}

.theme-satblue .detail-filter,
.theme-satblue .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-satblue .fx-ic-box,
.theme-satblue .futex-empty-box,
.theme-satblue thead.vbox,
.theme-satblue tr.vbox,
.theme-satblue .futex-info-item,
.theme-satblue .futex-form-vertical-grid .input-icon i,
.theme-satblue .futex-modal-header .modal-header-icon,
.theme-satblue .futex-modal .modal-header .modal-header-icon,
.theme-satblue .futex-modal .popup-header,
.theme-satblue .futex-offcanvas .offcanvas-header-icon,
.theme-satblue .minitiles > li,
.theme-satblue .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-satblue .minitiles .dropdown-menu > li > a > i,
.theme-satblue .manage-campus li.default-branch a,
.theme-satblue .manage-campus li.default-branch a::before,
.theme-satblue .pill-box,
.theme-satblue .pill-option > input:checked + .pill-box,
.theme-satblue .pill-mark,
.theme-satblue .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-satblue .dd-btn,
.theme-satblue .dd-unit-group {
    --fx-ic: #2c5e7b;
}

.theme-satgreen .detail-filter,
.theme-satgreen .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-satgreen .fx-ic-box,
.theme-satgreen .futex-empty-box,
.theme-satgreen thead.vbox,
.theme-satgreen tr.vbox,
.theme-satgreen .futex-info-item,
.theme-satgreen .futex-form-vertical-grid .input-icon i,
.theme-satgreen .futex-modal-header .modal-header-icon,
.theme-satgreen .futex-modal .modal-header .modal-header-icon,
.theme-satgreen .futex-modal .popup-header,
.theme-satgreen .futex-offcanvas .offcanvas-header-icon,
.theme-satgreen .minitiles > li,
.theme-satgreen .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-satgreen .minitiles .dropdown-menu > li > a > i,
.theme-satgreen .manage-campus li.default-branch a,
.theme-satgreen .manage-campus li.default-branch a::before,
.theme-satgreen .pill-box,
.theme-satgreen .pill-option > input:checked + .pill-box,
.theme-satgreen .pill-mark,
.theme-satgreen .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-satgreen .dd-btn,
.theme-satgreen .dd-unit-group {
    --fx-ic: #56af45;
}

.theme-grey-3 .detail-filter,
.theme-grey-3 .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-grey-3 .fx-ic-box,
.theme-grey-3 .futex-empty-box,
.theme-grey-3 thead.vbox,
.theme-grey-3 tr.vbox,
.theme-grey-3 .futex-info-item,
.theme-grey-3 .futex-form-vertical-grid .input-icon i,
.theme-grey-3 .futex-modal-header .modal-header-icon,
.theme-grey-3 .futex-modal .modal-header .modal-header-icon,
.theme-grey-3 .futex-modal .popup-header,
.theme-grey-3 .futex-offcanvas .offcanvas-header-icon,
.theme-grey-3 .minitiles > li,
.theme-grey-3 .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-grey-3 .minitiles .dropdown-menu > li > a > i,
.theme-grey-3 .manage-campus li.default-branch a,
.theme-grey-3 .manage-campus li.default-branch a::before,
.theme-grey-3 .pill-box,
.theme-grey-3 .pill-option > input:checked + .pill-box,
.theme-grey-3 .pill-mark,
.theme-grey-3 .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-grey-3 .dd-btn,
.theme-grey-3 .dd-unit-group {
    --fx-ic: #999999;
}

.theme-grey-4 .detail-filter,
.theme-grey-4 .select2-container--default .select2-results__option--highlighted[aria-selected],
.theme-grey-4 .fx-ic-box,
.theme-grey-4 .futex-empty-box,
.theme-grey-4 thead.vbox,
.theme-grey-4 tr.vbox,
.theme-grey-4 .futex-info-item,
.theme-grey-4 .futex-form-vertical-grid .input-icon i,
.theme-grey-4 .futex-modal-header .modal-header-icon,
.theme-grey-4 .futex-modal .modal-header .modal-header-icon,
.theme-grey-4 .futex-modal .popup-header,
.theme-grey-4 .futex-offcanvas .offcanvas-header-icon,
.theme-grey-4 .minitiles > li,
.theme-grey-4 .futex-theme-main-content-wrap .minitiles > li:hover,
.theme-grey-4 .minitiles .dropdown-menu > li > a > i,
.theme-grey-4 .manage-campus li.default-branch a,
.theme-grey-4 .manage-campus li.default-branch a::before,
.theme-grey-4 .pill-box,
.theme-grey-4 .pill-option > input:checked + .pill-box,
.theme-grey-4 .pill-mark,
.theme-grey-4 .pill-option > input:checked + .pill-box .pill-mark::after,
.theme-grey-4 .dd-btn,
.theme-grey-4 .dd-unit-group {
    --fx-ic: #999999;
}
/* =====================================================
   PILL: THEME COLOR (apni pill CSS ke bilkul AAKHIR mein paste karo)
   --fx-ic theme-colors.css se aata hai (har theme ka apna rang).
   Inactive = theme ka halka rang | Checked = theme ka poora rang
   ===================================================== */

/* =====================================================
   PILL: THEME COLOR (apni pill CSS ke bilkul AAKHIR mein paste karo)
   --fx-ic theme-colors.css se aata hai (har theme ka apna rang).
   Inactive = theme ka halka rang | Checked = theme ka poora rang
   ===================================================== */

/* ===== Inactive: halka theme color ===== */
.pill-box,
.pill-switch .pill-box {
    color: var(--fx-ic) !important;
    background: color-mix(in srgb, var(--fx-ic) 14%, #fff) !important;
}

/* ===== Checked: theme ka color ===== */
.pill-option > input:checked + .pill-box,
.pill-switch > input:checked + .pill-box {
    color: #fff !important;
    background: var(--fx-ic) !important;
    border-color: var(--fx-ic) !important;
}

    /* ===== Tick aur radio dot bhi theme color ===== */
    .pill-option > input:checked + .pill-box .pill-mark::after {
        border-color: var(--fx-ic) !important;
    }

.pill-radio .pill-mark::after,
.pill-radio > input:checked + .pill-box .pill-mark::after {
    background: var(--fx-ic);
}

/* ===== Circle ki border: background se thodi gehri (theme ke mutabiq) ===== */
.pill-mark,
.pill-switch .pill-mark {
    border-color: color-mix(in srgb, var(--fx-ic) 40%, #fff) !important;
}

/* ===== Hover ===== */
.pill-option:hover .pill-box {
    border-color: var(--fx-ic);
    box-shadow: 0 3px 9px -5px color-mix(in srgb, var(--fx-ic) 55%, transparent);
}

/* ===== Keyboard focus ===== */
.pill-option > input:focus-visible + .pill-box {
    outline-color: color-mix(in srgb, var(--fx-ic) 45%, transparent);
}


html body .select2-container--default .select2-results__option--highlighted[aria-selected]:not(#x),
html body .select2-container--default .select2-results__option--highlighted[data-selected]:not(#x) {
    background: color-mix(in srgb, var(--fx-ic) 12%, white) !important;
    color: #212529 !important;
    transition: none !important;
}

/* ================= Manage Campus : default branch marker ================= */
.manage-campus li.default-branch a::before {
    background: var(--fx-ic) !important;
    border-color: var(--fx-ic) !important;
}

.manage-campus li.default-branch a span {
    color: var(--fx-ic) !important;
}

    .manage-campus li.default-branch a:hover {
        border-color: var(--fx-ic) !important;
    }



/* ===== Dropdown icon: halka background + theme color ===== */
.minitiles .dropdown-menu > li > a > i,
.minitiles .dropdown-menu.setup > li > a > i {
    color: var(--fx-ic) !important;
    background: color-mix(in srgb, var(--fx-ic) 12%, #fff) !important;
}

/* Delete icon hamesha red (ye rule sabse neeche rakhna) */
.minitiles .dropdown-menu > li > a:has(.fa-trash) > i,
.minitiles .dropdown-menu.setup > li > a:has(.fa-trash) > i {
    --fx-ic: #e51400;
}

/* ================= MODAL HEADERS ================= */

/* Normal modal headers: white background (popup-header ke bina) */
.futex-modal-header:not(.popup-header),
.futex-modal .modal-header:not(.popup-header) {
    background: var(--white) !important;
}

/* popup-header: background theme color ke mutabiq */
.futex-modal .modal-header.popup-header {
    background: var(--fx-ic);
    color: #fff;
}

/* popup-header ka button: theme color text, white background taake nazar aaye */
.futex-modal .popup-header button {
    color: var(--fx-ic) !important;
    background: #fff;
    border-radius: 4px;
}
    /* Background: theme color, kam opacity */
    .fx-ic-box {
        background: color-mix(in srgb, var(--fx-ic) 15%, transparent) !important;
    }
        /* Icon: full theme color */
        .fx-ic-box i {
            color: var(--fx-ic) !important;
        }
    /* thead.vbox / tr.vbox ke th, td: text color */
    thead.vbox th,
    thead.vbox td,
    tr.vbox th,
    tr.vbox td {
        color: var(--fx-ic) !important;
    }
    /* ---------- Toggle switch: har theme ka color ---------- */
    /* Default (jab koi theme class na ho) */
    .toggle-switch {
        --tg: #339933;
    }

    .theme-blue .toggle-switch {
        --tg: #368ee0;
    }

    .theme-orange .toggle-switch {
        --tg: #f8a31f;
    }

    .theme-red .toggle-switch {
        --tg: #e51400;
    }

    .theme-green .toggle-switch {
        --tg: #339933;
    }

    .theme-lime .toggle-switch {
        --tg: #8cbf26;
    }

    .theme-teal .toggle-switch {
        --tg: #00aba9;
    }

    .theme-purple .toggle-switch {
        --tg: #ff0097;
    }

    .theme-brown .toggle-switch {
        --tg: #a05000;
    }

    .theme-pink .toggle-switch {
        --tg: #e671b8;
    }

    .theme-magenta .toggle-switch {
        --tg: #a200ff;
    }

    .theme-grey .toggle-switch {
        --tg: #333333;
    }

    .theme-darkblue .toggle-switch {
        --tg: #204e81;
    }

    .theme-lightred .toggle-switch {
        --tg: #e63a3a;
    }

    .theme-lightgrey .toggle-switch {
        --tg: #666666;
    }

    .theme-satblue .toggle-switch {
        --tg: #2c5e7b;
    }

    .theme-satgreen .toggle-switch {
        --tg: #56af45;
    }

    .theme-grey-3 .toggle-switch {
        --tg: #999999;
    }

    .theme-grey-4 .toggle-switch {
        --tg: #999999;
    }
    /* ON state: theme color */
    .toggle-switch input:checked + .toggle-slider {
        background-color: var(--tg) !important;
    }
    /* OFF state: grey */
    .toggle-slider {
        background-color: #ccc;
    }
    /* Focus glow (optional) */
    .toggle-switch input:focus + .toggle-slider {
        box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--tg) 25%, transparent);
    }
    /* ---------- Toggle switch: har theme ka color ---------- */
    .toggle-switch {
        --tg: #339933;
    }

    .theme-blue .toggle-switch {
        --tg: #368ee0;
    }

    .theme-orange .toggle-switch {
        --tg: #f8a31f;
    }

    .theme-red .toggle-switch {
        --tg: #e51400;
    }

    .theme-green .toggle-switch {
        --tg: #339933;
    }

    .theme-lime .toggle-switch {
        --tg: #8cbf26;
    }

    .theme-teal .toggle-switch {
        --tg: #00aba9;
    }

    .theme-purple .toggle-switch {
        --tg: #ff0097;
    }

    .theme-brown .toggle-switch {
        --tg: #a05000;
    }

    .theme-pink .toggle-switch {
        --tg: #e671b8;
    }

    .theme-magenta .toggle-switch {
        --tg: #a200ff;
    }

    .theme-grey .toggle-switch {
        --tg: #333333;
    }

    .theme-darkblue .toggle-switch {
        --tg: #204e81;
    }

    .theme-lightred .toggle-switch {
        --tg: #e63a3a;
    }

    .theme-lightgrey .toggle-switch {
        --tg: #666666;
    }

    .theme-satblue .toggle-switch {
        --tg: #2c5e7b;
    }

    .theme-satgreen .toggle-switch {
        --tg: #56af45;
    }

    .theme-grey-3 .toggle-switch {
        --tg: #999999;
    }

    .theme-grey-4 .toggle-switch {
        --tg: #999999;
    }
    /* OFF: theme color, kam opacity */
    .toggle-slider {
        background-color: color-mix(in srgb, var(--tg) 25%, transparent) !important;
    }
    /* ON: theme color, full */
    .toggle-switch input:checked + .toggle-slider {
        background-color: var(--tg) !important;
    }
    /* Focus glow (optional) */
    .toggle-switch input:focus + .toggle-slider {
        box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--tg) 25%, transparent);
    }

.table tr th, .table tr td {
    padding: 8px 5px !important
}
    /* ---------- Rounded table ---------- */
    .futex-theme-table {
        table {
            border-collapse: separate !important;
            border-spacing: 0;
            border-radius: 6px;
            overflow: hidden;
        }
            /* upar ke corners (thead ya pehli row) */
            table thead tr:first-child th:first-child,
            table thead tr:first-child td:first-child,
            table > tr:first-child > th:first-child,
            table > tr:first-child > td:first-child {
                border-top-left-radius: 6px;
            }

            table thead tr:first-child th:last-child,
            table thead tr:first-child td:last-child,
            table > tr:first-child > th:last-child,
            table > tr:first-child > td:last-child {
                border-top-right-radius: 6px;
            }
            /* neeche ke corners (aakhri row) */
            table tbody tr:last-child td:first-child,
            table > tr:last-child > td:first-child {
                border-bottom-left-radius: 6px;
            }

            table tbody tr:last-child td:last-child,
            table > tr:last-child > td:last-child {
                border-bottom-right-radius: 6px;
            }







        .table > tbody > tr:nth-of-type(even) {
            background: var(--soft)
        }
    }

    .futex-theme-table {
        border: 1px solid var(--line) !important;
        border-radius: 6px !important;
    }
        .futex-theme-table tr td {
            border-top: 1px solid #edf1f4;
        }
.futex-theme-table tr:hover td {
    background: #fbfefe;
}
.futex-empty-box {
    :is(.empty-box, .empty-box-small) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 48px 20px;
    }
        /* Bahar wala circle: size + position reference */
        :is(.empty-box, .empty-box-small) > .icon-circle {
            position: relative;
            width: 150px;
            height: 150px;
            display: flex;

            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            background: none !important;
            border: 0 !important;
            overflow: visible !important;
            box-shadow: none !important;
            -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
            border-radius:100%
        }
            /* Dashed border (akela ghoomta hai) */
            :is(.empty-box, .empty-box-small) > .icon-circle::before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                box-sizing: border-box;
                border: 2px dashed color-mix(in srgb, var(--fx-ic) 55%, transparent);
                border-radius: 50%;
                z-index: 0;
                animation: empty-spin 14s linear infinite;
            }
            /* Search icon: bahar wale circle ke andar hi rahega */
            :is(.empty-box, .empty-box-small) > .icon-circle::after {
                font-family: "FontAwesome";
                content: "\f002";
                position: absolute;
                left: 80px;
                top: 76px;
                font-size: 22px;
                color: #374151;
                z-index: 2;
                animation: pulseSearch 3s ease-in-out infinite;
                background: #fff;
                padding: 10px;
                border-radius: 100%;
                height: 50px;
                width: 50px;
            }
            /* Andar wala circle: sirf icon ko center karta hai */
            :is(.empty-box, .empty-box-small) > .icon-circle > .icon-circle {
                position: relative;
                z-index: 1;
                display: flex;
                align-items: center;
                justify-content: center;
                width: auto !important;
                height: auto !important;
                margin: 0 !important;
                background: none !important;
                border: 0 !important;
                animation: none !important;
            }

    .empty-box-small .icon-circle {
        width: 90px;
        height: 90px
    }

        .empty-box-small .icon-circle:after {
           
            left: 46px;
            top: 49px;
            font-size: 16px;
          
            padding: 5px;
            
            height: 30px;
            width: 30px;
       
}

    .empty-box-small .icon {
       font-size:50px !important
    }

    :is(.empty-box, .empty-box-small) .icon {
        font-size: 85px;
    }

    :is(.empty-box, .empty-box-small) .title {
        font-size: 22px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 8px;
    }

    :is(.empty-box, .empty-box-small) .desc {
        font-size: 14px;
        color: #6b7280;
        max-width: 420px;
        margin-top: 0;
    }
    /* @media nesting ke andar chal jata hai */
    @media (prefers-reduced-motion: reduce) {
        :is(.empty-box, .empty-box-small) > .icon-circle::before,
        :is(.empty-box, .empty-box-small) > .icon-circle::after,
        :is(.empty-box, .empty-box-small) .icon {
            animation: none;
        }
    }
}

/* <-- .futex-empty-box yahan band */

/* Keyframes: nesting ke BAHAR */
@keyframes empty-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes empty-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes empty-search-move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(-8px, -6px) scale(1.1);
    }

    50% {
        transform: translate(-3px, -10px) scale(1);
    }

    75% {
        transform: translate(5px, -4px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes pulseSearch {
    0%, 100% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.15) translateY(-4px);
    }
}



    .futex-action-btns {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

        .futex-action-btns .btn-primary, .futex-action-btns .btn-primary-rounded, .futex-action-btns .btn-darkblue, .futex-action-btns .btn-danger {
            width: 25px;
            height: 25px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 16px;
            box-shadow: none !important;
            cursor: pointer;
            transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
            border-color: color-mix(in srgb, currentColor 50%, transparent) !important;
        }

            .futex-action-btns .btn-primary i, .futex-action-btns .btn-primary-rounded i, .futex-action-btns .btn-darkblue i, .futex-action-btns .btn-danger i {
                font-size: 12px !important
            }

        .futex-action-btns .btn-danger {
            border-color: color-mix(in srgb, currentColor 20%, transparent) !important;
        }
        /* Edit button: theme ke mutabiq */
        .futex-action-btns .btn-primary, .futex-action-btns .btn-primary-rounded, .futex-action-btns .btn-darkblue {
            background: color-mix(in srgb, var(--fx-ic) 15%, transparent) !important;
            color: var(--fx-ic) !important;
        }

            .futex-action-btns .btn-primary:hover, .futex-action-btns .btn-primary-rounded:hover, .futex-action-btns .btn-darkblue:hover {
                background: var(--fx-ic) !important;
                color: #fff !important;
                transform: translateY(-3px);
                box-shadow: 0 8px 16px color-mix(in srgb, var(--fx-ic) 35%, transparent) !important;
            }
        /* Delete button: red */
        .futex-action-btns .btn-danger {
            background: rgba(229, 20, 0, .06) !important;
            color: #e51400 !important;
        }

            .futex-action-btns .btn-danger:hover {
                background: #e51400 !important;
                color: #fff !important;
                transform: translateY(-3px);
                box-shadow: 0 8px 16px rgba(229, 20, 0, .35) !important;
            }
            /* Click karte waqt halka dabne ka effect */
            .futex-action-btns .btn-primary:active,
            .futex-action-btns .btn-danger:active {
                transform: translateY(0) scale(.94);
            }
            /* Keyboard focus */
            .futex-action-btns .btn-primary:focus-visible,
            .futex-action-btns .btn-danger:focus-visible {
                outline: 2px solid currentColor;
                outline-offset: 2px;
            }




    .futex-form-vertical-grid {
    }

        .futex-form-vertical-grid .input-icon {
            position: relative
        }

            .futex-form-vertical-grid .input-icon i {
                position: absolute;
                top: 10px;
                left: 10px;
                z-index: 1;
                color: var(--fx-ic);
            }

    .futex-form-vertical-grid {
        input, select {
            padding-left: 30px
        }

        .form-group {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        input, select, .select2, .select2-container--default .select2-selection--single {
            /*  background: var(--soft);
        border-color: var(--line);
        height: 38px !important*/
        }

            .select2-container--default .select2-selection--single .select2-selection__rendered {
                padding-left: 30px;
            }



        .control-label {
            margin-bottom: 2px;
            margin-left: 8px;
        }
    }

    .futex-modal, .form-horizontal, .form-horizontal.form-bordered {

        .form-bordered .form-group {
            border-bottom: 1px dashed #ddd !important;
            background: var(--soft) !important;
            margin-bottom: 0 !important;
        }

            .form-bordered .form-group:last-child {
                border-bottom: none !important;
            }

        .form-group [class*="col-"] {
            border: none !important;
        }
    }



    .modal-backdrop {
        background-color: var(--ink);
    }


    .futex-modal .modal-content {
        border-radius: 16px !important
    }
    .futex-modal .modal-content .modal-header{
        border-radius:16px 16px 0 0;
       display:flex
    }

    .futex-modal-header, .futex-modal .modal-header, .futex-offcanvas .offcanvas-header {
        background: var(--white) !important;
    }
        

        .futex-modal-header .close, .futex-modal .modal-header .close, .futex-offcanvas .offcanvas-header .btn-close {
            margin-left: auto !important
        }

        .futex-modal-header .modal-title, .futex-modal .modal-header .modal-title, .futex-offcanvas .offcanvas-title {
            color: var(--ink) !important
        }

        .futex-modal-header .modal-header-icon, .futex-modal .modal-header .modal-header-icon, .futex-offcanvas .offcanvas-header-icon {
            display: grid;
            place-items: center;
            flex: none;
            font-size: 1.8rem;
            border-radius: 12px;
            background: var(--fx-ic);
            box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .3); /* fallback */
            box-shadow: 0 8px 16px -8px color-mix(in srgb, var(--fx-ic) 70%, transparent);
            color: var(--white);
            width: 35px;
            height: 35px;
            text-align: center;
            border-radius: 11px;
            margin-right: 12px;
        }

.futex-modal-header, .futex-modal .modal-header, .offcanvas-header, .futex-offcanvas .offcanvas-header {
    h1, h2, h3, h4, h5, h6 {
        margin-bottom: 0
    }
}

    hh {
    }



.futex-modal-header .close, .futex-modal .modal-header .close, .offcanvas-header .btn-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    color: #000 !important;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.4s ease;
    cursor: pointer;
    border: 1px solid #e1e6ed !important;
    background: #f8fafc !important;
    opacity: 1 !important;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 4px;
    padding: 0;
    order: 3
}

        .futex-modal-header .close:hover, .futex-modal .modal-header .close:hover,  .futex-offcanvas .offcanvas-header .btn-close:hover {
            background: var(--color-red-light) !important;
            color: var(--color-red-dark) !important;
            stroke: var(--color-red-dark) !important;
            transform: rotate(180deg);
            border-color: var(--color-red-soft) !important;
        }

    .canvas-header .theme-icon {
        max-width: 46px;
        max-height: 46px;
        font-size: 24px;
    }

    .canvas-header .theme-subtitle {
        font-size: 12px;
        font-weight: 500;
    }

.futex-theme-main-content-wrap {
    .minitiles > li {
        border-radius: 8px;
    }

    .minitiles > li ul li {
        background: #FFF !important
    }

        .minitiles > li > a {
            height: 44px;
            min-width: 48px;
            transition: all 0.3s ease;
        }

            .minitiles > li > a i {
                font-size: 24px;
                line-height: 25px;
            }

        .minitiles > li:hover {
            background: var(--fx-ic) !important
        }



            .minitiles > li:hover i, .minitiles > li:hover .caret {
                color: var(--white) !important
            }

            .minitiles > li:hover ul li {
                color: var(--fx-ic) !important;
            }

    .minitiles li a .caret {
        position: absolute;
        bottom: 7px;
        right: 4px;
    }
}


    .detailed-list .detail-table > tbody > tr.detail-main-row > td {
        background: transparent;
    }

    .btn-primary,
    .detail-search-button {
        position: relative;
        z-index: 0; /* stacking context: ::before text ke peeche, button ke background ke upar */
        overflow: hidden;
        transition: transform .2s ease, box-shadow .2s ease;
    }
        /* dark layer */
        .btn-primary::before,
        .detail-search-button::before {
            content: "";
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, .0);
            z-index: -1;
            pointer-events: none;
            transition: background .3s ease;
        }

        .btn-primary:hover::before,
        .detail-search-button:hover::before {
            background: rgba(0, 0, 0, .18);
        }
        /* shine effect (wahi jo pehle tha) */
        .btn-primary::after,
        .detail-search-button::after {
            content: "";
            position: absolute;
            top: 0;
            left: -75%;
            width: 50%;
            height: 100%;
            background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .35), transparent);
            transform: skewX(-20deg);
            transition: left .5s ease;
            pointer-events: none;
        }

        .btn-primary:hover::after,
        .detail-search-button:hover::after {
            left: 125%;
        }
    /* ===== <input class="btn-primary"> : hover shine ===== */
    input.btn-primary,
    input.detail-search-button {
        transition: transform .2s ease, box-shadow .2s ease, filter .3s ease;
    }

        input.btn-primary:hover,
        input.detail-search-button:hover {
            filter: brightness(.85);
            background-image: linear-gradient(120deg, transparent 46%, rgba(255, 255, 255, .45) 50%, transparent 54%) !important;
            background-repeat: no-repeat !important;
            background-size: 300% 100% !important;
            animation: btn-shine .7s ease forwards;
        }

    @keyframes btn-shine {
        from {
            background-position: 100% 0;
        }
        /* button ke left se bahar */
        to {
            background-position: 0 0;
        }
        /* button ke right se bahar */
    }


    .detailed-list .detail-search-button {
        border-color: transparent;
    }

.common-summary-cards,
.futex-common-summary-cards {
    width: 100%;
    margin-bottom: 8px;
}

.futex-common-summary-cards,
.common-summary-cards {
    /* box-sizing (pehle ye selector kaam nahi kar raha tha, ab theek hai) */
    &, & *, & *::before, & *::after {
        box-sizing: border-box;
    }
    /* ===== Grid: ek line mein max --cols cards, kam hon to 100% phail jayen ===== */
    .common-summary-cards__grid {
        --cols: 6;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(calc((100% - (var(--cols) - 1) * 6px) / var(--cols) - 1px), 1fr));
        gap: 6px;
        width: 100%;
        flex: 1 1 auto;
        min-width: 0;
        perspective: 1200px;
    }
    /* ===== Card ===== */
    .common-summary-card {
        --summary-bg: #f3f7fd;
        --summary-border: #c7d7eb;
        --summary-icon: #3b82f6;
        --summary-rotate-x: 0deg;
        --summary-rotate-y: 0deg;
        --summary-glow-x: 50%;
        --summary-glow-y: 50%;
        position: relative;
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 71px;
        padding: 8px 12px;
        overflow: hidden;
        background: linear-gradient(135deg, var(--summary-bg) 0%, #ffffff 100%);
        border: 1px solid var(--summary-border);
        border-radius: 9px;
        transform-style: preserve-3d;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
        /* hidden hone par display:flex ko override karo */
        .common-summary-card[hidden] {
            display: none !important;
        }
        /* Shine: hover par left se right chamak guzarti hai */
        .common-summary-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: -80%;
            width: 50%;
            height: 100%;
            z-index: 0;
            pointer-events: none;
            opacity: 0;
            background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.15) 70%, transparent 100%);
            transform: skewX(-20deg);
        }

        .common-summary-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08), 0 2px 5px rgba(15, 23, 42, 0.04);
        }

            .common-summary-card:hover::before {
                opacity: 1;
                left: 130%;
                transition: left 0.7s ease, opacity 0.1s ease;
            }

    .common-summary-card__icon {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        margin-right: 12px;
        color: var(--summary-icon);
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid var(--summary-border);
        border-radius: 10px;
        font-size: 18px;
        box-shadow: 0 3px 8px rgba(15, 23, 42, 0.04);
    }

    .common-summary-card__content {
        position: relative;
        z-index: 1;
        flex: 1;
        min-width: 0;
    }

    .common-summary-card__title,
    .common-summary-card__value,
    .common-summary-card__subtitle {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .common-summary-card__title {
        margin: 0 0 3px;
        color: #68717c;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.2;
    }

    .common-summary-card__value {
        margin: 0;
        color: #20252b;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.25;
    }

    .common-summary-card__subtitle {
        margin-top: 4px;
        color: var(--summary-icon);
        font-size: 11px;
        line-height: 1.2;
    }
    /* ===== Footer + arrow ===== */
    .common-summary-cards__footer {
        display: flex;
        justify-content: center;
        flex: 0 0 30px;
        align-self: auto;
        margin: 0;
        margin-top: 26px;
    }

    .common-summary-cards__toggle {
        width: 20px;
        height: 20px;
        min-height: 20px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #64748b;
        background: #ffffff;
        border: 1px solid #d4dee4;
        border-radius: 50%;
        outline: none;
        font-size: 9px;
        transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

        .common-summary-cards__toggle:hover,
        .common-summary-cards__toggle:focus {
            color: #0f766e;
            border-color: #0d9488;
            outline: none;
        }

        .common-summary-cards__toggle:focus-visible {
            box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
        }

    .common-summary-cards__chevron {
        display: inline-block;
        position: relative;
        top: 0;
        right: 2px;
        width: 5px;
        height: 5px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform 0.2s ease;
    }

    .common-summary-cards__toggle[aria-expanded="true"] .common-summary-cards__chevron {
        transform: rotate(225deg) translate(-2px, -1px);
    }
    /* =====================================================
       20 predefined card colors (card ki tarteeb se khud lagte hain)
       ===================================================== */

    .common-summary-card--1 {
        --summary-bg: #f3f7fd;
        --summary-border: #c7d7eb;
        --summary-icon: #3b82f6;
    }

    .common-summary-card--2 {
        --summary-bg: #effcf4;
        --summary-border: #b8ebca;
        --summary-icon: #15945f;
    }

    .common-summary-card--3 {
        --summary-bg: #fff8eb;
        --summary-border: #ffdc73;
        --summary-icon: #d97706;
    }

    .common-summary-card--4 {
        --summary-bg: #fff2f3;
        --summary-border: #ffc4c8;
        --summary-icon: #e11d48;
    }

    .common-summary-card--5 {
        --summary-bg: #f7f1ff;
        --summary-border: #ddc9ff;
        --summary-icon: #8b5cf6;
    }

    .common-summary-card--6 {
        --summary-bg: #ecfeff;
        --summary-border: #a5e9ef;
        --summary-icon: #0891b2;
    }

    .common-summary-card--7 {
        --summary-bg: #f0fdfa;
        --summary-border: #99f6e4;
        --summary-icon: #0f766e;
    }

    .common-summary-card--8 {
        --summary-bg: #fff7ed;
        --summary-border: #fed7aa;
        --summary-icon: #ea580c;
    }

    .common-summary-card--9 {
        --summary-bg: #fdf2f8;
        --summary-border: #fbcfe8;
        --summary-icon: #db2777;
    }

    .common-summary-card--10 {
        --summary-bg: #eef2ff;
        --summary-border: #c7d2fe;
        --summary-icon: #4f46e5;
    }

    .common-summary-card--11 {
        --summary-bg: #f7fee7;
        --summary-border: #d9f99d;
        --summary-icon: #65a30d;
    }

    .common-summary-card--12 {
        --summary-bg: #fefce8;
        --summary-border: #fde68a;
        --summary-icon: #a16207;
    }

    .common-summary-card--13 {
        --summary-bg: #f0f9ff;
        --summary-border: #bae6fd;
        --summary-icon: #0284c7;
    }

    .common-summary-card--14 {
        --summary-bg: #faf5ff;
        --summary-border: #e9d5ff;
        --summary-icon: #9333ea;
    }

    .common-summary-card--15 {
        --summary-bg: #fff1f2;
        --summary-border: #fecdd3;
        --summary-icon: #be123c;
    }

    .common-summary-card--16 {
        --summary-bg: #f0fdf4;
        --summary-border: #bbf7d0;
        --summary-icon: #16a34a;
    }

    .common-summary-card--17 {
        --summary-bg: #f8fafc;
        --summary-border: #cbd5e1;
        --summary-icon: #475569;
    }

    .common-summary-card--18 {
        --summary-bg: #fdf4ff;
        --summary-border: #f5d0fe;
        --summary-icon: #c026d3;
    }

    .common-summary-card--19 {
        --summary-bg: #fff7f0;
        --summary-border: #ffd4b5;
        --summary-icon: #c2410c;
    }

    .common-summary-card--20 {
        --summary-bg: #eff6ff;
        --summary-border: #bfdbfe;
        --summary-icon: #1d4ed8;
    }
    /* ===== Responsive: sirf --cols badalta hai ===== */
    @media (max-width: 1099px) {
        .common-summary-cards__grid {
            --cols: 3;
        }
    }

    @media (max-width: 767px) {
        .common-summary-cards__grid {
            --cols: 2;
        }

        .common-summary-card {
            min-height: 82px;
            padding: 10px;
        }

        .common-summary-card__icon {
            flex-basis: 42px;
            width: 42px;
            height: 42px;
            margin-right: 10px;
        }
    }

    @media (max-width: 420px) {
        .common-summary-cards__grid {
            --cols: 1;
        }
    }

    @media (hover: none), (pointer: coarse) {
        .common-summary-card,
        .common-summary-card:hover {
            transform: none;
        }

            .common-summary-card::before {
                display: none;
            }
    }

    @media (prefers-reduced-motion: reduce) {
        .common-summary-card,
        .common-summary-card::before,
        .common-summary-cards__chevron {
            transition: none;
        }

            .common-summary-card:hover {
                transform: none;
            }
    }
}


    .red-span {
        color: #fff !important;
    }

.form-group {
    position: relative;
}

    .form-group .input-icon {
        position: absolute;
        inset-inline-start: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #6c757d;
        pointer-events: none;
    }

    .form-group .form-control.has-icon {
        padding-inline-start: 34px;
    }

.table > :not(caption) > * > * {
    background:transparent
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-color-type: transparent;
    --bs-table-bg-type: transparent;
    --bs-table-accent-bg: transparent;
}
.futex-theme-table table{
    margin:0
}




/*.auto-show-more td {
    vertical-align: top;
}

.auto-show-more .td-wrapper {
    position: relative;
}

.auto-show-more .td-content {
    max-height: 66px;
    overflow: hidden;
    transition: max-height .3s ease;
}

.auto-show-more .td-wrapper.expanded .td-content {
    max-height: 1000px;
}

.auto-show-more .show-more-btn {
    display: inline-block;
    margin-top: 4px;
    font-size: .75rem;
    color: #0d6efd;
    cursor: pointer;
    font-weight: 600;
}

.auto-show-more .show-more-btn:hover {
    text-decoration: underline;
}*/


.auto-show-more td .td-content {
    max-height: 66px;
    overflow: hidden;
    transition: .35s;
}

.auto-show-more tr.expanded td .td-content {
    max-height: 1000px;
}

.auto-show-more tr:not(.expanded) td > *:nth-child(n+3) {
    display: none !important;
}

/*.auto-show-more tr.expanded td > * {
    display: revert !important;
}*/
.auto-show-more tr:not(.expanded) td .meta-text > *:nth-child(n+3),
.auto-show-more tr:not(.expanded) td .date-box > *:nth-child(n+3),
.auto-show-more tr:not(.expanded) td .name > *:nth-child(n+3) {
    display: none;
}


/* Arrow Button Styling & Interaction */
.filter-extend-btn {
    width: 20px;
    height: 20px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: #ffffff;
    border: 1px solid #d4dee4;
    border-radius: 50%;
    outline: none;
    font-size: 9px;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    line-height: 13px;
}
    .filter-extend-btn i, .filter-extend-btn  .bi-chevron-down::before {
        font-weight: 900 !important
    }

    .filter-extend-btn:hover {
        background-color: #e9ecef;
        color: #198754; /* Green hover state matching theme */
    }
    .vbox .filter-extend-btn{
        margin-top:10px
    }

/* Arrow rotation animation */
.transition-arrow {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-extend-btn.active .transition-arrow {
    transform: rotate(180deg);
}

.filter-extend-btn:focus, .filter-extend-btn:active {
    background: #fff !important
}

#advanceSearchFields {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease;
    margin-top: 0;
}

    #advanceSearchFields.show {
        max-height: 600px; /* Zarurat ke mutabiq increase kar sakte hain */
        opacity: 1;
        margin-top: 0px;
    }


.futex-theme-table .student-avatar-sm {
    width: 42px;
    height: 44px;
    overflow: hidden;
    background:#eaeaea;
    border-radius:8px
}
.futex-theme-table .student-avatar-sm img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    border-radius:8px
}


/* ================= Badge base ================= */
.futex-theme-table .badge {
    --badge-color: #475569;
    --badge-bg: #f1f5f9;
    --badge-border: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    color: var(--badge-color);
    background-color: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    white-space: nowrap;
    vertical-align: middle;
}

    .futex-theme-table .badge i {
        font-size: 11px;
        line-height: 1;
    }

    /* Size */
    .futex-theme-table .badge.badge-sm {
        padding: 3px 9px;
        font-size: 10.5px;
    }

    .futex-theme-table .badge.badge-lg {
        padding: 6px 14px;
        font-size: 12.5px;
    }

    /* Square corners option */
    .futex-theme-table .badge.badge-square {
        border-radius: 6px;
    }

/* ================= Badge colors ================= */
.futex-theme-table .badge-primary {
    --badge-color: #1d4ed8;
    --badge-bg: #eff6ff;
    --badge-border: #bfdbfe;
}

.futex-theme-table .badge-secondary {
    --badge-color: #475569;
    --badge-bg: #f1f5f9;
    --badge-border: #cbd5e1;
}

.futex-theme-table .badge-success {
    --badge-color: #15803d;
    --badge-bg: #effcf4;
    --badge-border: #b8ebca;
}

.futex-theme-table .badge-danger {
    --badge-color: #be123c;
    --badge-bg: #fff2f3;
    --badge-border: #ffc4c8;
}

.futex-theme-table .badge-warning {
    --badge-color: #b45309;
    --badge-bg: #fff8eb;
    --badge-border: #ffdc73;
}

.futex-theme-table .badge-info {
    --badge-color: #0e7490;
    --badge-bg: #ecfeff;
    --badge-border: #a5e9ef;
}

.futex-theme-table .badge-purple {
    --badge-color: #7c3aed;
    --badge-bg: #f7f1ff;
    --badge-border: #ddc9ff;
}

.futex-theme-table .badge-teal {
    --badge-color: #0f766e;
    --badge-bg: #f0fdfa;
    --badge-border: #99f6e4;
}

.futex-theme-table .badge-orange {
    --badge-color: #c2410c;
    --badge-bg: #fff7ed;
    --badge-border: #fed7aa;
}

.futex-theme-table .badge-pink {
    --badge-color: #be185d;
    --badge-bg: #fdf2f8;
    --badge-border: #fbcfe8;
}

.futex-theme-table .badge-indigo {
    --badge-color: #4338ca;
    --badge-bg: #eef2ff;
    --badge-border: #c7d2fe;
}

.futex-theme-table .badge-lime {
    --badge-color: #4d7c0f;
    --badge-bg: #f7fee7;
    --badge-border: #d9f99d;
}

.futex-theme-table .badge-dark {
    --badge-color: #1e293b;
    --badge-bg: #e2e8f0;
    --badge-border: #94a3b8;
}

.futex-theme-table .badge-light {
    --badge-color: #64748b;
    --badge-bg: #ffffff;
    --badge-border: #e2e8f0;
}


.modal-header .title-area{
    color:#000
}
.quickLinksArea {
    width: 100%;
}


/* ===== Simple label ===== */
.futex-theme-page-header #extendedPageHeader .label,
.page-header #extendedPageHeader .label, .page-header .label {
    --lb-c: #8d6e63;
    display: inline-block;
    padding: 4px 5px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .2px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    color: var(--lb-c);
    background: color-mix(in srgb, var(--lb-c) 10%, #fff) !important;
    border: 1px solid color-mix(in srgb, var(--lb-c) 35%, #fff) !important;
    border-radius: 6px;
    transition: transform .2s ease, box-shadow .2s ease;
    margin-bottom: 0;
}
    .futex-theme-page-header #extendedPageHeader .label.label-red,
    .page-header #extendedPageHeader .label.label-red {
        --lb-c: #e51400;
        color: #e51400 !important;
    }
    /* data-title ka chip nahi chahiye */
    .futex-theme-page-header #extendedPageHeader .label::before,
    .page-header #extendedPageHeader .label::before {
        content: none;
    }

   

    /* ===== 8 color variants ===== */
    .futex-theme-page-header #extendedPageHeader .label.label-brown,
    .page-header #extendedPageHeader .label.label-brown,
    .page-header .label.label-brown {
        --lb-c: #8d6e63 !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-blue,
    .page-header #extendedPageHeader .label.label-blue,
    .page-header .label.label-blue {
        --lb-c: #368ee0 !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-green,
    .page-header #extendedPageHeader .label.label-green,
    .page-header .label.label-green {
        --lb-c: #339933 !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-red,
    .page-header #extendedPageHeader .label.label-red,
    .page-header .label.label-red {
        --lb-c: #e51400 !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-orange,
    .page-header #extendedPageHeader .label.label-orange,
    .page-header .label.label-orange {
        --lb-c: #f8a31f !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-purple,
    .page-header #extendedPageHeader .label.label-purple,
    .page-header .label.label-purple {
        --lb-c: #a200ff !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-teal,
    .page-header #extendedPageHeader .label.label-teal,
    .page-header .label.label-teal {
        --lb-c: #00aba9 !important;
    }

    .futex-theme-page-header #extendedPageHeader .label.label-grey,
    .page-header #extendedPageHeader .label.label-grey,
    .page-header .label.label-grey {
        --lb-c: #666666 !important;
    }

/* ===== Dropdown card ===== */
.minitiles .dropdown-menu.setup {
    min-width: 170px;
    margin-top: 4px;
    padding: 6px;
    background: #fff;
    border: 1px solid #e6e9ef;
    border-radius: 12px;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .28), 0 4px 10px -4px rgba(0, 0, 0, .1);
    transform-origin: top right;
    animation: fx-menu-in .18s ease-out;
}

    /* Upar chhota arrow */
    .minitiles .dropdown-menu.setup::before {
        content: "";
        position: absolute;
        top: -6px;
        right: 14px;
        width: 12px;
        height: 12px;
        background: #fff;
        border-left: 1px solid #e6e9ef;
        border-top: 1px solid #e6e9ef;
        border-top-left-radius: 3px;
        transform: rotate(45deg);
    }

@keyframes fx-menu-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Items ===== */
.minitiles .dropdown-menu.setup > li > a {
    --mi-c: var(--fx-ic, #368ee0);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #444;
    background: transparent;
    border-radius: 8px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

    /* Icon chip */
    .minitiles .dropdown-menu.setup > li > a > i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 26px;
        width: 26px;
        height: 26px;
        font-size: 12px;
        color: var(--mi-c);
        background: color-mix(in srgb, #b7bcc2 15%, #fff);
        border-radius: 7px;
        transition: background-color .2s ease, color .2s ease, transform .2s ease;
       
    }

    /* Hover */
    .minitiles .dropdown-menu.setup > li > a:hover,
    .minitiles .dropdown-menu.setup > li > a:focus {
        color: var(--mi-c);
        background: color-mix(in srgb, var(--mi-c) 9%, #fff);
        transform: translateX(3px);
    }

        .minitiles .dropdown-menu.setup > li > a:hover > i,
        .minitiles .dropdown-menu.setup > li > a:focus > i {
            color: #fff;
            background: var(--mi-c);
            transform: scale(1.08);
        }

    /* Delete: hamesha red */
    .minitiles .dropdown-menu.setup > li > a:has(.fa-trash) {
        --mi-c: #e51400;
        border-radius:0
    }

/* Delete se pehle halki line */
.minitiles .dropdown-menu.setup > li:last-child {
    margin-top: 4px;
    padding-top: 0px;
    border-top: 1px solid #f0f1f4;
}


.row > * {
    
    padding-right: calc(var(--bs-gutter-x) * .5) !important;
    padding-left: calc(var(--bs-gutter-x) * .5) !important;
    margin-top: var(--bs-gutter-y) !important;
}


.futex-invoice-stats ul  li {
    position: relative;
    margin-top: 0;
}
    /* items ke beech vertical divider */
    .futex-invoice-stats ul li + li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 12%;
        bottom: 12%;
        width: 1px;
        /* background: var(--fx-line);*/
    }

    .futex-invoice-stats ul li .box-title {
        position: relative;
        isolation: isolate;
        align-items: center;
        gap: 14px;
        padding: 0px 0px !important;
        border: 0 !important;
        border-radius: 8px !important;
        box-shadow: none;
    }
    /* inline "background !important" ko cover karne wali layer */
        .futex-invoice-stats ul li .box-title::before {
            content: "";
            position: absolute;
            inset: 0;
            background: var(--fx-top-bg);
            border-radius: inherit;
            z-index: -1;
        }
/* icon box */
    .futex-invoice-stats ul li .myImg {
        flex: 0 0 44px;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .futex-invoice-stats ul li .itag {
        font-size: 22px !important;
    }

.futex-invoice-stats ul li:nth-child(1) .myImg {
    background: #dbe8ff !important;
}

.futex-invoice-stats ul li:nth-child(2) .myImg {
    background: #e6e6fb !important;
}

.futex-invoice-stats ul li:nth-child(3) .myImg {
    background: #fdebd0 !important;
}

.futex-invoice-stats ul li:nth-child(1) .itag {
    color: #2563eb !important;
}

.futex-invoice-stats ul li:nth-child(2) .itag {
    color: #4f46e5 !important;
}

.futex-invoice-stats ul li:nth-child(3) .itag {
    color: #f59e0b !important;
}
/* label upar, value neeche */
.futex-invoice-stats ul li .details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    background: transparent !important;
    margin-left:0
}

    .futex-invoice-stats ul li .details > span {
        display: block;
        line-height: 1.25;
    }

        .futex-invoice-stats ul li .details > span:first-child {
            font-size: 12px;
            font-weight: 500;
            color: var(--fx-muted) !important;
        }

        .futex-invoice-stats ul li .details > span:last-child {
            font-size: 17px;
            color: var(--fx-navy) !important;
        }
.futex-invoice-stats ul {
    --fx-top-bg: #f1f6ff;
    margin: 0 0 10px 0 !important;
    padding: 10px 12px !important;
    background: var(--fx-top-bg);
    border: 1px solid #e7effc;
    border-radius: var(--fx-radius);
    box-shadow: var(--fx-shadow);
}


/* main bar */
.futex-invoice-info-bar {
    display: flex;
    align-items: center;
    margin-top: 9px;
    margin-bottom: 9px;
   
    border-radius: 5px;
    overflow: hidden;
    position: relative;
   
    background: #fafffc !important;
    border: 1px solid #d9f3e4 !important;
    border-radius: var(--fx-radius) !important;
    box-shadow: var(--fx-shadow);
}

    /* left: status */
    .futex-invoice-info-bar .info-bar-status {
        width: 35%;
       position:relative;
        padding: 19px;
        display: flex;
        align-items: center;
        gap: 12px;
        
    }

    .futex-invoice-info-bar .status-title {
        font-size: 16px;
        font-weight: 700;
    }

    /* pulsing dot */
    .futex-invoice-info-bar .status-dot-wrap {
        position: relative;
        display: flex;
        align-items: center;
    }

    .futex-invoice-info-bar .status-dot,
    .futex-invoice-info-bar .status-dot-ping {
        width: 12px;
        height: 12px;
        background: #22c55e;
        border-radius: 50%;
    }

    .futex-invoice-info-bar .status-dot {
        position: relative;
    }

    .futex-invoice-info-bar .status-dot-ping {
        position: absolute;
        opacity: 0.5;
        animation: ping-new 1.5s infinite;
    }

    /* right: details */
    .futex-invoice-info-bar .info-bar-details {
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 12px;
    }

    .futex-invoice-info-bar .info-item {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .futex-invoice-info-bar .info-text {
        display: flex;
        flex-direction: column;
    }

    /* icon box */
    .futex-invoice-info-bar .info-icon {
        padding: 10px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .futex-invoice-info-bar .info-icon-blue {
        background: #eff6ff;
    }

    .futex-invoice-info-bar .info-icon-amber {
        background: #fffbeb;
    }

    /* label + value */
    .futex-invoice-info-bar .info-label {
        font-size: 10px;
        color: #94a3b8;
        font-weight: 800;
        text-transform: uppercase;
    }

    .futex-invoice-info-bar .info-value {
        font-size: 14px;
        font-weight: 600;
        color: #1e293b;
    }

/* ping animation (agar pehle se defined nahi hai) */
@keyframes ping-new {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* line 1: Active Since aur Created By ke beech */
.futex-invoice-info-bar .info-bar-status::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: #cbd5e1;
}

/* line 2: Created By aur Generated On ke beech */
.futex-invoice-info-bar .info-item:first-child::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: #cbd5e1;
}
#AccountingPostingIssues {
    .linked-financial-voucher {
       
        font-family: inherit !important;
       
    }
}



/* ===== futex-theme-card ===== */
.futex-theme-card .ftc-card {
    position: relative;
    background: #fff;
    border: 1px solid #e6ebf1;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}

/* header */
.futex-theme-card .ftc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 43px 3px 12px;
}

.futex-theme-card .ftc-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e8ecfd;
    color: #3b4cca;
    font-size: 16px;
}

.futex-theme-card .ftc-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.futex-theme-card .ftc-retry {
    flex-shrink: 0;
}

/* close */
.futex-theme-card .ftc-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #94a3b8;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

    .futex-theme-card .ftc-close:hover {
        background: #f1f5f9;
        color: #334155;
    }

/* body */
.futex-theme-card .ftc-body {
    padding: 8px 12px 12px;
}

/* table */
.futex-theme-card .ftc-table-wrap {
    border: 1px solid #e6ebf1;
    border-radius: 10px;
}

.futex-theme-card .ftc-table {
    margin: 0;
    white-space: nowrap;
}

    /* thead: background + halka bottom border, font size 12px */
    .futex-theme-card .ftc-table thead th {
        padding: 11px 14px;
        background-color: #f8fafc;
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .3px;
        border-bottom: 1px solid #e6ebf1 !important;
    }

    .futex-theme-card .ftc-table tbody td {
        padding: 14px;
        font-size: 12px;
        color: var(--blue-4a5878);
        border-bottom: 0;
        font-variant-numeric: tabular-nums;
    }

/* status pill */
.futex-theme-card .ftc-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #065f46;
    font-size: 12.5px;
    font-weight: 600;
}

.futex-theme-card .ftc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

@media (max-width: 767px) {
    .futex-theme-card .ftc-head {
        flex-wrap: wrap;
    }
}
.futex-theme-page-header h3, .futex-theme-page-header #pageTitle, .page-header h3{
    font-size: 20px
}
.page-header .top-heading-pic {
    height: 51px;
    width: 51px;
    object-fit: cover;
    margin-top: 4px;
    border-radius: 8px;
}
div, ul, textarea {
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}
#navigation .user-box {
    padding: 5px 6px !important;
}
.user-top {
    height: 32px !important;
    width: 32px !important;
   
    margin-right: 6px;
}
.user-box a{
    gap:1px !important
}
#extendedPageHeader p {
    margin: 2px 0 0 !important;
}

/* ===== futex-offcanvas: footer neeche ===== */
.futex-offcanvas.offcanvas {
    display: flex !important;
    flex-direction: column;
}



/* =====================================================================
   futex-theme-forms : 8 forms, ek hi CSS (shared base + har form ki apni class)
   Classes: icon, inside, floating, minimal, segment, cards, settings, split
   Rang: --fx-ic (apni theme-colors CSS mein ye 8 classes add karo, phir
   neeche wali default green line hata do)
   ===================================================================== */

/* ---------- shared: rang ---------- */
.demo-tag {
    display: inline-block;
    margin-bottom: 14px;
    padding: 3px 10px;
    border-radius: 6px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
    font-weight: 700;
}
:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) {
    --fx-ic: #339933;
}

    /* ---------- shared: label, button ---------- */
    :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .form-label {
        margin-bottom: 4px;
        color: #475569;
        font-size: 13px;
        font-weight: 600;
    }

    :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .btn-primary {
        background: var(--fx-ic);
        border-color: var(--fx-ic);
    }

        :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .btn-primary:hover {
            background: var(--fx-ic);
            border-color: var(--fx-ic);
            filter: brightness(.9);
        }

/* ---------- shared: fields (jin forms mein field ka apna border hai) ---------- */
:is(.futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) :is(.form-control, .form-select) {
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    font-size: 13.5px;
}

:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) :is(.form-control, .form-select):focus {
    border-color: var(--fx-ic);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic) 18%, transparent);
}

/* ---------- shared: checkbox / radio ---------- */
:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .form-check-input:checked {
    background-color: var(--fx-ic);
    border-color: var(--fx-ic);
}

:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .form-check-input:focus {
    border-color: var(--fx-ic);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic) 18%, transparent);
}

/* ---------- shared: toggle ---------- */
:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
    vertical-align: middle;
}

    :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-switch input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-slider {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: #cbd5e1;
    cursor: pointer;
    transition: background .2s ease;
}

    :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-slider::before {
        content: "";
        position: absolute;
        top: 3px;
        left: 3px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,.25);
        transition: transform .2s ease;
    }

:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-switch input:checked + .toggle-slider {
    background: var(--fx-ic);
}

    :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-switch input:checked + .toggle-slider::before {
        transform: translateX(24px);
    }

:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .toggle-switch input:focus-visible + .toggle-slider {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic) 25%, transparent);
}

:is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .ftf-toggle-box {
    text-align: center;
}

    :is(.futex-theme-form-icon, .futex-theme-form-inside, .futex-theme-form-floating, .futex-theme-form-minimal, .futex-theme-form-segment, .futex-theme-form-cards, .futex-theme-form-settings, .futex-theme-form-split) .ftf-toggle-box .form-label {
        display: block;
    }

/* ---------- shared: icon field ke andar (inside, segment, split) ---------- */
:is(.futex-theme-form-inside, .futex-theme-form-segment, .futex-theme-form-split) .ftf-inside {
    position: relative;
}

    :is(.futex-theme-form-inside, .futex-theme-form-segment, .futex-theme-form-split) .ftf-inside > i {
        position: absolute;
        top: 50%;
        left: 13px;
        transform: translateY(-50%);
        color: var(--fx-ic);
        font-size: 14px;
        pointer-events: none;
    }

    :is(.futex-theme-form-inside, .futex-theme-form-segment, .futex-theme-form-split) .ftf-inside.is-area > i {
        top: 14px;
        transform: none;
    }

    :is(.futex-theme-form-inside, .futex-theme-form-segment, .futex-theme-form-split) .ftf-inside > :is(.form-control, .form-select) {
        padding-left: 38px;
    }

/* ===== 1) icon: attached icon box + section heading ===== */
.futex-theme-form-icon .ftf-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e2e8f0;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

    .futex-theme-form-icon .ftf-section i {
        color: var(--fx-ic);
    }

.futex-theme-form-icon .ftf-field {
    display: flex;
    align-items: stretch;
    position:relative
}

.futex-theme-form-icon .ftf-ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    background: color-mix(in srgb, var(--fx-ic) 12%, #fff);
    /* border: 1px solid #dbe2ea; */
    border-right: 0;
    border-radius: 4px 0 0 4px;
    color: var(--fx-ic);
    font-size: 14px;
    position: absolute;
    top: 1px;
    height: calc(100% - 2px);
    left: 1px;
}

.futex-theme-form-icon .ftf-field > :is(.form-control, .form-select) {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border: 1px solid #dbe2ea;
    /* border-radius: 0 8px 8px 0 !important; */
    font-size: 13.5px;
    padding-left: 49px;
}

/* ===== 2) inside: halka grey field, focus par white ===== */
.futex-theme-form-inside .ftf-inside > :is(.form-control, .form-select) {
    background-color: #f8fafc;
}

    .futex-theme-form-inside .ftf-inside > :is(.form-control, .form-select):focus {
        background-color: #fff;
    }

/* ===== 3) floating: bina icons ===== */
.futex-theme-form-floating :is(.form-control, .form-select) {
    font-size: 14px;
}

.futex-theme-form-floating .form-floating > label {
   
    font-size: 13.5px;
}

.futex-theme-form-floating .form-floating > .form-control:focus ~ label,
.futex-theme-form-floating .form-floating > .form-control:not(:placeholder-shown) ~ label,
.futex-theme-form-floating .form-floating > .form-select ~ label {
    color: var(--fx-ic);
}
.futex-theme-form-floating .form-floating > label {
    
    font-size: 12.5px;
    top:-2px
}
.futex-theme-form-floating .form-floating > .form-select {
    padding-top: 1.4rem;
    
}

/* ===== 4) minimal: bina icons, label left + underline ===== */
.futex-theme-form-minimal .ftf-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eef2f6;
}

    .futex-theme-form-minimal .ftf-row:last-of-type {
        border-bottom: 0;
    }

    .futex-theme-form-minimal .ftf-row > .form-label {
        flex: 0 0 120px;
        margin: 0;
    }

    .futex-theme-form-minimal .ftf-row > :is(.form-control, .form-select) {
        flex: 1 1 auto;
        width: 1%;
        padding-left: 0;
        border: 0;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
        font-size: 14px;
    }

        .futex-theme-form-minimal .ftf-row > :is(.form-control, .form-select):focus {
            border-bottom-color: var(--fx-ic);
            box-shadow: none;
        }

/* ===== 5) segment: segmented radio ===== */
.futex-theme-form-segment .ftf-seg {
    display: inline-flex;
    padding: 3px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    background: #f8fafc;
}

    .futex-theme-form-segment .ftf-seg input {
        position: absolute;
        opacity: 0;
    }

    .futex-theme-form-segment .ftf-seg label {
        margin: 0;
        padding: 6px 16px;
        border-radius: 8px;
        color: #64748b;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: background .15s ease, color .15s ease;
    }

    .futex-theme-form-segment .ftf-seg input:checked + label {
        background: var(--fx-ic);
        color: #fff;
    }

    .futex-theme-form-segment .ftf-seg input:focus-visible + label {
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic) 25%, transparent);
    }

/* ===== 6) cards: radio option cards ===== */
.futex-theme-form-cards .ftf-opts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.futex-theme-form-cards .ftf-opt input {
    position: absolute;
    opacity: 0;
}

.futex-theme-form-cards .ftf-opt label {
    display: block;
    margin: 0;
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.futex-theme-form-cards .ftf-opt strong {
    display: block;
    color: #1e293b;
    font-size: 13.5px;
}

.futex-theme-form-cards .ftf-opt small {
    color: #94a3b8;
    font-size: 12px;
}

.futex-theme-form-cards .ftf-opt input:checked + label {
    border-color: var(--fx-ic);
    background: color-mix(in srgb, var(--fx-ic) 8%, #fff);
    box-shadow: 0 0 0 1px var(--fx-ic);
}

.futex-theme-form-cards .ftf-opt input:focus-visible + label {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic) 25%, transparent);
}

/* ===== 7) settings: toggle rows ===== */
.futex-theme-form-settings .ftf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #eef2f6;
}

    .futex-theme-form-settings .ftf-row:last-of-type {
        border-bottom: 0;
    }

    .futex-theme-form-settings .ftf-row strong {
        display: block;
        color: #1e293b;
        font-size: 13.5px;
    }

    .futex-theme-form-settings .ftf-row small {
        color: #94a3b8;
        font-size: 12px;
    }

/* ===== 8) split: left info panel ===== */
.futex-theme-form-split {
    display: flex;
    overflow: hidden;
    border-radius: 12px;
}

    .futex-theme-form-split .ftf-side {
        flex: 0 0 34%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 24px;
        background: linear-gradient(160deg, var(--fx-ic), color-mix(in srgb, var(--fx-ic) 65%, #000));
        color: #fff;
    }

    .futex-theme-form-split .ftf-side-ic {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: rgba(255,255,255,.2);
        font-size: 20px;
    }

    .futex-theme-form-split .ftf-side h5 {
        margin: 0;
        font-weight: 700;
    }

    .futex-theme-form-split .ftf-side p {
        margin: 0;
        font-size: 13px;
        opacity: .85;
    }

    .futex-theme-form-split .ftf-main {
        flex: 1 1 auto;
        padding: 20px;
        min-width: 0;
    }

@media (max-width: 575px) {
    .futex-theme-form-minimal .ftf-row {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

        .futex-theme-form-minimal .ftf-row > .form-label {
            flex: none;
        }

    .futex-theme-form-cards .ftf-opts {
        grid-template-columns: 1fr;
    }

    .futex-theme-form-split {
        flex-direction: column;
    }
    
}
.dropdown-toggle::after {
       display:none
    }




.manage-campus li.default-branch a {
    background: #FFF !important
}







/* =========================================
   FUTEX POS THEME
========================================= */

.futex-theme {
    --futex-primary: #285fa7;
    --futex-primary-soft: #edf4fc;
    --futex-success: #258c55;
    --futex-border: #e1e8f0;
    --futex-surface: #ffffff;
    --futex-background: #f5f8fc;
    --futex-text: #34445a;
    --futex-muted: #64748b;
    --futex-radius: 10px;
    color: var(--futex-text);
    box-sizing: border-box;
}

    .futex-theme *,
    .futex-theme *::before,
    .futex-theme *::after {
        box-sizing: border-box;
    }

/* Main Background */

.futex-pos-products,
.futex-pos-payment {
    background: var(--futex-background);
}

    /* =========================================
   PRODUCT ENTRY
========================================= */

    .futex-pos-products #head {
        background: var(--futex-surface);
        border: 1px solid var(--futex-border);
        border-radius: var(--futex-radius);
        padding: 12px;
        margin-bottom: 12px;
    }

    .futex-pos-products #headertableId {
        width: 100%;
    }

        .futex-pos-products #headertableId td {
            padding: 4px;
            vertical-align: middle;
        }

    .futex-pos-products #head .form-control {
        height: 40px;
        border: 1px solid var(--futex-border);
        border-radius: 7px;
        font-size: 13px;
        box-shadow: none;
    }

        .futex-pos-products #head .form-control:focus {
            border-color: var(--futex-primary);
            box-shadow: 0 0 0 3px rgba(40, 95, 167, .09);
        }

    .futex-pos-products #head .select2-container {
        width: 100% !important;
    }

    .futex-pos-products #head .select2-selection {
        height: 40px !important;
        border: 1px solid var(--futex-border) !important;
        border-radius: 7px !important;
    }

    /* Add Button */

    .futex-pos-products #btnAdd {
        height: 40px;
        min-width: 65px;
        border-radius: 7px;
        background: var(--futex-success);
        border-color: var(--futex-success);
        font-weight: 600;
    }

    /* =========================================
   PRODUCT TABLE
========================================= */

    .futex-pos-products #detail {
        background: var(--futex-surface);
        border: 1px solid var(--futex-border);
        border-radius: var(--futex-radius);
        overflow: auto;
        min-height: 470px;
    }

        .futex-pos-products #detail table {
            width: 100%;
            margin-bottom: 0;
            border-collapse: collapse;
        }

            .futex-pos-products #detail table thead th {
                background: var(--futex-primary-soft);
                color: var(--futex-primary);
                font-size: 12px;
                font-weight: 700;
                padding: 12px 9px;
                border: 1px solid var(--futex-border);
            }

            .futex-pos-products #detail table tbody td {
                padding: 10px 9px;
                border: 1px solid var(--futex-border);
                font-size: 13px;
                height: 40px;
            }

            .futex-pos-products #detail table tbody tr:nth-child(even) {
                background: #f7f9fc;
            }

            .futex-pos-products #detail table tbody tr:hover {
                background: var(--futex-primary-soft);
            }

    /* =========================================
   PAYMENT SECTION
========================================= */

    .futex-pos-payment .vbox {
        background: var(--futex-surface);
        border: 1px solid var(--futex-border);
        border-radius: var(--futex-radius);
        padding: 16px;
    }

    /* Grand Total */

    .futex-pos-payment .nettotal {
        background: var(--futex-primary-soft);
        border: 1px solid #dfebfa;
        border-radius: 9px;
        padding: 15px 10px;
        margin-bottom: 12px;
        color: #1c3556;
        font-size: 32px;
        font-weight: 700;
        text-align: center;
    }

    /* Payment Method */

    .futex-pos-payment .donate-now {
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 0 0 15px;
        list-style: none;
    }

        .futex-pos-payment .donate-now li {
            position: relative;
            margin: 0 !important;
            flex: 1;
        }

        .futex-pos-payment .donate-now input {
            position: absolute;
            opacity: 0;
        }

        .futex-pos-payment .donate-now label {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 42px;
            width: 100%;
            margin: 0;
            background: #f8fafc;
            color: var(--futex-muted);
            border: 1px solid var(--futex-border);
            border-radius: 7px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }

        .futex-pos-payment .donate-now li:has(input:checked) label {
            background: var(--futex-primary);
            color: #fff;
            border-color: var(--futex-primary);
        }

    /* Payment Fields */

    .futex-pos-payment .vbox > table {
        width: 100%;
        margin-bottom: 0;
    }

        .futex-pos-payment .vbox > table td {
            padding: 7px 5px;
            vertical-align: middle;
            font-size: 12px;
            color: var(--futex-text);
        }

        .futex-pos-payment .vbox > table .form-control {
            width: 100%;
            height: 39px;
            border: 1px solid var(--futex-border);
            border-radius: 7px;
            font-size: 13px;
            box-shadow: none;
        }

            .futex-pos-payment .vbox > table .form-control:focus {
                border-color: var(--futex-primary);
                box-shadow: 0 0 0 3px rgba(40, 95, 167, .09);
            }

            .futex-pos-payment .vbox > table .form-control:disabled {
                background: #f1f4f8;
                opacity: 1;
            }

    /* Select2 */

    .futex-pos-payment .select2-container {
        width: 100% !important;
    }

    .futex-pos-payment .select2-selection {
        min-height: 39px !important;
        border: 1px solid var(--futex-border) !important;
        border-radius: 7px !important;
    }

/* Responsive */

@media (max-width: 767px) {
    .futex-pos-products,
    .futex-pos-payment {
        width: 100%;
        padding: 8px;
    }

        .futex-pos-products #headertableId {
            display: block;
            overflow-x: auto;
        }

            .futex-pos-products #headertableId tr {
                display: flex;
                min-width: 650px;
            }

            .futex-pos-products #headertableId td {
                flex: 1;
            }
}




/* =====================================
   POS SALE LAYOUT
===================================== */

.pos-sale-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(340px, 0.95fr);
    gap: 16px;
    align-items: start;
    width: 100%;
    padding: 10px 12px;
    background: #f5f8fc;
    min-height: calc(100vh - 100px);
}

.pos-products,
.pos-payment {
    min-width: 0;
}

/* =====================================
   PRODUCT ENTRY
===================================== */

.pos-entry-card {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(30, 55, 90, .04);
}

.pos-entry-grid {
    display: grid;
    grid-template-columns: minmax(120px, 1.25fr) minmax(150px, 1.35fr) minmax(65px, .65fr) minmax(95px, .8fr) minmax(75px, .7fr) minmax(90px, .8fr) 68px;
    gap: 8px;
    align-items: center;
}

    .pos-entry-grid .form-control {
        height: 40px;
        min-width: 0;
        border: 1px solid #dce4ee;
        border-radius: 7px;
        font-size: 13px;
        box-shadow: none;
    }

        .pos-entry-grid .form-control:focus,
        .pos-payment-card .form-control:focus {
            border-color: #6b9ce5;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, .09);
        }

        .pos-entry-grid .form-control[readonly] {
            background: #f0f4f9;
        }

    .pos-entry-grid .select2-container {
        width: 100% !important;
    }

        .pos-entry-grid .select2-container .select2-selection {
            height: 40px !important;
            border: 1px solid #dce4ee !important;
            border-radius: 7px !important;
        }

.pos-add-btn .btn {
    height: 40px;
    width: 100%;
    border-radius: 7px;
    font-weight: 600;
    background: #258c55;
    border-color: #258c55;
}

    .pos-add-btn .btn:hover {
        background: #197746;
        border-color: #197746;
    }

/* =====================================
   PRODUCT TABLE
===================================== */

.pos-table-card {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    overflow: auto;
    min-height: 470px;
    box-shadow: 0 2px 8px rgba(30, 55, 90, .04);
}

    .pos-table-card #detail {
        padding: 0;
    }

        .pos-table-card #detail table {
            width: 100%;
            margin-bottom: 0;
            border-collapse: collapse;
            white-space: nowrap;
        }

            .pos-table-card #detail table thead th {
                background: #edf4fc;
                color: #28527e;
                font-size: 12px;
                font-weight: 700;
                padding: 12px 9px;
                border: 1px solid #e1e9f2;
                vertical-align: middle;
            }

            .pos-table-card #detail table tbody td {
                padding: 10px 9px;
                font-size: 13px;
                color: #34445a;
                border: 1px solid #bdc5cf;
                vertical-align: middle;
                height: 40px;
            }

            .pos-table-card #detail table tbody tr:nth-child(even) {
                background: #f7f9fc;
            }

            .pos-table-card #detail table tbody tr:hover {
                background: #edf5ff;
            }

/* =====================================
   PAYMENT CARD
===================================== */

.pos-payment-card {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(30, 55, 90, .05);
}

/* Grand Total */

.pos-grand-total {
    background: #f0f6ff;
    border: 1px solid #dfebfa;
    border-radius: 9px;
    text-align: center;
    padding: 15px 10px;
    margin-bottom: 14px;
}

.pos-total-label {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.pos-grand-total .nettotal {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1c3556;
    letter-spacing: -.5px;
}

/* =====================================
   PAYMENT METHODS
===================================== */

.pos-payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.pos-payment-option {
    position: relative;
}

    .pos-payment-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .pos-payment-option label {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 42px;
        border: 1px solid #dce4ee;
        border-radius: 7px;
        background: #f8fafc;
        color: #52647b;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        margin: 0;
        transition: all .2s ease;
    }

        .pos-payment-option label:hover {
            background: #edf4ff;
            border-color: #9bbce8;
        }

    .pos-payment-option input:checked + label {
        background: #285fa7;
        border-color: #285fa7;
        color: #fff;
        box-shadow: 0 3px 8px rgba(40, 95, 167, .16);
    }

/* =====================================
   PAYMENT FORM
===================================== */

.pos-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
}

.pos-form-group {
    min-width: 0;
}

    .pos-form-group label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #53657b;
        margin-bottom: 6px;
    }

    .pos-form-group .form-control {
        height: 39px;
        width: 100%;
        border: 1px solid #dce4ee;
        border-radius: 7px;
        font-size: 13px;
        box-shadow: none;
        color: #26374c;
        padding: 7px 10px;
    }

        .pos-form-group .form-control:disabled {
            background: #f1f4f8;
            color: #64748b;
            opacity: 1;
        }

.pos-account-group {
    margin-bottom: 16px;
}

    .pos-account-group .select2-container {
        width: 100% !important;
    }

        .pos-account-group .select2-container .select2-selection {
            height: 39px !important;
            border: 1px solid #dce4ee !important;
            border-radius: 7px !important;
        }

.pos-coupon-group {
    grid-column: span 1;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1200px) {
    .pos-sale-layout {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .pos-entry-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pos-add-btn {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .pos-sale-layout {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .pos-entry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-payment {
        width: 100%;
    }

    .pos-table-card {
        min-height: 300px;
    }
}
.nav-fixed{
    width:100%
}












/* ===== Futex dashboard (theme: --fx-ic) ===== */
.futex-theme-dashboard {
    --fd-ink: #1b2a41;
    --fd-mute: #7b8aa0;
    --fd-line: #e8edf3;
    --fd-t: var(--fx-ic,#339933);
    --fd-soft: color-mix(in srgb,var(--fd-t) 10%,#fff);
    color: var(--fd-ink)
}

    .futex-theme-dashboard * {
        box-sizing: border-box;
       
    }

    .futex-theme-dashboard h1, .futex-theme-dashboard h2, .futex-theme-dashboard h3 {
        margin: 0
    }

.futex-theme-dashboard .finance-home-stats .home-finance-card{
    min-height:70px !important
}
/* head */
.fd-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px
}

.fd-title {
    font-size: 22px;
    font-weight: 800
}

.fd-tags {
    display: flex;
    gap: 6px;
    margin-top: 4px
}

.fd-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #e8f1fd;
    color: #2b6cb0;
    border: 1px solid #c9dcf5
}

.fd-tag-plain {
    background: #fff;
    color: var(--fd-mute);
    border-color: var(--fd-line)
}

.fd-tag-warn {
    background: #fff6dc;
    color: #9a6b00;
    border-color: #f3dd9b
}

.fd-tag-ok {
    background: #e6f6ea;
    color: #1f7a37;
    border-color: #bfe5c9
}

.fd-actions {
    display: flex;
    gap: 8px
}

.fd-icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--fd-line);
    border-radius: 10px;
    background: #fff;
    color: var(--fd-ink);
    transition: .2s
}

    .fd-icon-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(20,40,70,.12)
    }

.fd-icon-btn-primary {
    background: var(--fd-t);
    color: #fff;
    border-color: var(--fd-t)
}


/* card */
.fd-card {
    background: #fff;
    border: 1px solid var(--fd-line);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(20,40,70,.045);
    overflow: hidden
}

.fd-card-head {
    padding:9px 18px;
    font-weight: 800;
    font-size: 16px;
    border-bottom: 1px solid var(--fd-line)
}

    .fd-card-head i {
        color: var(--fd-t);
        margin-right: 6px
    }

.fd-center {
    text-align: center
}

.fd-card-body {
    padding: 18px
}

.fd-card-hover {
    border-color: color-mix(in srgb,var(--fd-t) 15%,#fff);
    transition: transform .25s,box-shadow .25s,border-color .25s
}

    .fd-card-hover:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb,var(--fd-t) 25%,#fff);
        box-shadow: 0 16px 36px color-mix(in srgb,var(--fd-t) 18%,transparent)
    }

    .fd-card-hover .fd-card-head {
        border-bottom-color: color-mix(in srgb,var(--fd-t) 10%,#fff)
    }

    .fd-card-hover .fd-card-head {
        background: var(--fd-soft);
    }

/* buttons */
.fd-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: .2s
}

.fd-btn-white {
    background: #fff;
    color: var(--fd-t)
}

    .fd-btn-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0,0,0,.2)
    }

.fd-btn-ghost {
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    margin-left: 8px
}

    .fd-btn-ghost:hover {
        background: rgba(255,255,255,.18);
        color: #fff
    }

.fd-btn-line {
    display: block;
    text-align: center;
    border: 1px solid var(--fd-line);
    color: var(--fd-ink);
    background: #f7f9fc;
    margin-top: 8px
}

    .fd-btn-line:hover {
        background: var(--fd-soft)
    }

/* welcome */
.fd-welcome {
    padding: 32px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg,var(--fd-t),color-mix(in srgb,var(--fd-t) 45%,#fff))
}

    .fd-welcome h2 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 10px
    }

    .fd-welcome p {
        max-width: 520px;
        font-size: 14px;
        margin-bottom: 22px;
        opacity: .95
    }

/* bars (area chart) */
.fd-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 170px;
    border-bottom: 1px solid var(--fd-line)
}

    .fd-bars span {
        flex: 1;
        border-radius: 6px;
        background: var(--fd-t);
        transition: .2s
    }

        .fd-bars span:hover {
            opacity: .7
        }

        .fd-bars span:nth-child(1) {
            height: 75%
        }

        .fd-bars span:nth-child(2) {
            height: 95%;
            opacity: .6
        }

        .fd-bars span:nth-child(3) {
            height: 55%
        }

        .fd-bars span:nth-child(4) {
            height: 92%;
            opacity: .6
        }

        .fd-bars span:nth-child(5) {
            height: 50%
        }

        .fd-bars span:nth-child(6) {
            height: 80%
        }

        .fd-bars span:nth-child(7) {
            height: 30%;
            opacity: .6
        }

        .fd-bars span:nth-child(8) {
            height: 65%
        }

.fd-bars-axis {
    display: flex;
    justify-content: space-around;
    font-size: 11px;
    color: var(--fd-mute);
    margin-top: 6px
}

    .fd-bars-axis em {
        font-style: normal
    }

/* withdrawals */
.fd-wd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0
}

    .fd-wd > div:nth-child(2) {
        flex: 1;
        display: flex;
        flex-direction: column
    }

    .fd-wd small {
        font-size: 11px;
        color: var(--fd-mute)
    }

.fd-wd-amt {
    text-align: right;
    display: flex;
    flex-direction: column
}

.fd-st-warn {
    color: #e0a100 !important
}

.fd-st-ok {
    color: #1f9d4c !important
}

.fd-st-bad {
    color: #e03a3a !important
}

/* avatar */
.fd-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-right: 6px
}

.fd-wd .fd-avatar {
    width: 42px;
    height: 42px;
    margin: 0
}

.fd-c1 {
    background: #6d5bd0
}

.fd-c2 {
    background: #1fb26b
}

.fd-c3 {
    background: #ef4b4b
}

.fd-c4 {
    background: #8aa0b8
}

/* stat cards */
.fd-blue {
    --c: #2563eb
}

.fd-green {
    --c: #16a34a
}

.fd-purple {
    --c: #7c3aed
}

.fd-orange {
    --c: #ea580c
}

.fd-stat {
    position: relative;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--fd-line);
    border-radius: 14px;
    transition: .25s
}

    .fd-stat:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px color-mix(in srgb,var(--c) 22%,transparent)
    }

    .fd-stat small {
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .5px;
        color: var(--fd-mute)
    }

    .fd-stat h3 {
        font-size: 30px;
        font-weight: 800
    }

    .fd-stat > i {
        position: absolute;
        top: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        border-radius: 14px;
        background: var(--c);
        color: #fff;
        font-size: 22px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    .fd-stat p {
        margin: 8px 0 0;
        font-size: 13px;
        font-weight: 600;
        color: var(--c)
    }

.fd-progress {
    height: 5px;
    border-radius: 5px;
    background: #e9eef5;
    margin-top: 12px;
    overflow: hidden
}

    .fd-progress span {
        display: block;
        height: 100%;
        background: var(--c);
        border-radius: 5px
    }

.fd-w-80 span {
    width: 80%
}

.fd-w-65 span {
    width: 65%
}

.fd-w-76 span {
    width: 76%
}

.fd-w-45 span {
    width: 45%
}

/* table */
.fd-table-wrap {
    overflow-x: auto;
    padding: 0 12px 8px
}

.fd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px
}

    .fd-table th {
        padding: 12px 8px;
        font-size: 13px;
        color: var(--fd-mute);
        text-align: left
    }

    .fd-table td {
        padding: 10px 8px;
        border-top: 1px solid var(--fd-line);
        white-space: nowrap
    }

    .fd-table tbody tr {
        transition: background .2s
    }

        .fd-table tbody tr:hover {
            background: var(--fd-soft)
        }

.fd-r {
    text-align: right !important
}

.fd-no {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    background: var(--fd-soft);
    color: var(--fd-t);
    font-size: 12px;
    font-weight: 700
}

.fd-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700
}

.fd-badge-info {
    background: #dff6f6;
    color: #0e8f93
}

.fd-badge-warn {
    background: #fff3cf;
    color: #b07d00
}

.fd-badge-bad {
    background: #fde3e3;
    color: #d33
}

.fd-badge-ok {
    background: #dff5e6;
    color: #1f8a43
}

.fd-sq {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    transition: .2s
}

    .fd-sq:hover {
        transform: scale(1.12)
    }

.fd-sq-edit {
    background: #e4efff;
    color: #2563eb
}

.fd-sq-del {
    background: #fde7e7;
    color: #e03a3a
}

/* donut + pie + legend */
.fd-donut, .fd-pie {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 6px auto 18px;
    border-radius: 50%;
    transition: transform .3s
}

    .fd-donut:hover, .fd-pie:hover {
        transform: rotate(8deg) scale(1.04)
    }

.fd-donut {
    background: conic-gradient(#14d1ff 0 38%,#2f7bff 38% 62%,#ffb400 62% 82%,#ff5a2a 82% 100%)
}

.fd-pie {
    background: conic-gradient(#8de86f 0 20.5%,#f65c5c 20.5% 88.6%,#f6a25c 88.6% 100%)
}

    .fd-donut > div, .fd-pie > div {
        position: absolute;
        inset: 18px;
        border-radius: 50%;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center
    }

    .fd-donut b, .fd-pie b {
        font-size: 28px;
        line-height: 1
    }

    .fd-donut small, .fd-pie small {
        font-size: 11px;
        color: var(--fd-mute)
    }

.fd-legend {
    list-style: none;
    margin: 0;
    padding: 0 12px
}

    .fd-legend li {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        padding: 4px 0
    }

    .fd-legend b {
        margin-left: auto
    }

    .fd-legend i {
        width: 10px;
        height: 10px;
        border-radius: 50%
    }

.fd-d1 {
    background: #14d1ff
}

.fd-d2 {
    background: #2f7bff
}

.fd-d3 {
    background: #ffb400
}

.fd-d4 {
    background: #ff5a2a
}

.fd-p1 {
    background: #8de86f
}

.fd-p2 {
    background: #f65c5c
}

.fd-p3 {
    background: #f6a25c
}

/* KPI (sales page) */
/* alert classes ke rang (--c), fd-blue/green/purple/orange ke bagair bhi kaam karein */
.futex-theme-dashboard .stats .alert-info {
    --c: #2563eb
}

.futex-theme-dashboard .stats .alert-success {
    --c: #16a34a
}

.futex-theme-dashboard .stats .alert-light {
    --c: #7c3aed
}

.futex-theme-dashboard .stats .alert-warning {
    --c: #ea580c
}

:is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning, .stats.dashboard .box-title.border)) {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--fd-ink);
    background: linear-gradient(135deg,color-mix(in srgb,var(--c) 14%,#fff),#fff);
    border: 1px solid color-mix(in srgb,var(--c) 10%,#fff) !important;
    overflow: hidden;
    transition: .3s
}
.stats.dashboard .box-title.border{
    border-color:inherit
}

:is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning))::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: color-mix(in srgb,var(--c) 4%,transparent);
    transition: .4s
}

    :is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning)):hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 26px color-mix(in srgb,var(--c) 10%,transparent);
        color: var(--fd-ink)
    }

        :is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning)):hover::after {
            transform: scale(1.6)
        }

.fd-kpi-ic, .futex-theme-dashboard .myImg {
    width: 52px;
    height: 52px !important;
    border-radius: 8px;
    background: var(--c);
    color: #fff;
    font-size: 24px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: .3s
}
    .fd-kpi-ic i, .futex-theme-dashboard .myImg i{
       color:#FFF !important;
       font-size:24px !important
    }
.futex-theme-dashboard .stats li div {
    padding: 0px;
    border-radius: 6px;
}

    :is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning)):hover .fd-kpi-ic, :is(.alert-info,.alert-success,.alert-light,.alert-warning)):hover .myImg {
        transform: rotate(-8deg) scale(1.08)
    }

:is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning)) small {
    display: block;
    font-size: 13px;
    color: var(--fd-mute);
    font-weight: 600
}

:is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning)) b {
    font-size: 28px;
    font-weight: 800;
    color: var(--c)
}

.fd-kpi-go {
    position: absolute;
    right: 16px;
    bottom: 14px;
    opacity: 0;
    transform: translate(-6px,6px);
    transition: .3s;
    color: var(--c);
    z-index: 1
}

:is(.fd-kpi,.futex-theme-dashboard .stats :is(.alert-info,.alert-success,.alert-light,.alert-warning)):hover .fd-kpi-go {
    opacity: 1;
    transform: none
}

/* column chart */
.fd-chart-title {
    text-align: center;
    font-weight: 700;
    color: var(--fd-mute);
    margin-bottom: 16px
}

.fd-colchart {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    height: 200px;
    padding: 0 10px;
    border-bottom: 1px solid var(--fd-line)
}

.fd-col-item {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center
}

    .fd-col-item span {
        width: 100%;
        max-width: 20px;
        border-radius: 30px 30px 0 0;
        background: var(--b);
        transition: .3s
    }

    .fd-col-item:hover span {
        filter: brightness(1.1);
        transform: scaleY(1.04);
        transform-origin: bottom
    }

    .fd-col-item em {
        position: absolute;
        bottom: -24px;
        font-size: 11px;
        font-style: normal;
        color: var(--fd-mute)
    }

    .fd-col-item::after {
        content: attr(data-v);
        position: absolute;
        top: 0;
        padding: 3px 9px;
        border-radius: 6px;
        background: var(--fd-ink);
        color: #fff;
        font-size: 12px;
        opacity: 0;
        transition: .2s;
        pointer-events: none
    }

    .fd-col-item:hover::after {
        opacity: 1
    }

.fd-k1 {
    --b: #7ab6f0
}

.fd-k2 {
    --b: #454349
}

.fd-k3 {
    --b: #8deb7a
}

.fd-k4 {
    --b: #f6a25c
}

.fd-k5 {
    --b: #8588ea
}

.fd-k6 {
    --b: #f45f86
}

.fd-k7 {
    --b: #e5d452
}

.fd-k1 span {
    height: 3%
}

.fd-k2 span {
    height: 65%
}

.fd-k3 span {
    height: 100%
}

.fd-k4 span {
    height: 32%
}

.fd-k5 span {
    height: 42%
}

.fd-k6 span {
    height: 17%
}

.fd-k7 span {
    height: 20%
}

.fd-colchart + * {
    margin-top: 30px
}

/* line chart */
.fd-line {
    width: 100%;
    height: 170px
}

.fd-line-stroke {
    fill: none;
    stroke: var(--fd-t);
    stroke-width: 3;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke
}

.fd-line-area {
    fill: color-mix(in srgb,var(--fd-t) 14%,transparent)
}

/* links */
.fd-links {
    list-style: none;
    margin: 0;
    padding: 8px
}

    .fd-links li {
        border-bottom: 1px dashed #dbe4ee
    }

        .fd-links li:last-child {
            border: 0
        }

    .fd-links a, .futex-theme-dashboard .subnav-menu li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 7px 12px 7px 0 !important;
        border-radius: 6px;
        color: var(--fd-ink);
        text-decoration: none;
        font-size: 14px;
        transition: .2s
    }


        .fd-links a > i:first-child,  .futex-theme-dashboard .subnav-menu li i {
            width: 30px !important;
            height: 30px;
            border-radius: 8px;
            background: var(--fd-soft);
            color: var(--fd-t);
            display: flex;
            align-items: center;
            justify-content: center
        }

        .fd-links a > i:last-child {
            margin-left: auto;
            font-size: 11px;
            opacity: 0;
            transition: .2s
        }

        .fd-links a:hover, .futex-theme-dashboard .subnav-menu li a:hover {
            background: var(--fd-soft);
            padding-left: 10px !important
        }

            .fd-links a:hover > i:last-child {
                opacity: 1
            }

            .fd-links a:hover > i:first-child {
                background: var(--fd-t);
                color: #fff
            }

@media(max-width:575px) {
    .fd-colchart {
        gap: 8px
    }
}


.detail-search-row > .detail-filter {
    flex: 0 0 auto;
    width: var(--df-w, 25%);
}

.detail-search-row > [hidden],
.detail-toggle-button[hidden] {
    display: none !important;
}

.detail-toggle-button i {
    transition: transform .2s ease;
}

.detail-toggle-button[aria-expanded="true"] i {
    transform: rotate(180deg);
}
.box.box-bordered {
    border-radius:6px
}
.box.box-bordered .box-title{
    border-radius:6px 6px 0 0 
}
#MenuLinks .subnav-menu li a i {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    line-height: 1.2;
    font-weight: 500;
    color: var(--ink);
}
#MenuLinks .subnav-menu li a:hover {
    border-radius: 6px
}
#MenuLinks .subnav-menu li {
    margin-bottom: 0 !important;
    border-bottom: 1px dashed #dbe4ee;
}
#MenuLinks .subnav-menu li:last-child {
   
    border-bottom: none
}

.futex-theme-dashboard .box-content {
    border-width: 0 !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fx-ic, #339933) 15%, #fff);
}


.stickyFooter .pagination {
    margin: 0 !important
}

.detail-search-panel {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 12px;
}

.detail-search-button {
    white-space: nowrap;
}

.detail-toggle-button {
    border: 1px solid #ced4da;
    background: #fff;
    border-radius: 6px;
    padding: 0 12px;
    color: #6c757d;
}

    .detail-toggle-button:hover {
        color: #339933;
        border-color: #339933;
    }

/* Date input ke saath icon */
.date-icon-wrap {
    position: relative;
}

    .date-icon-wrap .date-icon {
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        color: #8a8f94;
        font-size: 14px;
        cursor: pointer;
        transition: color .15s ease;
    }

        .date-icon-wrap .date-icon:hover {
            color: #6c757d;
        }

    .date-icon-wrap input.datepicker {
        padding-right: 34px;
    }

/* ================= Global theme color (poori website) ================= */
:root {
    --fx-ic: #339933;
}

.theme-blue {
    --fx-ic: #368ee0;
}

.theme-orange {
    --fx-ic: #f8a31f;
}

.theme-red {
    --fx-ic: #e51400;
}

.theme-green {
    --fx-ic: #339933;
}

.theme-lime {
    --fx-ic: #8cbf26;
}

.theme-teal {
    --fx-ic: #00aba9;
}

.theme-purple {
    --fx-ic: #ff0097;
}

.theme-brown {
    --fx-ic: #a05000;
}

.theme-pink {
    --fx-ic: #e671b8;
}

.theme-magenta {
    --fx-ic: #a200ff;
}

.theme-grey {
    --fx-ic: #333333;
}

.theme-darkblue {
    --fx-ic: #204e81;
}

.theme-lightred {
    --fx-ic: #e63a3a;
}

.theme-lightgrey {
    --fx-ic: #666666;
}

.theme-satblue {
    --fx-ic: #2c5e7b;
}

.theme-satgreen {
    --fx-ic: #56af45;
}

.theme-grey-3 {
    --fx-ic: #999999;
}

.theme-grey-4 {
    --fx-ic: #999999;
}

/* ================= Global themed checkbox (poori website) ================= */
.form-check-input[type="checkbox"]:not(#x) {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 1.5px solid var(--fx-ic, #339933);
    border-radius: 4px;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .12s ease, box-shadow .12s ease;
}

.form-check-input[type="checkbox"]:checked:not(#x),
.form-check-input[type="checkbox"]:indeterminate:not(#x) {
    background-color: var(--fx-ic, #339933);
    border-color: var(--fx-ic, #339933);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}

.form-check-input[type="checkbox"]:checked:not(#x) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m5 10.5 3.5 3.5L15 7'/%3E%3C/svg%3E");
}

.form-check-input[type="checkbox"]:indeterminate:not(#x) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath stroke='%23fff' stroke-width='3' stroke-linecap='round' d='M5 10h10'/%3E%3C/svg%3E");
}

.form-check-input[type="checkbox"]:focus:not(#x) {
    box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--fx-ic, #339933) 22%, transparent);
    outline: 0;
}

/* ================= Multiselect ================= */
.multiselect {
    border-radius: 6px;
    text-align: left !important;
}

.multiselect-container .multiselect-all .form-check,
.multiselect-container .multiselect-group .form-check,
.multiselect-container .multiselect-option .form-check {
    padding-left: 0 !important;
}

.detail-filter .multiselect-native-select {
    display: block;
    width: 100%;
}

.detail-filter .btn-group {
    width: 100%;
}

/* ----- Button ----- */
.detail-filter .multiselect.dropdown-toggle:not(#x) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    height: 38px;
    padding: 0 12px !important;
    font-size: 14px;
    color: #495057;
    text-align: left !important;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .detail-filter .multiselect.dropdown-toggle:not(#x)::after,
    .detail-filter .multiselect.dropdown-toggle:not(#x) .caret {
        display: none !important;
    }

    .detail-filter .multiselect.dropdown-toggle:not(#x):focus,
    .detail-filter .btn-group.open .multiselect.dropdown-toggle:not(#x),
    .detail-filter .btn-group.show .multiselect.dropdown-toggle:not(#x) {
        border-color: var(--fx-ic, #339933);
        box-shadow: 0 0 8px 1.8px color-mix(in srgb, var(--fx-ic, #339933) 20%, transparent);
        outline: 0;
    }

    .detail-filter .multiselect.dropdown-toggle:not(#x) .multiselect-icon {
        flex: 0 0 auto;
        margin: 0 8px 0 0;
        font-size: 14px;
        color: #8a8f94;
    }

    .detail-filter .multiselect.dropdown-toggle:not(#x) .multiselect-selected-text {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
    }

    .detail-filter .multiselect.dropdown-toggle:not(#x) .multiselect-arrow {
        flex: 0 0 auto;
        margin: 0 0 0 auto !important;
        padding-left: 8px;
        font-size: 11px;
        color: #8a8f94;
        transition: transform .15s ease;
    }

.detail-filter .btn-group.open .multiselect.dropdown-toggle:not(#x) .multiselect-arrow,
.detail-filter .btn-group.show .multiselect.dropdown-toggle:not(#x) .multiselect-arrow {
    transform: rotate(180deg);
}

/* ----- Dropdown box ----- */
.detail-filter .multiselect-container.dropdown-menu:not(#x) {
    min-width: 100%;
    width: max-content;
    padding: 10px;
    margin-top: 0;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}

/* ----- Search box ----- */
.detail-filter .multiselect-container .multiselect-filter:not(#x) {
    position: relative;
    display: flex !important;
    align-items: center !important;
    height: 38px;
    padding: 0 10px !important;
    gap: 8px;
    margin-bottom: 8px;
    background: #fff !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    overflow: hidden;
}

    .detail-filter .multiselect-container .multiselect-filter:not(#x) > i,
    .detail-filter .multiselect-container .multiselect-filter:not(#x) > .fa,
    .detail-filter .multiselect-container .multiselect-filter:not(#x) > .fas,
    .detail-filter .multiselect-container .multiselect-filter:not(#x) > svg {
        position: static !important;
        flex: 0 0 auto;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 13px;
        color: #8a8f94 !important;
        transform: none !important;
    }

.detail-filter .multiselect-container .multiselect-filter .multiselect-search:not(#x),
.detail-filter .multiselect-container .multiselect-filter .multiselect-search:not(#x):focus,
.detail-filter .multiselect-container .multiselect-filter .multiselect-search:not(#x):hover {
    flex: 1 1 auto;
    width: 100%;
    height: 34px;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px;
    color: #495057;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.detail-filter .multiselect-container .multiselect-filter .multiselect-search::placeholder {
    color: #8a8f94;
}

.detail-filter .multiselect-container .multiselect-filter:not(#x):focus-within {
    border-color: var(--fx-ic, #339933) !important;
    box-shadow: 0 0 8px 1.8px color-mix(in srgb, var(--fx-ic, #339933) 20%, transparent);
}

.detail-filter .multiselect-container .multiselect-filter .multiselect-clear-filter {
    display: none !important;
}

/* ----- Items ----- */
.detail-filter .multiselect-container .dropdown-item:not(#x) {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 8px;
    color: #343a40;
    background: transparent;
    border: 0;
    border-radius: 6px;
    white-space: nowrap;
}

.detail-filter .multiselect-container .form-check:not(#x) {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
}

.detail-filter .multiselect-container .form-check-label:not(#x) {
    flex: 1;
    margin: 0;
    padding: 0;
    line-height: 1.3;
    font-weight: 500;
    color: var(--mute);
    cursor: pointer;
}

/* Select all bold */
.detail-filter .multiselect-container .multiselect-all .form-check-label:not(#x) {
    font-weight: 700;
    color: #212529;
}

/* ----- Group heading ----- */
.detail-filter .multiselect-container .multiselect-group:not(#x) {
    padding: 10px 8px 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #8a8f94;
    background: transparent;
    cursor: default;
}

.detail-filter .multiselect-container .multiselect-group .form-check-label:not(#x),
.detail-filter .multiselect-container .multiselect-group label:not(#x) {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #8a8f94;
    cursor: default;
}

/* ----- Checkbox (multiselect ke andar ka spacing) ----- */
.detail-filter .multiselect-container .form-check-input:not(#x) {
    float: none;
    flex: 0 0 18px;
    margin: 0 10px 0 0;
}

/* ----- Hover (plugin ka grey override) ----- */
.detail-filter .multiselect-container .multiselect-all:not(#x):hover,
.detail-filter .multiselect-container .multiselect-all:not(#x):focus,
.detail-filter .multiselect-container .multiselect-option:not(#x):hover,
.detail-filter .multiselect-container .multiselect-option:not(#x):focus,
.detail-filter .multiselect-container .multiselect-option.active:not(#x),
.detail-filter .multiselect-container .dropdown-item:not(#x):hover,
.detail-filter .multiselect-container .dropdown-item:not(#x):focus,
.detail-filter .multiselect-container .dropdown-item.active:not(#x) {
    background-color: color-mix(in srgb, var(--fx-ic, #339933) 10%, white) !important;
    color: #212529 !important;
}

/* group heading par hover ka koi rang nahi */
.detail-filter .multiselect-container .multiselect-group:not(#x):hover,
.detail-filter .multiselect-container .multiselect-group:not(#x):focus {
    background-color: transparent !important;
    color: #8a8f94 !important;
}

.detail-filter .multiselect-container {
    min-width: 100%;
}
.xdsoft_datetimepicker .xdsoft_calendar td, .xdsoft_datetimepicker .xdsoft_calendar th{
    text-align:center
}
.xdsoft_datetimepicker {
    
    border-radius: 6px;
}


/* =====================================================
   PILL CHECKBOX / RADIO / SWITCH
   Same color for all components
   Small & Clean Design
===================================================== */

/* ===== Main Pill ===== */

.pill-option {
    --pill-c: #2864c8;
    --pill-tick: #2864c8;
    --pill-m: 18px;
    position: relative;
    display: inline-block;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
}

    /* Hide Original Input */

    .pill-option > input {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: 0;
        opacity: 0;
        pointer-events: none;
    }

/* ===== Inactive Pill ===== */

.pill-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 24px;
    padding: 1px 3px 2px 7px;
    color: #333437;
    background: #e9eef2;
    /* border: 1px solid #dce3ec; */
    border-radius: 50px;
    transition: all .2s ease;
}

/* Text */

.pill-text {
    flex: 1;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    letter-spacing: .1px;
}

/* ===== Circle ===== */

.pill-mark {
    position: relative;
    flex: 0 0 var(--pill-m);
    width: var(--pill-m);
    height: var(--pill-m);
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    transition: all .2s ease;
}

    /* ===== Checkbox Tick ===== */

    .pill-mark::after {
        content: "";
        position: absolute;
        top: 43%;
        left: 50%;
        width: 5px;
        height: 9px;
        border: solid var(--pill-tick);
        border-width: 0 1.8px 1.8px 0;
        transform: translate(-50%, -50%) rotate(45deg) scale(0);
        transition: transform .2s ease;
    }

/* ===== Active Pill ===== */

.pill-option > input:checked + .pill-box {
    color: #fff;
    background: var(--pill-c);
    border-color: var(--pill-c);
}

    /* Active Circle */

    .pill-option > input:checked + .pill-box .pill-mark {
        background: #fff;
        border-color: #fff;
    }

        /* Active Tick */

        .pill-option > input:checked + .pill-box .pill-mark::after {
            border-color: var(--pill-c);
            transform: translate(-50%, -50%) rotate(45deg) scale(1);
        }

/* ===== Radio ===== */

.pill-radio .pill-mark::after {
    top: 50%;
    width: 7px;
    height: 7px;
    background: var(--pill-c);
    border: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
}

.pill-radio > input:checked + .pill-box .pill-mark::after {
    background: var(--pill-c);
    transform: translate(-50%, -50%) scale(1);
}

/* ===== Hover ===== */



/* ===== Keyboard Focus ===== */

.pill-option > input:focus-visible + .pill-box {
    outline: 2px solid rgba(40, 100, 200, .35);
    outline-offset: 2px;
}

/* ===== Disabled ===== */

.pill-option > input:disabled + .pill-box {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pill-option:has(> input:disabled) {
    cursor: not-allowed;
}

/* =====================================================
   SWITCH
===================================================== */

.pill-switch .pill-box {
    position: relative;
    justify-content: center;
    padding: 3px 10px 3px 29px;
    color: #64748b;
    background: #e9eef2;
    border-color: #dce3ec;
}

/* Switch Inactive Circle */

.pill-switch .pill-mark {
    position: absolute;
    top: 50%;
    left: 5px;
    margin-top: -9px;
    background: #fff;
    border-color: #cbd5e1;
}

/* Switch Active */

.pill-switch > input:checked + .pill-box {
    padding: 3px 29px 3px 10px;
    color: #fff;
    background: var(--pill-c);
    border-color: var(--pill-c);
}

    /* Switch Circle Right */

    .pill-switch > input:checked + .pill-box .pill-mark {
        left: calc(100% - 23px);
        background: #fff;
        border-color: #fff;
    }

/* =====================================================
   GROUPS
===================================================== */

.pill-group {
    /*display: grid;*/
    gap: 7px;
}

.pill-group-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .pill-group-inline .pill-option {
        flex: 1 1 120px;
    }

/* =====================================================
   CARD LAYOUT
===================================================== */

.pill-section {
    padding: 20px 0;
}

.pill-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.pill-card {
    padding: 13px;
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 11px;
    box-shadow: 0 3px 12px rgba(30, 50, 80, .05);
}

.pill-card-title {
    margin: 0 0 11px;
    padding-bottom: 8px;
    color: #34445b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    border-bottom: 1px solid #edf0f5;
}

/* =====================================================
   SIZES  (apni pill CSS mein SWITCH wale hisse ke BAAD paste karo)
   xs = very small | sm = small | (normal = tumhari base CSS) | lg = large
   Har size mein pill, text, circle, tick, radio dot aur switch teeno theek hote hain.
   ===================================================== */

/* ---------- XS (very small) ---------- */
.pill-xs {
    --pill-m: 12px;
}

    .pill-xs .pill-box {
        gap: 5px;
        min-height: 16px;
        padding: 1px 2px 1px 6px;
    }

    .pill-xs .pill-text {
        font-size: 10px;
        line-height: 0.9px;
    }

    .pill-xs .pill-mark {
        border-width: 1px;
    }

    .pill-xs:not(.pill-radio) .pill-mark::after {
        width: 3px;
        height: 6px;
        border-width: 0 1.2px 1.2px 0;
    }

    .pill-xs.pill-radio .pill-mark::after {
        width: 5px;
        height: 5px;
        border: 0;
    }

    .pill-xs.pill-switch .pill-box {
        padding: 1px 6px 1px 20px;
    }

    .pill-xs.pill-switch .pill-mark {
        left: 3px;
        margin-top: -6px;
    }

    .pill-xs.pill-switch > input:checked + .pill-box {
        padding: 1px 20px 1px 6px;
    }

        .pill-xs.pill-switch > input:checked + .pill-box .pill-mark {
            left: calc(100% - 15px);
            /* ---------- SM (small) ---------- */
            .pill-sm {
                --pill-m: 15px;
            }

                .pill-sm .pill-box {
                    gap: 6px;
                    min-height: 20px;
                    padding: 1px 2px 1px 6px;
                }

                .pill-sm .pill-text {
                    font-size: 11px;
                }

                .pill-sm:not(.pill-radio) .pill-mark::after {
                    width: 4px;
                    height: 8px;
                    border-width: 0 1.5px 1.5px 0;
                }

                .pill-sm.pill-radio .pill-mark::after {
                    width: 6px;
                    height: 6px;
                    border: 0;
                }

                .pill-sm.pill-switch .pill-box {
                    padding: 2px 8px 2px 25px;
                }

                .pill-sm.pill-switch .pill-mark {
                    left: 4px;
                    margin-top: -7.5px;
                }

                .pill-sm.pill-switch > input:checked + .pill-box {
                    padding: 2px 25px 2px 8px;
                }

                    .pill-sm.pill-switch > input:checked + .pill-box .pill-mark {
                        left: calc(100% - 19px);
                    }
            /* ---------- LG (large) ---------- */
            .pill-lg {
                --pill-m: 24px;
            }

                .pill-lg .pill-box {
                    gap: 10px;
                    min-height: 32px;
                    padding: 2px 4px 2px 12px;
                }

                .pill-lg .pill-text {
                    font-size: 14px;
                }

                .pill-lg:not(.pill-radio) .pill-mark::after {
                    width: 7px;
                    height: 12px;
                    border-width: 0 2.4px 2.4px 0;
                }

                .pill-lg.pill-radio .pill-mark::after {
                    width: 10px;
                    height: 10px;
                    border: 0;
                }

                .pill-lg.pill-switch .pill-box {
                    padding: 4px 12px 4px 38px;
                }

                .pill-lg.pill-switch .pill-mark {
                    left: 6px;
                    margin-top: -12px;
                }

                .pill-lg.pill-switch > input:checked + .pill-box {
                    padding: 4px 38px 4px 12px;
                }

                    .pill-lg.pill-switch > input:checked + .pill-box .pill-mark {
                        left: calc(100% - 30px);
                    }
            /* =====================================================
   RESPONSIVE
===================================================== */

            @media (max-width: 991px) {
                .pill-grid {
                    grid-template-columns: repeat(2, 1fr);
                }
            }

            @media (max-width: 575px) {
                .pill-grid {
                    grid-template-columns: 1fr;
                }
            }
        }

/* =====================================================
   MODERN DROPDOWN SYSTEM
===================================================== */

.dd {
    --dd-border: #dce3ed;
    --dd-primary: #315f9c;
    --dd-arrow-bg: #f0f4fa;
    position: relative;
    display: block;
    width: 100%;
    font-weight: 500;
}

    .dd > input[type="hidden"] {
        display: none;
    }

/* =====================================================
   DROPDOWN TOGGLE
===================================================== */

.dd-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0;
    margin: 0;
    color: #40536d;
    background: #fff;
    border: 1px solid var(--dd-border);
    border-radius: 8px;
    cursor: pointer;
    transition: .2s ease;
}

    .dd-toggle:hover,
    .dd.is-open .dd-toggle {
        border-color: #8ba9d0;
    }

    .dd-toggle:focus {
        outline: none;
    }

    .dd-toggle:focus-visible,
    .dd.is-open .dd-toggle {
        box-shadow: 0 0 0 3px rgba(49, 95, 156, .10);
    }

.dd-value {
    flex: 1;
    min-width: 0;
    padding: 0 13px;
    color: #40536d;
    font-size: 14px;
    line-height: 42px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dd-toggle:not(.has-value) .dd-value {
    color: #98a4b5;
}

/* =====================================================
   ARROW AREA
===================================================== */

.dd-arrow {
    flex: 0 0 40px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dd-arrow-bg);
    border-left: 1px solid #e1e7ef;
    border-radius: 0 7px 7px 0;
    transition: background .2s ease;
}

.dd-toggle:hover .dd-arrow,
.dd.is-open .dd-arrow {
    background: #e6eef9;
}

.dd-arrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border: solid #8291a6;
    border-width: 0 2px 2px 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
}

.dd.is-open .dd-arrow::before {
    transform: translateY(2px) rotate(225deg);
}

/* =====================================================
   DROPDOWN MENU
===================================================== */

.dd-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 100;
    display: none;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(25, 45, 75, .12);
}

.dd.is-open .dd-menu {
    display: block;
    animation: dd-in .18s ease;
}

@keyframes dd-in {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dd-list {
    max-height: 230px;
    margin: 0;
    padding: 5px;
    overflow-y: auto;
    list-style: none;
}

.dd-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #52647c;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s ease;
}

    .dd-item:hover,
    .dd-item.is-active {
        background: #f1f5fa;
        color: #315f9c;
    }

    .dd-item.is-selected {
        background: #eaf1fa;
        color: #315f9c;
    }

    .dd-item[hidden] {
        display: none;
    }

.dd-code {
    color: #315f9c;
    font-weight: 600;
}

.dd-name {
    flex: 1;
    min-width: 0;
}


/* =========================================
   PHONE NUMBER - JOINED INPUT
========================================= */

.dd-phone-group {
    display: flex;
    width: 100%;
    align-items: stretch;
    gap: 0;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    /* Complete control focus */
    .dd-phone-group:focus-within {
        border-color: #8ba9d0;
        box-shadow: 0 0 0 3px rgba(49, 95, 156, .10);
    }

    /* Country code dropdown */
    .dd-phone-group > .dd-phone {
        flex: 0 0 auto;
        width: auto;
    }

.dd-phone .dd-toggle {
    display: flex;
    align-items: center;
    width: auto;
    min-width: 0;
    height: 42px;
    min-height: 42px;
    padding: 0;
    background: #FFF;
    border: 0;
    border-radius: 7px 0 0 7px;
    box-shadow: none !important;
}

/* Country code */
.dd-phone .dd-value {
    flex: 0 0 auto;
    width: auto;
    padding: 0 5px 0 12px;
    color: #40536d;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    line-height: 42px;
}

/* Arrow background */
.dd-phone .dd-arrow {
    width: 30px;
    height: 42px;
    background: #FFF;
    border: 0;
    border-radius: 0;
    transition: background .2s ease;
    border-right: 1px solid #dce3ed;
    flex: 0 0 25px;
}


.dd-phone .dd-toggle:hover,
.dd-phone.is-open .dd-toggle {
    background: #e5edf8;
}

    .dd-phone .dd-toggle:hover .dd-arrow,
    .dd-phone.is-open .dd-arrow {
        background: #e5edf8;
    }

/* Remove separate focus shadow */
.dd-phone .dd-toggle:focus,
.dd-phone .dd-toggle:focus-visible {
    outline: none;
    box-shadow: none !important;
}

/* Phone number input */
.dd-phone-input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 42px;
    padding: 0 13px;
    color: #40536d;
    background: #fff;
    border: 0 !important;
    border-radius: 0 7px 7px 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    box-shadow: none !important;
}

    .dd-phone-input::placeholder {
        color: #a0aaba;
    }

    /* No individual input focus border */
    .dd-phone-input:focus {
        outline: none;
        border: 0 !important;
        box-shadow: none !important;
    }

/* Country dropdown menu */
.dd-phone .dd-menu {
    top: calc(100% + 2px);
    left: 0;
    right: auto;
    width: 250px;
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 9px;
    box-shadow: 0 12px 30px rgba(25, 45, 75, .12);
}

/* Responsive */
@media (max-width: 575px) {
    .dd-phone .dd-arrow {
        flex-basis: 26px;
        width: 26px;
    }
}


/* =====================================================
   INTERNATIONAL PHONE - FLAG + PHONE INPUT
   intl-tel-input library
===================================================== */

.iti {
    display: block;
    width: 100%;
}

.iti__tel-input {
    display: block;
    width: 100% !important;
    height: 34px !important;
    padding-left: 78px !important;
    padding-right: 12px !important;
    color: #40536d !important;
    background: #fff !important;
    border: 1px solid #dce3ed !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: .2s ease;
}

    .iti__tel-input::placeholder {
        color: #a0aaba !important;
    }

    .iti__tel-input:focus {
        border-color: #8ba9d0 !important;
        box-shadow: 0 0 0 3px rgba(49, 95, 156, .10) !important;
    }

/* Flag container */

.iti__country-container {
    padding: 1px 0 1px 1px !important;
}

.iti__selected-country {
    
    background: transparent !important;
    border-radius: 7px 0 0 7px;
}

    .iti__selected-country:hover {
        background: #f0f4fa !important;
    }

.iti__selected-country-primary {
    display: flex;
    align-items: center;
    gap: 8px;
}

.iti__arrow {
    border-top-color: #8291a6 !important;
}

.iti__arrow--up {
    border-bottom-color: #8291a6 !important;
}

/* International dropdown */

.iti__dropdown-content {
    z-index: 99999 !important;
    margin-top: 5px !important;
    background: #fff !important;
    border: 1px solid #e1e7ef !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 30px rgba(25, 45, 75, .13) !important;
    overflow: hidden !important;
}

.iti__search-input {
    display: block !important;
    width: calc(100% - 16px) !important;
    height: 38px !important;
    margin: 8px !important;
    padding: 0 9px 0 29px !important;
    color: #40536d !important;
    background: #fff !important;
    border: 1px solid #e0e6ee !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    outline: none !important;
}

    .iti__search-input:focus {
        border-color: #8ba9d0 !important;
        box-shadow: 0 0 0 3px rgba(49, 95, 156, .08) !important;
    }

.iti__country-list {
    max-height: 220px !important;
    border: 0 !important;
}

.iti__country {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 9px 13px !important;
    color: #52647c !important;
    font-size: 14px !important;
}

    .iti__country:hover,
    .iti__country.iti__highlight {
        background: #f0f4fa !important;
    }

.iti__country-name {
    color: #52647c !important;
}

.iti__dial-code {
    margin-left: auto !important;
    color: #52647c !important;
    font-weight: 500;
}

.iti__selected-country {
    
    border-radius: 8px 0 0 8px !important;
    
}
.iti__search-icon {
    
    left: 19px !important;
   
}

/* =====================================================
   CARDS / LAYOUT
===================================================== */

.dd-section {
    padding: 35px 0 220px;
}

.dd-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.dd-card {
    min-width: 0;
    padding: 22px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(20, 40, 70, .045);
}

.dd-card-title {
    margin: 0 0 17px;
    padding-bottom: 13px;
    color: #34445b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    border-bottom: 1px solid #edf0f5;
}

/* =====================================================
   BOOTSTRAP DROPDOWN BUTTON - BASE
===================================================== */

.dd-btn {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    height: 34px;
    padding: 0 0 0 12px;
    color: #40536d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 34px;
    text-align: left;
    white-space: nowrap;
    background: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none !important;
    transition: background .2s ease;
}

    .dd-btn:hover,
    .dd-btn:focus,
    .dd-btn:active,
    .dd-btn.show {
        color: #40536d;
        background: #fff;
        transform: none;
    }

    /* Bootstrap ka caret hata ke apna arrow box (theme ke mutabiq background) */
    .dd-btn.dropdown-toggle::after {
        content: "";
        display: block;
        flex: 0 0 30px;
        align-self: stretch;
        width: 30px;
        height: auto;
        margin: 0 0 0 0px;
        vertical-align: 0;
        border: 0;
        background: color-mix(in srgb, var(--fx-ic, #339933) 12%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2340536d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
        transition: background-color .2s ease;
    }

    .dd-btn.dropdown-toggle:hover::after,
    .dd-btn.dropdown-toggle.show::after {
        background-color: color-mix(in srgb, var(--fx-ic, #339933) 22%, #fff);
    }

/* =====================================================
   DROPDOWN MENU (Bootstrap menu ki halki styling)
===================================================== */

.dd-card .dropdown-menu {
    margin-top: 2px !important;
    padding: 0px;
    border: 1px solid #e8edf3;
    border-radius:6px;
    box-shadow: 0 10px 30px rgba(20, 40, 70, .10);
    font-size: 14px;
    min-width:70px
}

.dd-card .dropdown-item {
    padding: 8px 10px;
    color: #40536d;
    border-radius: 0px;
}

    .dd-card .dropdown-item:hover,
    .dd-card .dropdown-item:focus {
        color: #40536d;
        background: #f0f4fa;
    }
/* Unit dropdown: menu ki width = button ki width */
.dd-card .dd-unit-group .dropdown-menu {
    min-width: 100%;
    width: 100%;
   
}

.dd-card .dd-unit-group .dropdown-item {
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Button itna chauda ho ke sab se lamba item (Months) fit ho jaye */
.dd-unit-btn {
    min-width: 92px;
}

/* =====================================================
   DROPDOWN WITH SEARCH
===================================================== */

.dd-card .dd-search-menu {
    overflow: hidden;
}

.dd-search-box {
    padding: 8px;
    border-bottom: 1px solid #edf0f5;
    background: #fff;
}

.dd-search-input {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    color: #40536d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    border: 1px solid #dce3ed;
    border-radius: 6px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .dd-search-input:focus {
        border-color: var(--fx-ic, #339933);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic, #339933) 15%, transparent);
    }

    .dd-search-input::placeholder {
        color: #a0aaba;
    }

.dd-search-list {
    max-height: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

    .dd-search-list li.dd-hidden {
        display: none;
    }

.dd-no-result {
    display: none;
    padding: 10px;
    color: #8291a6;
    font-size: 13px;
    text-align: center;
}

    .dd-no-result.show {
        display: block;
    }

/* =====================================================
   FULL WIDTH DROPDOWN (Choose airport)
===================================================== */

.dd-btn-block {
    width: 100%;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    overflow: hidden;
}

    .dd-btn-block.dropdown-toggle::after {
        margin-left: auto;
    }

/* =====================================================
   VALUE + UNIT (joined group)
===================================================== */

.dd-unit-group {
    display: flex;
    width: 100%;
    align-items: stretch;
    background: #fff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .dd-unit-group:focus-within {
        border-color: var(--fx-ic, #339933);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic, #339933) 15%, transparent);
    }

    .dd-unit-group .dropdown {
        display: flex;
        flex: 0 0 auto;
    }

/* "Per" text */
.dd-unit-addon {
    flex: 0 0 auto;
    padding: 0 12px;
    color: #8291a6;
    font-size: 14px;
    font-weight: 600;
    line-height: 34px;
    border-right: 1px solid #dce3ed;
}

/* Typeable value */
.dd-unit-input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    color: #40536d;
    background: #fff;
    border: 0 !important;
    border-radius: 7px 0 0 7px !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    outline: none;
    box-shadow: none !important;
    -moz-appearance: textfield;
}
   

    .dd-unit-input:focus {
        border-radius: 8px !important;
        border:none !important;
        box-shadow:none !important
    }

    .dd-unit-input::-webkit-outer-spin-button,
    .dd-unit-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .dd-unit-input::placeholder {
        color: #a0aaba;
    }

/* Unit button (value + arrow ka hover color ek saath, theme ke mutabiq) */
.dd-unit-btn {
    min-width: 66px;
    padding-left: 12px;
    background: color-mix(in srgb, var(--fx-ic, #339933) 12%, #fff);
    border-radius: 0 7px 7px 0;
    overflow: hidden;
}

    .dd-unit-btn:hover,
    .dd-unit-btn:focus,
    .dd-unit-btn:active,
    .dd-unit-btn.show {
        background: color-mix(in srgb, var(--fx-ic, #339933) 22%, #fff);
    }

/* =====================================================
   PHONE NUMBER
===================================================== */

.dd-phone-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: #fff;
    border: 1px solid #dce3ed;
    border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .dd-phone-group:focus-within {
        border-color: var(--fx-ic, #339933);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-ic, #339933) 15%, transparent);
    }

    .dd-phone-group .dropdown {
        display: flex;
        flex: 0 0 auto;
    }

.dd-phone-btn {
    border-right: 1px solid #dce3ed;
    border-radius: 7px 0 0 7px;
    overflow: hidden;
}

    /* Phone code ke sath sirf chhota arrow, box ke bagair */
    .dd-phone-btn.dropdown-toggle::after {
        flex: 0 0 24px;
        width: 24px;
        margin-left: 4px;
        background-color: transparent;
    }

    .dd-phone-btn.dropdown-toggle:hover::after,
    .dd-phone-btn.dropdown-toggle.show::after {
        background-color: transparent;
    }

.dd-phone-input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    color: #40536d;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    border: 0 !important;
    outline: none;
    box-shadow: none !important;
}

    .dd-phone-input::placeholder {
        color: #a0aaba;
    }

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
    .dd-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .dd-grid {
        grid-template-columns: 1fr;
    }

    .dd-card {
        padding: 16px;
    }
}
.dropdown-menu > li > a{
    font-weight:600
}

.modal-right .modal-content, .futex-modal.modal-right .modal-content {
    border-radius: 0 !important
}

/* ===== Futex charts (theme: --fx-ic) ===== */
.futex-theme-charts {
    --fc-ink: #1b2a41;
    --fc-mute: #7b8aa0;
    --fc-line: #e8edf3;
    --fc-t: var(--fx-ic,#339933);
    --fc-soft: color-mix(in srgb,var(--fc-t) 10%,#fff);
    color: var(--fc-ink)
}

    .futex-theme-charts * {
        box-sizing: border-box
    }

    .futex-theme-charts h1 {
        margin: 0
    }

/* head */
.fc-head {
    margin-bottom: 14px
}

.fc-title {
    font-size: 22px;
    font-weight: 800
}

.fc-tags {
    display: flex;
    gap: 6px;
    margin-top: 4px
}

.fc-tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--fc-soft);
    color: var(--fc-t);
    border: 1px solid color-mix(in srgb,var(--fc-t) 25%,#fff)
}

.fc-tag-plain {
    background: #fff;
    color: var(--fc-mute);
    border-color: var(--fc-line)
}

/* card */
.fc-card {
    background: #fff;
    border: 1px solid color-mix(in srgb,var(--fc-t) 15%,#fff);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(20,40,70,.045);
    overflow: hidden;
    transition: transform .25s,box-shadow .25s,border-color .25s
}

    .fc-card:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb,var(--fc-t) 30%,#fff);
        box-shadow: 0 16px 36px color-mix(in srgb,var(--fc-t) 18%,transparent)
    }

.fc-card-head {
    padding: 9px 18px;
    font-weight: 800;
    font-size: 16px;
    background: var(--fc-soft);
    border-bottom: 1px solid color-mix(in srgb,var(--fc-t) 10%,#fff)
}

    .fc-card-head i {
        color: var(--fc-t);
        margin-right: 6px
    }

    .fc-card-head small {
        margin-left: 8px;
        font-size: 12px;
        font-weight: 600;
        color: var(--fc-mute)
    }

.fc-card-body {
    padding: 18px
}

/* chart box (canvas ke liye height zaroori hai) */
.fc-chart {
    position: relative;
    height: 250px
}

.fc-gauge-wrap {
    height: 190px
}

.fc-gauge-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none
}

    .fc-gauge-text b {
        font-size: 32px;
        line-height: 1;
        color: var(--fc-ink)
    }

    .fc-gauge-text small {
        font-size: 12px;
        color: var(--fc-mute)
    }

.fc-note {
    text-align: center;
    font-size: 13px;
    color: var(--fc-mute);
    margin: 10px 0 0
}

@media(max-width:575px) {
    .fc-chart {
        height: 240px
    }

    .fc-gauge-wrap {
        height: 170px
    }
}


/* =====================================================
   FUTEX THEME CHARTS - PIE CHART
===================================================== */

.futex-theme-charts #PieChart1Contaier {
    width: 100%;
    height:250px;
}

    .futex-theme-charts #PieChart1Contaier .highcharts-container {
        width: 100% !important;
    }

    /* Legend ke text ka size aur weight */
    .futex-theme-charts #PieChart1Contaier .highcharts-legend-item text {
        font-size: 12px;
        font-weight: 600;
    }
    /* Donut ke beech ka total */
    .futex-theme-charts #PieChart1Contaier .fd-donut-total {
        fill: #34445b;
        font-size: 30px;
        font-weight: 800;
    }

    .futex-theme-charts #PieChart1Contaier .fd-donut-label {
        fill: #8291a6;
        font-size: 11px;
        font-weight: 600;
    }

/* =====================================================
   INVOICES DONUT (centre total + legend)
===================================================== */

.futex-theme-charts .fc-donut-wrap {
    position: relative;
}

.futex-theme-charts .fc-donut-text {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

    .futex-theme-charts .fc-donut-text b {
        color: #34445b;
        font-size: 30px;
        font-weight: 800;
        line-height: 1;
    }

    .futex-theme-charts .fc-donut-text small {
        margin-top: 4px;
        color: #8291a6;
        font-size: 11px;
        font-weight: 600;
    }

.futex-theme-charts .fc-donut-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    margin-top: 12px;
}

.futex-theme-charts .fc-donut-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #40536d;
    font-size: 12px;
    font-weight: 600;
}

.futex-theme-charts .fc-donut-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
/* =====================================================
   HEADER CLOCK / TIMEZONE (compact, light)
===================================================== */

.futex-theme-dashboard .fd-clock {
    position: relative;
    z-index: 1050;
    flex: 0 0 auto;
    width: fit-content;
    margin-left: auto;
    padding: 5px 10px 5px 6px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(20, 40, 70, .04);
    cursor: default;
    outline: none;
    transition: border-color .2s ease;
}

    .futex-theme-dashboard .fd-clock:hover,
    .futex-theme-dashboard .fd-clock:focus-within {
        border-color: color-mix(in srgb, var(--fx-ic, #339933) 35%, #fff);
    }

.futex-theme-dashboard .fd-clock-main {
    display: flex;
    align-items: center;
    gap: 9px;
}

.futex-theme-dashboard .fd-clock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    color: var(--fx-ic, #339933);
    font-size: 15px;
    background: color-mix(in srgb, var(--fx-ic, #339933) 12%, #fff);
    border-radius: 8px;
}

.futex-theme-dashboard .fd-clock-time {
    color: #34445b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .4px;
    font-variant-numeric: tabular-nums;
}

.futex-theme-dashboard .fd-clock-zone {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: #8291a6;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

    /* chhota live dot */
    .futex-theme-dashboard .fd-clock-zone::before {
        content: "";
        width: 5px;
        height: 5px;
        background: var(--fx-ic, #339933);
        border-radius: 50%;
        animation: fd-clock-blink 1.6s ease-in-out infinite;
    }

@keyframes fd-clock-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.futex-theme-dashboard .fd-clock-arrow {
    margin-left: 2px;
    color: #a0aaba;
    font-size: 10px;
    transition: transform .25s ease;
}

.futex-theme-dashboard .fd-clock:hover .fd-clock-arrow,
.futex-theme-dashboard .fd-clock:focus-within .fd-clock-arrow {
    transform: rotate(180deg);
}

/* World clocks: hover pe neeche khulta panel */
.futex-theme-dashboard .fd-clock-world {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1;
    display: flex;
    gap: 6px;
    width: 240px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(20, 40, 70, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.futex-theme-dashboard .fd-clock:hover .fd-clock-world,
.futex-theme-dashboard .fd-clock:focus-within .fd-clock-world {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.futex-theme-dashboard .fd-clock-city {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    background: color-mix(in srgb, var(--fx-ic, #339933) 7%, #fff);
    border-radius: 7px;
}

.futex-theme-dashboard .fd-city-name {
    color: #8291a6;
    font-size: 10.5px;
    font-weight: 600;
}

.futex-theme-dashboard .fd-city-time {
    margin-top: 2px;
    color: #34445b;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .futex-theme-dashboard .fd-clock {
        margin-top: 10px;
    }
}

#BarcharServicesContractStats .highcharts-column-series .highcharts-point {
    clip-path: inset(0 round 12px 12px 0 0);
    transform-box: fill-box;
}
#BarcharServicesContractStats {
    height: 300px;
}

#navigation #brand {
    position: relative;
}

  








