/* ===== CSS VARIABLES ===== */
:root, [data-bs-theme=light] {
    --primaryColor: #2957a4;
    --secondaryColor: #ffffff;
    --thirdColor: #2957a4;
    --primary: #046499;
    --secondary: #036399;
    --app-blue: #036399;
    --app-orange: #2957a4;
    --app-orange-alt: #2957a4;
    --app-orange-hover: #2957a4;
    --app-dark-blue: #134f79;
    --app-light-blue: #0076b5;
    --app-lighter-blue: #0d8de0;
    --app-border: #e5e7eb;
    --app-muted: #6c757d;
    --app-text: #1f2937;
    --app-bg-light: #f8f9fa;
    --app-bg-card: #fafcff;
    --app-shadow-sm: 0 2px 8px rgba(0,0,0,.05);
    --app-shadow-md: 0 10px 35px rgba(15,23,42,.08);
    --app-radius-sm: 8px;
    --app-radius-md: 10px;
    --app-radius-lg: 14px;
    --app-radius-pill: 30px;
    --app-transition: .2s ease;
    --app-font-sm: 15px;
    --app-font-base: 15px;
}

a {
    color: var(--primary);
}

.main-header {
    border-left: 2px solid white;
    border-top: 2px solid white;
}

.navbar-light, .main-footer {
    background-color: var(--thirdColor);
}
/* ===== LAYOUT ===== */
.content-wrapper > .content {
    padding: 1rem;
    padding-top: 2.1rem
}

.col-lg-3.col-6.percent20 {
    flex: 0 0 20% !important;
    max-width: 20% !important
}

@-webkit-keyframes slide {
    100% {
        top: 15%
    }
}

@keyframes slide {
    100% {
        top: 15%
    }
}

.slider-size {
    height: 344px
}

.carousel-item img {
    width: 100%;
    height: 344px;
    margin: 0 auto
}

@media(max-width:767px) {
    .col-form-label {
        padding-top: 0;
        padding-bottom: 0
    }
}

.sub-menu-bg {
    color: #fff !important;
    background-color: #dc3545 !important
}

label.custom-control-label.adjusttop:before, label.custom-control-label.adjusttop:after {
    top: 8px !important
}

.required {
    color: red;
    margin-left: 2px;
}

.information {
    font-size: var(--app-font-sm);
    color: #666;
    padding: 0;
    margin: 0;
    width: 100%;
    display: block
}

.text-danger-sm {
    font-size: var(--app-font-base);
    color: #dc3545;
    padding: 0;
    margin: 0
}
/* ===== CIRCLE BUTTONS ===== */
.btn-circle.btn-sm {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    line-height: 1.2
}

.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 25px;
    text-align: center;
    line-height: 1.2
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    text-align: center;
    line-height: 1.2
}

.bg-app-primary {
    background-color: var(--app-blue) !important
}

.bg-app-secondary {
    background-color: var(--app-orange) !important
}

ul.navbar-nav a.nav-link {
    color: #fff !important
}
/* ===== VALIDATION ===== */
.valid {
    border-color: #28a745 !important
}

    .valid + div.input-group-append > div.input-group-text {
        border-color: #28a745 !important
    }

.input-validation-error {
    border-color: #dc3545 !important
}

    .input-validation-error + div.input-group-append > div.input-group-text {
        border-color: #dc3545 !important
    }

.sidebar-dark-danger .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-danger .nav-sidebar > .nav-item > .nav-link.active, li.nav-item.has-treeview.menu-open > a {
    background-color: #fff !important;
    color: var(--app-blue) !important
}

.col-form-label {
    padding-bottom: 0 !important;
    padding-top: 0 !important
}

.search input[type="text"].form-control {
    height: calc(1.75rem + 2px)
}

.dropdown-item a {
    cursor: pointer
}

    .dropdown-item a:hover, .dropdown-item a:focus {
        color: #16181b;
        text-decoration: none;
        background-color: #f8f9fa
    }

.input-group > .custom-file:not(:last-child) .custom-file-label::after {
    display: none !important
}
/* ===== TABLE BASE ===== */
.table td.fit, .table th.fit {
    white-space: nowrap;
    width: 1%
}

.table td input, .table td select {
    width: 100%;
    height: calc(2rem + 2px)
}

#clientConfirmationModal, #confirmationModal {
    z-index: 1051 !important
}

body.modal-open {
    overflow: auto
}

    body.modal-open[style] {
        padding-right: 0 !important
    }

.modal::-webkit-scrollbar {
    width: 0 !important
}
/* ===== PRINT ===== */
@media print {
    .verticaltext {
        transform: rotate(-90deg);
        transform-origin: right,top;
        -ms-transform: rotate(-90deg);
        -ms-transform-origin: right,top;
        -webkit-transform: rotate(-90deg);
        -webkit-transform-origin: right,top;
        position: absolute
    }
}
/* ===== ANIMATIONS ===== */
.blink_me {
    animation: blinker 1s linear infinite
}

@keyframes blinker {
    50% {
        opacity: 0
    }
}

.form-control:focus {
    box-shadow: none !important
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes loaderSpin {
    100% {
        transform: rotate(360deg)
    }
}
/* ===== MISC UTILS ===== */
table.vertical-align > tbody > tr > td {
    vertical-align: middle
}

.custom-control-label::before {
    background-color: #fff
}

.custom-control-input:disabled ~ .custom-control-label::before {
    background-color: #dadada
}

.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

ul.pagination {
    justify-content: flex-end !important
}
/* ===== BRAND / NAV ===== */
.brand-link {
    height: 57px
}

    .brand-link > img {
        height: 80%
    }

a.nav-link > img.imgProfileImage {
    width: 40px;
    height: 40px;
    border-radius: 20px
}

.nav-link {
    color: #262626
}

.userImage {
    cursor: pointer;
    position: relative
}

.userImageEdit {
    position: absolute;
    top: 0;
    right: 0
}

.userPartialImage {
    top: 15% !important;
    position: relative !important
}

.userListImage {
    width: 30px;
    height: 30px;
    border-radius: 15px
}
/* ===== FILE BLOCKS ===== */
.file-block {
    border-radius: var(--app-radius-md);
    background-color: rgba(144,163,203,.2);
    margin: 5px;
    color: initial;
    display: inline-flex
}

    .file-block > span.name {
        padding-right: 10px;
        width: max-content;
        display: inline-flex
    }

.file-delete {
    display: flex;
    width: 24px;
    color: initial;
    background-color: #6eb4ff;
    font-size: large;
    justify-content: center;
    margin-right: 3px;
    cursor: pointer
}

    .file-delete:hover {
        background-color: rgba(144,163,203,.2);
        border-radius: var(--app-radius-md)
    }

    .file-delete > span {
        transform: rotate(45deg)
    }
/* ===== LOGOS ===== */
.login-logo > img {
    width: 100%;
    height: auto;
    max-width: 100px;
    padding: 2px
}

.register-logo > img {
    width: auto;
    height: 40px
}

.invoice-logo {
    max-width: 150px
}

a.auth-logo img {
    max-width: 302px
}
/* ===== FIXED DATE ===== */
.fixedDate {
    position: absolute;
    right: 0;
    top: 0;
    background: var(--app-blue);
    z-index: 1;
    padding: 5px;
    border-radius: 5px
}

.fixedDate {
    background: #fff3ee;
    border: 1px solid #ffd2c2
}

    .fixedDate span {
        color: var(--app-blue);
        font-weight: 600
    }

    .fixedDate i {
        color: #0363a4;
        font-size: 16px
    }
/* ===== PIN SIDEBAR ===== */
.pinsidebar {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid
}
/* ===== SIDEBAR ===== */
.sidebar {
    padding-bottom: 50px;
    padding-right: 0
}

a.nav-link.active p {
    color: var(--app-blue) !important;
}

 .main-sidebar {
    background: var(--thirdColor)
}

    .main-sidebar a.brand-link {
        border: none
    }

    .main-sidebar.elevation-1 {
        box-shadow: none !important
    }

.layout-navbar-fixed .wrapper .sidebar-light-danger .brand-link:not([class*=navbar]) {
    background-color: transparent
}

.user-panel {
    border-bottom: 1px solid #e0e0e0
}

    .user-panel .image img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover
    }

    .user-panel .image {
        padding-left: 0
    }

.sidebar .user-panel a {
    text-decoration: none;
    color: white;
}

.user-panel a p {
    font-size: var(--app-font-sm);
    margin: 0;
    line-height: 1.4
}


.sidebar .user-panel {
    background: url(../img/curve-line-2.svg) repeat-x;
    justify-content: left;
    gap: 7px;
    padding: 7px;
    align-items: anchor-center;
    margin: 0 0.2rem 0rem .5rem;
    background-position: bottom;
    border: none;
    z-index: 1;
    background: var(--thirdColor);
    border-radius: 10px 10px;
}

.sidebar-menu > li:hover > a span, .sidebar-menu > li:hover > a::after {
    color: white
}

.page-wrapper.pinned .logo {
    object-fit: cover;
    height: 47px;
    object-position: left;
    transition: .3s
}
/* ===== NAV SIDEBAR ===== */
.nav-sidebar {
    list-style-type: none;
    margin: 1rem 0 0;
    padding: 0
}

    .nav-sidebar > .nav-item {
        position: relative;
        margin: 3px 0
    }

        .nav-sidebar > .nav-item > .nav-link {
            padding: 7px 17px 7px 7px;
            display: flex;
            align-items: center;
            text-decoration: none;
            color: white;
            position: relative;
            z-index: 1; 
            border-radius: 16px
        }

            .nav-sidebar > .nav-item > .nav-link > .nav-icon {
                width: 36px;
                height: 36px;
                background: var(--secondaryColor);
                border-radius: var(--app-radius-md);
                font-size: 1.1rem;
                flex-shrink: 0;
                display: flex;
                align-items: center;
                color: var(--thirdColor);
                justify-content: center;
                margin: 0 .5rem 0 0
            }

            .nav-sidebar > .nav-item > .nav-link > p {
                margin: 0;
                font-size: var(--app-font-sm); 
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: space-between;
                    font-weight:600;
            }

                .nav-sidebar > .nav-item > .nav-link > p > .right {
                    font-size: .6rem;
                    width: 16px;
                    height: 16px;
                    border-radius: 10px;
                    border: 1px solid var(--app-bg-card);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: #ffffff;
                    transition: transform .5s;
                    flex-shrink: 0;
                    top: 16px
                }

.nav-sidebar > .nav-item.menu-open > .nav-link > p > .right {
    transform: rotate(-90deg)
}

.nav-sidebar > .nav-item:hover > .nav-link {
    background: #005d98;
    border-radius: 18px 30px 30px 18px;
    color: #fff;
    z-index: 2
}

    .nav-sidebar > .nav-item:hover > .nav-link > p > .right {
        color: #fff;
        border-color: #fff
    }

.nav-sidebar > .nav-item.menu-open > .nav-link {
    background: var(--app-light-blue);
    border-radius: 18px 30px 30px 18px;
    color: #fff
}

    .nav-sidebar > .nav-item.menu-open > .nav-link .nav-icon, [class*="sidebar-light-"] .nav-sidebar > .nav-item > .nav-link:focus .nav-icon {
        background: var(--app-orange-alt);
        color: #fff
    }

    .nav-sidebar > .nav-item.menu-open > .nav-link > p > .right, .nav-sidebar > a.nav-link.active i, .nav-sidebar > .nav-item > .nav-link.active > p > .right {
        color: #2957a4;
        border-color: #2957a4;
    }

.nav-sidebar > .nav-item > .nav-link.active {
    background: var(--app-orange);
    border-radius: 16px 0 0 16px;
    color: #fff;
    box-shadow: none !important
}

    .nav-sidebar > .nav-item > .nav-link.active .nav-icon {
        background: linear-gradient(90deg,rgba(0,130,196,1) 0%,rgb(3 99 153) 100%);
        color: #fff
    }

.nav-sidebar > .nav-item:has(>.nav-link.active)::before {
    content: "";
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    background-color: var(--thirdColor);
    border-radius: 50px;
    box-shadow: 35px 35px 0 10px #fff;
    pointer-events: none
}

.nav-sidebar > .nav-item:has(>.nav-link.active)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50px;
    width: 50px;
    height: 50px;
    background-color: var(--thirdColor);
    border-radius: 50px;
    box-shadow: 35px -35px 0 10px #fff;
    pointer-events: none
}

.nav-sidebar > .nav-item .disabled {
    cursor: not-allowed;
    opacity: .5
}

[class*=sidebar-light-] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*=sidebar-light-] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: var(--thirdColor)
}

.nav-sidebar > .nav-item:hover > a > i, .navbar-expand .navbar-nav .dropdown-menu i {
    color: var(--app-orange-alt)
}
/* ===== NAV TREEVIEW ===== */
.nav-treeview {
    display: none;
    list-style: none;
    margin: 0;
    padding: 8px 0 8px 5px
}

.nav-sidebar > .nav-item.menu-open > .nav-treeview {
    display: block
}

.nav-treeview > .nav-item > .nav-link {
    padding: 10px 20px 10px 15px;
    margin: 0;
/*    border-left: 1px dashed var(--white);*/
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 60px;
    position: relative;
    z-index: 1;
    font-size: var(--app-font-sm);
    transition: background .2s;
}

    .nav-treeview > .nav-item > .nav-link > p {
        margin: 0;
        font-size: var(--app-font-sm)
    }

    .nav-treeview > .nav-item > .nav-link .nav-icon {
        font-size: 1rem;
        margin-right: 8px;
        flex-shrink: 0
    }

    .nav-treeview > .nav-item > .nav-link:hover {
        background-color: var(--app-light-blue);
        color: #fff;
        box-shadow: inset 3px 0 4px rgba(0,0,0,.05)
    }

    .nav-treeview > .nav-item > .nav-link.active, .nav-treeview > .nav-item > .nav-link.active-sub {
        background: rgba(0,0,0,.1);
        box-shadow: inset 3px 0 4px rgba(0,0,0,.05)
    }

        .nav-treeview > .nav-item > .nav-link.active:hover, .nav-treeview > .nav-item > .nav-link.active-sub:hover {
            background: rgba(0,0,0,.1)
        }

.nav-treeview .nav-treeview {
    padding-left: 20px
}
[class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active, [class*=sidebar-light-] .nav-treeview > .nav-item > .nav-link.active:hover {
    background-color: rgb(255 255 255);
    color: #000000;
}

.nav-treeview > .nav-item > .nav-link.active:hover, .nav-treeview > .nav-item > .nav-link.active-sub:hover {
    background: rgb(1 142 206)
}

/* ===== HEADER / CONTENT ===== */
.app-container {
    padding: 0
}

[class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link {
    color: #ffffff;
}



.nav-sidebar .nav-treeview {
    color: #ffffff;
}

.main-header {
    padding: 5px 1.5rem;
    /*    border-radius: 30px 0 0 0;
    -webkit-border-radius: 30px 0 0 0;
    -moz-border-radius: 30px 0 0 0*/
}

.content-wrapper {
    position: relative;
    height: calc(100vh - 96px);
    border-left: 2px solid #fff !important;
    background-size: 40px 60px
}

.wrapper .content-wrapper {
    overflow-y: auto;
    background-color: #fff
}

.content-wrapper > .content::before {
    /* content: ""; */
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border-radius: 0 0 30px 30px;
    -webkit-border-radius: 0 0 30px 30px;
    -moz-border-radius: 0 0 30px 30px;
    min-height: 160px;
    /*    background-color: var(--primaryColor)*/
}

#barChart {
    width: 100%
}
/* ===== USER MINI ===== */
.user-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #fff3ee;
    border-radius: 20px;
    font-size: var(--app-font-sm);
    color: #ff6a00;
    font-weight: 500;
    justify-content: space-between;
    box-shadow: 0 0 0 4px #d9d9d947
}

    .user-mini span {
        color: var(--app-blue)
    }
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 5px;
    height: 8px
}

::-webkit-scrollbar-track {
    background: var(--app-bg-light);
    border-radius: 10px
}

::-webkit-scrollbar-thumb {
    background: var(--app-blue);
    border-radius: 10px;
    transition: all .3s ease
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--app-orange)
    }

    ::-webkit-scrollbar-thumb:active {
        background: var(--app-blue)
    }
/* ===== TREE ===== */
.tree {
    list-style: none;
    padding: 0;
    margin: 0
}

    .tree > li {
        display: inline-block;
        vertical-align: top;
        margin: 6px 1%
    }

    .tree li {
        background: #fff;
        border-radius: var(--app-radius-md);
        padding: 10px 12px;
        border: 1px solid var(--app-border);
        transition: var(--app-transition);
        position: relative;
        display: block;
        font-size: var(--app-font-base);
        font-weight: 500;
        color: #374151
    }

        .tree li:hover {
            background: #f9fafb;
            border-color: #d1d5db
        }

        .tree li ul {
            margin-top: 8px;
            padding-left: 15px;
            padding-right: 15px
        }

            .tree li ul li {
                margin-top: 6px
            }

        .tree li a {
            color: #6b7280;
            margin-left: 6px;
            transition: var(--app-transition)
        }

            .tree li a:hover {
                color: #f97316
            }

    .tree .indicator {
        margin-right: 6px;
        color: #f97316;
        cursor: pointer
    }

    .tree li > ul {
        width: 100%
    }

div .tree li {
    background: #fff;
    padding: 10px 14px;
    border-radius: var(--app-radius-md);
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    margin-bottom: 10px;
    line-height: 1;
}

div .tree ul li:before {
    top: 1.8em
}

.tree li > i.indicator {
    margin-right: 8px;
    color: var(--app-blue);
    cursor: pointer;
    float: left;
    position: absolute;
    left: -12px;
    top: 16px;
    font-size: 19px
}

.tree li.open > i.indicator {
    transform: rotate(90deg);
    transition: .3s
}

.tree ul {
    transition: all .3s ease
}

.tree .badge {
    background: #ff6b00;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px
}

.tree li a i {
    font-size: 16px;
    padding: 4px;
    border-radius: 6px;
    margin-left: 6px;
    transition: .3s;
    width: 30px;
    height: 30px;
    line-height: 1.3
}

    .tree li a i.fa-edit {
        color: #2196f3
    }

    .tree li a i.fa-plus {
        color: #4caf50
    }

    .tree li a i.fa-trash {
        color: #f44336
    }

    .tree li a i:hover {
        transform: scale(1.2)
    }

.tree li > ul.display-none {
    display: none !important
}

@media(max-width:768px) {
    .tree > li {
        width: 100%;
        margin: 6px 0
    }
}
/* ===== DATATABLES ===== */
.dataTables_wrapper {
    font-family: 'Segoe UI',sans-serif;
    padding: 10px
}

    .dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter {
        margin-bottom: 10px
    }

        .dataTables_wrapper .dataTables_filter input {
            border: 1px solid #ddd;
            border-radius: var(--app-radius-sm);
            padding: 6px 10px;
            outline: none;
            transition: .3s
        }

            .dataTables_wrapper .dataTables_filter input:focus {
                border-color: #4facfe;
                box-shadow: 0 0 6px rgba(79,172,254,.3)
            }

table {
    width: 100%
}

    table.table.dataTable {
        border-collapse: collapse !important;
        width: 100% !important;
        background: #fff;
        box-shadow: 1px 1px 0 0 rgba(0,0,0,.06);
        margin-bottom: 10px
    }

    table.dataTable thead th {
        padding: 5px;
        font-size: var(--app-font-sm);
        text-transform: uppercase;
        letter-spacing: .5px;
        border-bottom: none
    }

    table.dataTable tbody td {
        padding: 3px 6px;
        border-bottom: 1px solid #eee;
        font-size: var(--app-font-base)
    }

td .bg-none {
    background: transparent !important;
    margin-right: 3px;
    padding: 4px 6px;
    text-align: center;
    display: flex;
    width: 32px
}

table.dataTable tbody tr:nth-child(even) {
    background: #f9fbfd
}

table.dataTable tbody tr {
    transition: all .2s ease
}

    table.dataTable tbody tr:hover {
        background: #eef6ff
    }

.dataTables_wrapper .dataTables_paginate {
    margin-top: 10px
}

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        border: none !important;
        background: #f1f3f6 !important;
        color: #333 !important;
        padding: 6px 12px;
        margin: 2px;
        border-radius: var(--app-radius-sm);
        transition: .25s
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #4facfe !important;
            color: #fff !important
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background: linear-gradient(135deg,#4facfe,#00f2fe) !important;
            color: #fff !important
        }

.dataTables_wrapper .dataTables_info {
    font-size: var(--app-font-sm);
    color: #666;
    margin-top: 10px
}

.dataTables_wrapper .dataTables_length select {
    border-radius: var(--app-radius-sm);
    padding: 4px 8px;
    border: 1px solid #ddd;
    outline: none
}

.dataTables_wrapper .dataTables_processing {
    background: #fff;
    border-radius: var(--app-radius-md);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,.1)
}

table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    box-shadow: inset 0 0 0 9999px rgb(55 183 255 / 7%)
}

@media(max-width:768px) {
    table.dataTable thead th, table.dataTable tbody td {
        padding: 10px;
        font-size: 12px
    }
}
/* ===== ACTION COLUMNS ===== */
td.fit {
    white-space: nowrap
}

    td.fit a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        margin-right: 6px;
        border-radius: var(--app-radius-md);
        color: #555;
        text-decoration: none;
        transition: all .25s ease;
        position: relative
    }

        td.fit a i {
            font-size: var(--app-font-base);
            transition: .2s
        }

        td.fit a:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(0,0,0,.12)
        }

        td.fit a[aria-label="Edit"] {
            color: #0d6efd
        }

            td.fit a[aria-label="Edit"]:hover {
                color: #fff
            }

        td.fit a[aria-label="Role"] {
            color: #ff9800
        }

            td.fit a[aria-label="Role"]:hover {
                color: #fff
            }

        td.fit a[title="Email"] {
            color: #28a745
        }

            td.fit a[title="Email"]:hover {
                color: #fff
            }

        td.fit a[aria-label="Privilege Login"] {
            color: #6f42c1
        }

            td.fit a[aria-label="Privilege Login"]:hover {
                color: #fff
            }

@media(max-width:768px) {
    td.fit a {
        width: 30px;
        height: 30px
    }
}
/* ===== CONTENT ROW ===== */
.content > .row {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    margin-top: 10px;
    background: linear-gradient(135deg,#fff7f2,#fff7f2);
    border-radius: var(--app-radius-md);
    border: 1px solid rgba(255,122,24,.08)
}

.row.main-grid, .main-grid .row {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
    align-items: baseline
}

.dt-info {
    font-size: var(--app-font-base);
    font-weight: 600;
    border-radius: 20px
}

.dt-paging {
    display: flex;
    justify-content: flex-end
}

.pagination {
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center
}

.page-item .page-link {
    border: none;
    padding: 7px 14px;
    border-radius: 3px;
    font-size: var(--app-font-base);
    background: transparent;
    color: #495057;
    transition: all .25s ease
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    background: #ffe8d9;
    color: #ff7a18;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,122,24,.2)
}

.page-item.active .page-link {
    color: var(--app-blue)
}

.page-item.disabled .page-link {
    color: #adb5bd;
    cursor: not-allowed;
    opacity: .7
}

.page-link.first, .page-link.last, .page-link.previous, .page-link.next {
    font-size: 16px;
    padding: 6px 10px
}

.page-item .page-link:active {
    transform: scale(.95)
}

@media(max-width:768px) {
    .layout-navbar-fixed .wrapper .main-header {
    }

    .dt-paging {
        justify-content: center
    }
}
/* ===== DT SEARCH ===== */
.dt-search {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 4px 8px;
    border-radius: var(--app-radius-pill);
    border: 1px solid #eee;
    box-shadow: var(--app-shadow-sm)
}

    .dt-search label {
        margin: 0;
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: var(--app-muted);
        margin-right: 6px
    }

    .dt-search input {
        border: none;
        outline: none;
        font-size: var(--app-font-sm);
        padding: 4px 6px;
        min-width: 140px
    }

    .dt-search:focus-within {
        border-color: #ff7a18;
        box-shadow: 0 0 0 3px rgba(255,122,24,.15)
    }
/* ===== DT BUTTONS ===== */
.dt-buttons {
    display: flex;
    gap: 0
}

    .dt-buttons .btn {
        border: none;
        border-radius: var(--app-radius-md);
        padding: 6px 10px;
        display: flex;
        align-items: center;
        margin: 0;
        justify-content: center;
        transition: all .25s ease;
        box-shadow: 0 2px 6px rgba(0,0,0,.05)
    }

.buttons-colvis, .buttons-excel {
    color: #fff
}

.dt-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: .95
}

.dt-buttons i {
    font-size: var(--app-font-base)
}

.dt-buttons > button {
    margin-left: 0 !important
}
/* ===== DT LENGTH ===== */
.dt-length {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 8px 10px;
    border-radius: var(--app-radius-pill);
    border: 1px solid #eee;
    width: auto;
    margin-bottom: 10px
}

    .dt-length select {
        border: none;
        outline: none;
        background: transparent;
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: #495057;
        cursor: pointer;
        padding: 2px 6px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%236c757d' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 4px center;
        padding-right: 18px
    }

    .dt-length label {
        margin: 0;
        font-size: var(--app-font-sm);
        font-weight: 600;
        color: var(--app-muted)
    }

    .dt-length:focus-within {
        border-color: #ff7a18;
        box-shadow: 0 0 0 3px rgba(255,122,24,.15)
    }

    .dt-length:hover {
        border-color: #ffd2b3
    }

div.dt-container div.dt-length select {
    margin-right: 0
}

@media(max-width:768px) {
    .dt-length {
        justify-content: center;
        width: 100%
    }
}
/* ===== FORM GROUP ===== */
.form-group {
    position: relative;
    margin-bottom: 18px
}

    .form-group label {
        margin-bottom: 6px;
        display: inline-block;
        transition: var(--app-transition)
    }

    .form-group .form-select {
        width: 100%;
        padding: 8px 12px;
        font-size: var(--app-font-base);
        font-weight: 300;
        border-radius: 12px;
        border: 1px solid var(--app-border);
        background: #fff;
        color: #495057;
        transition: all .25s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,.04);
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml;utf8,<svg fill='%236c757d' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
        background-repeat: no-repeat;
        background-position: right 10px center;
        padding-right: 35px
    }

        .form-group .form-select:hover {
            border-color: #ffd2b3
        }

        .form-group .form-select:focus {
            border-color: #ff7a18;
            box-shadow: 0 0 0 3px rgba(255,122,24,.15);
            outline: none
        }

    .form-group:focus-within label {
        color: #ff7a18
    }

    .form-group:hover {
        transform: translateY(-1px);
        transition: .2s
    }
/* ===== MODAL ===== */
.modal-content {
    border: none;
    border-radius: var(--app-radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
    overflow: hidden
}

.modal-header {
    background: linear-gradient(135deg,#04649a,var(--app-orange));
    color: #fff;
    border-bottom: none;
    padding: 16px 20px
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .3px;
    color: white
}

.modal-header .btn-close, .modal-header .close {
    filter: brightness(0) invert(1);
    opacity: .9
}

.modal-body {
    background: var(--primaryColor);
    padding: 20px
}

    .modal-body label {
        font-size: 12.5px;
        font-weight: 600;
        color: #04649a;
        margin-bottom: 5px
    }

    .modal-body .form-control {
        border-radius: var(--app-radius-md);
        border: 1px solid #ffd6d6;
        padding: 10px 12px;
        font-size: var(--app-font-base);
        background: #fff;
        transition: all .2s ease
    }

        .modal-body .form-control:focus {
            border-color: var(--app-orange);
            box-shadow: 0 0 0 3px rgba(245,135,51,.2)
        }

    .modal-body i {
        color: var(--app-orange)
    }

    .modal-body input[type="checkbox"]:checked {
        accent-color: var(--app-orange)
    }

.modal-footer {
    border-top: none;
    padding: 16px 20px;
    background: var(--primaryColor);
    border-top: 2px dashed gainsboro;
    justify-content: center
}

    .modal-footer .btn-primary {
        border: none;
        border-radius: var(--app-radius-md);
        padding: 8px 18px;
        font-weight: 500;
        transition: .2s
    }


    .modal-footer .btn-default, .modal-footer .btn-secondary {
        background: #04649a10;
        color: #04649a;
        border: none;
        border-radius: var(--app-radius-md);
        padding: 8px 18px
    }

        .modal-footer .btn-default:hover, .modal-footer .btn-secondary:hover {
            background: #04649a20
        }

.modal-body .text-danger {
    font-size: 11.5px
}

.modal.fade .modal-dialog {
    transform: translateY(25px) scale(.98);
    transition: all .25s ease
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1)
}
/* ===== TD TEXT CENTER ===== */
td.text-center:has(i[data-bs-title="Edit"]) {
    white-space: nowrap
}

td.text-center a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0 3px;
    border-radius: var(--app-radius-sm);
    transition: all .2s ease;
    text-decoration: none
}

    td.text-center a[data-id][data-bs-target]:hover {
        color: #fff
    }

    td.text-center a[style*="pointer-events: none"] {
        pointer-events: none;
        opacity: .4;
        cursor: not-allowed
    }

    td.text-center a:not([data-id]):not([data-pid]):hover {
        background: var(--app-orange);
        color: #fff
    }

td.text-center i {
    font-size: var(--app-font-sm)
}

    td.text-center i.fa {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 28px;
        border-radius: 50%;
        font-size: var(--app-font-base);
        transition: all .2s ease
    }

    td.text-center i.fa-check-circle {
        color: #22c55e
    }

        td.text-center i.fa-check-circle:hover {
            color: var(--app-orange) !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-info-circle {
        color: var(--app-blue)
    }

        td.text-center i.fa-info-circle:hover {
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-exclamation-circle {
        color: #facc15
    }

        td.text-center i.fa-exclamation-circle:hover {
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-times-circle {
        color: #ef4444
    }

        td.text-center i.fa-times-circle:hover {
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-clock {
        background: #03639920;
        color: var(--app-orange)
    }

        td.text-center i.fa-clock:hover {
            background: var(--app-orange);
            color: #fff !important;
            transform: scale(1.1)
        }

    td.text-center i.fa-minus-circle {
        background: #9ca3af20;
        color: #9ca3af
    }

        td.text-center i.fa-minus-circle:hover {
            background: #9ca3af;
            color: #fff !important;
            transform: scale(1.1)
        }

td.text-center a i.fa-eye:hover {
    background: var(--app-blue);
    color: #fff
}

td.text-center a i.fa-download:hover {
    background: #22c55e;
    color: #fff
}

td.text-center a i.fa-copy:hover {
    background: #6366f1;
    color: #fff
}

td.text-center a i.fa-cog:hover {
    background: #6b7280;
    color: #fff
}

td.text-center i.fa:hover {
    transform: scale(1.1)
}

td.text-center a:active {
    transform: scale(.95)
}
/* ===== CARD HEADER ===== */
.card {
    border-radius: .75rem
}

.card-header {
    border-radius: 10px 10px 0 0;
    color: var(--app-blue)
}

    .card-header .card-title {
        margin: 0;
        font-size: 15px;
        font-weight: 600
    }



    .card-header a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 2px;
        line-height: 1;
        margin-left: 6px;
        border-radius: var(--app-radius-sm);
        /* background: #fff; */
        transition: all .2s ease;
        text-decoration: none;
    }

        .card-header a:hover {
        }

    .card-header i {
        font-size: var(--app-font-base)
    }

    .card-header > a:last-of-type {
        margin-right: 0
    }

    .card-header:has(a) {
        color: black !important
    }

    .card-header form {
        margin: 0
    }

        .card-header form .input-group {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: var(--app-radius-md);
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,.08);
            transition: .2s ease
        }

            .card-header form .input-group:hover {
                box-shadow: 0 6px 18px rgba(0,0,0,.12)
            }

        .card-header form .btn, .card-header form .custom-file-label {
            border: none !important
        }

        .card-header form .btn {
            width: 36px;
            height: 34px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            font-size: var(--app-font-sm);
            transition: .2s ease
        }

        .card-header form .input-group-prepend .btn {
            background: var(--app-blue);
            color: #fff
        }

            .card-header form .input-group-prepend .btn:hover {
                background: #03527c
            }

        .card-header form .input-group-append .btn {
            background: var(--app-orange);
            color: #fff
        }

            .card-header form .input-group-append .btn:hover {
                background: var(--app-orange-hover)
            }

        .card-header form .custom-file {
            display: flex;
            align-items: center
        }

        .card-header form .custom-file-input {
            cursor: pointer
        }

        .card-header form .custom-file-label {
            display: flex;
            align-items: center;
            padding: 7px 10px;
            font-size: var(--app-font-sm);
            color: #6b7280;
            height: auto;
            background: #fff
        }

            .card-header form .custom-file-label::after {
                background: #f3f4f6;
                border-left: 1px solid var(--app-border);
                color: #374151
            }
/* ===== BUTTONS ===== */
.btn {
    background-color: transparent;
    border: 1px solid var(--primary) !important;
    /* color: #fff !important; */
    border-radius: 6px
}

    .btn:hover {
        background-color: var(--secondary) !important;
        border-color: var(--secondary) !important;
        color: #fff !important
    }

    .btn:active {
        transform: scale(.97)
    }

    .btn:disabled, button:disabled {
        opacity: .6;
        cursor: not-allowed
    }

.btn-primary, .btn-secondary, .btn-success, .btn-danger, .btn-warning, .btn-info, .btn-light, .btn-dark, .btn-link, [class*="btn-outline"] {
    /* background-color: var(--primary) !important; */
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.btn-sm {
    padding: 6px 14px;
    font-size: var(--app-font-base)
}

.btn-lg {
    padding: 12px 26px;
    font-size: 18px
}

.btn-group .btn {
    border-radius: 15px;
    background: none !important;
    color: var(--app-blue) !important
}

.btn-group {
    gap: 2px
}

.border-primary {
    border-color: #dee2e6 !important
}

span.growth i::before {
    color: var(--app-orange)
}

.btn-primary {
    color: #fff;
    box-shadow: none
}

.fa-plus-square {
    color: var(--app-orange)
}
/* ===== CUSTOM SWITCH ===== */
.custom-switch .custom-control-label::before {
    background: rgba(0,123,255,.25);
    border: none;
    border-radius: 50px;
    transition: all .25s ease
}

.custom-switch .custom-control-label::after {
    background: #fff;
    border: none;
    box-shadow: 0 3px 8px rgba(0,0,0,.3);
    transition: all .25s cubic-bezier(.4,0,.2,1)
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background: linear-gradient(135deg,var(--app-orange),#ff6b00)
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    box-shadow: 0 3px 12px rgba(255,77,0,.6)
}

.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 3px rgba(255,77,0,.25)
}

.custom-switch .custom-control-label:hover::before {
    box-shadow: 0 0 0 5px rgba(255,77,0,.2)
}
/* ===== FORM CONTROL ===== */
.form-control {
    border-radius: var(--app-radius-sm);
    transition: .3s
}

    .form-control:focus {
        border-color: #0797d7;
        box-shadow: 0 0 10px rgba(7,151,215,.3)
    }

.dataTable .form-control {
    border: 1px solid #3e83aa
}

.form-check.form-switch {
    display: flex;
    justify-content: center;
    align-items: center
}

.form-check-input {
    cursor: pointer
}

    .form-check-input:checked {
        background-color: var(--app-blue);
        border-color: var(--app-blue)
    }
/* ===== DATE RANGE PICKER ===== */
.daterangepicker {
    border: none;
    border-radius: var(--app-radius-lg);
    padding: 12px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.15)
}

    .daterangepicker .calendar-table {
        background: transparent;
        border: none
    }

    .daterangepicker td, .daterangepicker th {
        border-radius: var(--app-radius-sm);
        transition: .2s ease
    }

        .daterangepicker td.available:hover {
            background: rgba(255,109,0,.15);
            color: #ff6d00
        }

        .daterangepicker td.off {
            opacity: .4
        }

        .daterangepicker td.active, .daterangepicker td.active:hover {
            background: linear-gradient(135deg,#ff6d00,#ff9442);
            color: #fff;
            box-shadow: 0 4px 12px rgba(255,109,0,.4)
        }

        .daterangepicker td.in-range {
            background: rgba(255,109,0,.12);
            color: #ff6d00
        }

    .daterangepicker .month {
        font-weight: 600;
        color: #333
    }

    .daterangepicker th.available:hover {
        background: rgba(255,109,0,.15);
        color: #ff6d00
    }

    .daterangepicker .drp-buttons {
        border-top: none;
        padding-top: 10px
    }

    .daterangepicker .applyBtn {
        background: linear-gradient(135deg,#ff6d00,#ff9442);
        border: none;
        border-radius: var(--app-radius-sm);
        padding: 5px 14px
    }

    .daterangepicker .cancelBtn {
        border-radius: var(--app-radius-sm);
        padding: 5px 14px
    }

    .daterangepicker .drp-selected {
        font-weight: 500;
        color: #555
    }
/* ===== DASHBOARD CARDS ===== */
.dashboard-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg,#fff,#f7fbff);
    box-shadow: var(--app-shadow-md);
    transition: all .35s ease;
    height: 100%;
    position: relative
}

    .dashboard-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 50px rgba(15,23,42,.14)
    }

    .dashboard-card .card-body {
        position: relative;
        display: flex;
        align-items: center;
        padding: 24px;
        text-decoration: none;
        z-index: 2
    }

    .dashboard-card::before {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(3,99,153,.05);
        top: -120px;
        right: -70px
    }

.card.dashboard-card .icon-box {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--app-blue),var(--app-lighter-blue));
    box-shadow: -3px 3px 0 1px rgba(3,99,153,.25)
}

    .card.dashboard-card .icon-box i {
        font-size: 30px;
        color: var(--app-blue) !important
    }

.incard {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

    .incard > div:first-child {
        display: flex;
        flex-direction: column;
        justify-content: center
    }

.dashboard-card .label {
    margin: 0 0 8px;
    font-size: var(--app-font-base);
    font-weight: 600;
    color: #64748b;
    line-height: 1.2
}

.dashboard-card .value {
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    color: #0f172a;
    text-align: center
}

.dashboard-card .growth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px
}

.dashboard-card .badge-top {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 21px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,var(--app-blue),var(--app-lighter-blue)) !important;
    box-shadow: 0 8px 18px rgba(3,99,153,.25);
    z-index: 3
}

    .dashboard-card .badge-top i {
        color: #fff;
        font-size: 15px
    }

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
    background: aliceblue !important
}

.label {
    font-size: 12px;
    color: var(--app-muted);
    text-transform: uppercase;
    margin-bottom: 2px
}

.value {
    font-weight: 700;
    margin: 0
}

.growth {
    font-size: 12px
}

.badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: .8;
    background-color: #0363993 !important
}

@media(max-width:576px) {
    .dashboard-card .card-body {
        align-items: flex-start
    }

    .incard {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 14px
    }

    .dashboard-card .value {
        font-size: 38px
    }
}
/* ===== REPORT CARDS ===== */
.report-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: .3s;
    background: #fff
}

    .report-card:hover {
        box-shadow: 0 5px 18px rgba(0,0,0,.06);
        transform: translateY(-3px)
    }

    .report-card .icon-box {
        width: 45px;
        height: 45px;
        color: #fff
    }

    .report-card h6 {
        margin: 0;
        font-size: var(--app-font-base)
    }

    .report-card small {
        display: block;
        font-size: 11px;
        color: #999
    }

    .report-card h5 {
        margin: 5px 0;
        font-weight: 700
    }

.main-grid {
    padding: 10px;
    align-content: stretch
}
/* ===== TIMELINE WIDGET ===== */
.timeline-widget {
    position: relative;
    padding-left: 15px
}

.timeline-track {
    position: relative
}

.timeline-widget::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    width: 3px;
    height: 100%;
    background: #e5e7eb;
    border-radius: 10px
}

.tw-item {
    position: relative;
    margin-bottom: 22px
}

.tw-dot {
    position: absolute;
    left: -2px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #999;
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px rgba(0,0,0,.03)
}

.tw-card {
    margin-left: 35px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--app-bg-light);
    transition: all .25s ease
}

    .tw-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08)
    }

    .tw-card h6 {
        margin: 0;
        font-weight: 600;
        font-size: 15px
    }

    .tw-card p {
        margin: 1px 0 0;
        font-size: 11px;
        color: var(--app-muted);
        line-height: 1.2
    }

.success .tw-card {
    color: #1e7e34
}

.success .tw-dot {
    background: #28a745
}

.danger .tw-card {
    color: #842029
}

.danger .tw-dot {
    background: #dc3545
}

.primary .tw-card {
    color: #0d47a1
}

.primary .tw-dot {
    background: #0d6efd
}

.purple .tw-card {
    color: #6f42c1
}

.purple .tw-dot {
    background: #6f42c1
}
/* ===== CUSTOM BOX / NOTICE / EVENTS ===== */
.custom-box {
    border-radius: var(--app-radius-md);
    padding: 10px;
    background: #fff;
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2)
}

.box-title {
    font-weight: 600;
    color: var(--app-blue);
    margin-bottom: 15px
}

.notice-ul {
    list-style: none;
    padding: 0;
    margin: 0
}

    .notice-ul li {
        padding: 15px 10px;
        font-size: var(--app-font-base);
        display: flex;
        align-items: center
    }

ul.notice-ul li + li {
    border-top: 1px dashed #bcbcbc
}

.tag-new {
    background: var(--app-orange);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    text-transform: lowercase
}

.event-item {
    display: flex;
    border: 1px solid #ddd;
    border-radius: var(--app-radius-md);
    margin-bottom: 10px;
    overflow: hidden
}

.event-date {
    width: 90px;
    text-align: center
}

.date-top {
    background: #fff;
    border: 1px solid var(--app-blue);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 5px;
    font-weight: 600
}

    .date-top span {
        font-size: 12px
    }

.date-bottom {
    background: linear-gradient(135deg,var(--app-dark-blue),#0797d7);
    color: #fff;
    padding: 6px;
    font-size: 12px;
    border-radius: 0 0 10px 10px
}

.event-content {
    padding: 5px 16px;
    width: 100%
}

    .event-content h6 {
        margin: 0;
        font-weight: 600
    }

.meta {
    font-size: var(--app-font-sm);
    color: var(--app-blue)
}

    .meta span {
        margin-right: 10px
    }

.event-content p {
    margin: 5px 0 0;
    font-size: var(--app-font-sm)
}

.auto-scroll {
    height: 250px;
    overflow-y: auto
}
/* ===== LOGIN PAGE ===== */
.login-bg {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#00a3ff,#000);
    position: relative;
    overflow: hidden
}

    .login-bg::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: url('../img/mumbg.jpg') center/cover no-repeat;
        opacity: .25;
        z-index: 0
    }

    .login-bg::after {
        content: '';
        position: absolute;
        right: 0;
        bottom: 0;
        width: 460px;
        height: 460px;
        background: linear-gradient(135deg,#00000045,#ff6e008a);
        clip-path: polygon(100% 0,100% 13%,100% 35%,100% 70%,101% 100%,68% 100%,0 100%,22% 93%,93% 93%,94% 13%);
        z-index: 1;
        box-shadow: inset -20px -20px 60px rgba(0,0,0,.2),0 20px 60px rgba(0,0,0,.3)
    }

    .login-bg .bottom-strip {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 10px;
        background: linear-gradient(90deg,var(--app-orange) 22%,var(--app-blue) 22%);
        z-index: 2
    }

        .login-bg .bottom-strip::before {
            position: absolute;
            left: -23px;
            background: var(--app-orange);
            content: '';
            height: 17px;
            width: 34%;
            transform: skewX(-40deg)
        }

.auth-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
    position: relative
}

.login-bg .card {
    border-radius: 10px 7px 108px 10px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    border: none;
    overflow: hidden;
    position: relative;
    animation: fadeUp .8s ease;
    background: #ffffff14;
    backdrop-filter: blur(7px)
}

    .login-bg .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -24px;
        height: 7px;
        width: 75%;
        background: var(--app-orange);
        z-index: 1;
        transform: skewX(-42deg)
    }

.login-logo img {
    margin-top: 16px
}

.login-bg .card-header {
    background: none;
    border: none;
    font-weight: 300;
    font-size: 17px;
    color: #fff;
    padding: 0;
    border-bottom: 1px solid;
    width: auto;
    margin: auto
}

.login-bg .information, .login-bg p {
    color: white
}

.login-card-body {
    padding-bottom: 40px;
    padding-left: 7%;
    padding-right: 15%
}

    .login-card-body a {
        color: #fff;
        line-height: 1;
        text-decoration: underline
    }

    .login-card-body .form-group label {
        color: var(--primary);
        border-left: 2px solid #fff;
        line-height: 1;
        padding-left: 7px
    }

    .login-card-body .form-group {
        margin-bottom: 0
    }

.auth-wrapper .text-danger {
    color: #dc3545 !important;
    padding: 0 6px;
    border-radius: 100px
}

@media(max-width:768px) {
    .login-bg::after {
        width: 260px;
        height: 260px;
        right: -80px;
        bottom: -80px
    }

    .login-bg .card {
        border-radius: 0 0 90px 0 !important
    }

    nav.main-header {
        border-bottom: 2px solid var(--app-orange-alt);
        border-right: 2px solid var(--app-orange-alt)
    }

    .cntrl {
        flex-wrap: wrap;
        display: flex
    }

        .cntrl a {
            margin: 0 !important
        }

    .tree li a i {
        padding: 3px;
        width: 23px;
        height: 23px;
        font-size: 11px
    }

    .tree li {
        font-weight: 400
    }
}
/* ===== ALERTS / BADGES ===== */
.alert {
    background: var(--app-blue)
}

body .badge {
    background-color: var(--app-orange) !important;
    color: white !important
}
/* ===== EMPLOYEE REPORT ===== */
.emp-report thead th {
    background: linear-gradient(45deg,#13547f,#0794d3);
    color: #fff;
    border: 1px solid #0b3c5d;
    padding: 14px;
    font-size: 18px;
    text-align: center;
    letter-spacing: .5px
}

.emp-report td:first-child {
    font-weight: 600
}

.emp-report td {
    border: 1px solid #dbe5ec;
    padding: 13.7px 15px;
    font-size: var(--app-font-base)
}

.emp-report tr:last-child td:last-child {
    border-bottom-right-radius: 26px;
    border: none
}

.emp-report tr:last-child td:first-child {
    border-bottom-left-radius: 26px;
    border-bottom: none;
    border-left: none
}

.mainPage .card .card-body {
    max-height: 380px;
    overflow-y: auto;
    height: 100%;
    min-height: 347px
}
/* ===== COMMON INFO ===== */
div#commonInfo {
    margin-left: auto;
    width: max-content;
    display: flex;
    gap: 11px
}

    div#commonInfo .text-muted {
        color: #0f6191 !important;
        font-size: var(--app-font-sm)
    }

    div#commonInfo > div {
        padding: 4px 12px;
        background: #fff;
        border-radius: var(--app-radius-md);
        display: flex;
        line-height: 1;
        align-items: anchor-center;
        gap: 10px
    }
/* ===== KPI ROWS ===== */
.kpi-row {
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: var(--app-radius-md);
    background: #fafafa;
    transition: all .25s ease
}

    .kpi-row:hover {
        background: #f4f9ff;
        border-color: var(--primary)
    }

    .kpi-row .form-label {
        font-size: var(--app-font-sm);
        font-weight: 600;
        margin-bottom: 4px;
        color: #444
    }

    .kpi-row .form-control {
        font-size: var(--app-font-base);
        border-radius: 6px;
        border: 1px solid #dcdcdc;
        padding: 6px 10px;
        transition: all .2s ease
    }

        .kpi-row .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 .15rem rgba(4,100,153,.15)
        }

.serial-no {
    background: #e9f3f9;
    color: var(--primary);
    font-weight: 700;
    text-align: center;
    pointer-events: none
}

.remove-btn {
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease
}

    .remove-btn:hover {
        background: #dc3545;
        color: #fff;
        border-color: #dc3545
    }

#addGoalBtn {
    border-radius: 6px;
    padding: 6px 12px;
    transition: all .2s ease
}

    #addGoalBtn:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff
    }

#activeKpiCounter {
    font-size: var(--app-font-sm);
    padding: 6px 10px;
    border-radius: 6px
}

.text-danger {
    font-size: 12px
}

@media(max-width:768px) {
    .kpi-row {
        padding: 10px
    }

    .remove-btn {
        width: 34px;
        height: 34px
    }

    #addGoalBtn, #activeKpiCounter {
        width: 100%;
        text-align: center
    }
}
/* ===== GRID TABLE ===== */
.gridtable .row {
    align-items: stretch;
    border-radius: var(--app-radius-lg);
    transition: .3s ease
}

    .gridtable .row > div {
        display: flex;
        flex-direction: column;
        justify-content: flex-start
    }

.gridtable .col-1 {
    flex: 0 0 70px;
    max-width: 70px;
    text-align: center;
    align-items: center
}

.gridtable .col-md-2 {
    flex: 0 0 240px;
    max-width: 240px
}

.gridtable .col-md-9 {
    flex: 1;
    max-width: 100%
}

.gridtable .form-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--app-muted);
    margin-bottom: 8px
}

.gridtable p {
    margin: 0;
    color: var(--app-text)
}

.gridtable hr {
    margin: 0;
    opacity: .08
}

.gridtable .text-justify {
    word-break: break-word
}

.card-body.gridtable {
    padding: 15px 6px
}

.col-lg-1.srnm {
    max-width: 57px
}

.rediobtn {
    max-width: 90px;
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%
}

@media(max-width:991px) {
    .gridtable .row {
        flex-direction: column;
        gap: 14px;
        padding: 18px 0
    }

    .gridtable .col-1, .gridtable .col-md-2, .gridtable .col-md-9 {
        flex: 100%;
        max-width: 100%;
        width: 100%;
        text-align: left;
        align-items: flex-start
    }
}
/* ===== OTHER TABLE ===== */
.othertable {
    --primary: #036399;
    --primary-light: #edf4ff;
    --border: #e3eefb;
    --text: #1f2937;
    --muted: #6b7280;
    --success: #1f9d55;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
}

    .othertable thead th {
        background: var(--app-blue);
        color: #fff;
        font-weight: 600;
        padding: 14px 12px;
        border: none;
        text-align: left;
        vertical-align: middle;
        white-space: nowrap
    }

    .othertable tbody td {
        padding: 14px 12px;
        border-bottom: 1px solid var(--border);
        border-right: 1px solid #eef3f9;
        vertical-align: top;
        background: #fff;
        transition: .2s ease
    }

    .othertable tbody tr:last-child td {
        border-bottom: none
    }

    .othertable tbody td:last-child, .othertable thead th:last-child {
        border-right: none
    }

    .othertable tbody tr:nth-child(even) td {
        background: #fafcff
    }

    .othertable tbody tr:hover td {
        background: var(--primary-light)
    }

    .othertable .text-center {
        text-align: center
    }

    .othertable .kpi-title, .othertable .comp-title {
        font-weight: 700;
        font-size: var(--app-font-base);
        margin-bottom: 6px;
        color: var(--primary)
    }

    .othertable .kpi-desc, .othertable .comp-desc {
        color: var(--muted);
        line-height: 1.6;
        font-size: var(--app-font-sm)
    }

    .othertable .remark-box {
        background: #f8fbff;
        border: 1px solid #e1ebf7;
        border-radius: var(--app-radius-md);
        padding: 10px;
        line-height: 1.5;
        color: #374151;
        min-height: 70px
    }

    .othertable .rating-box, .othertable .marks-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(12,77,162,.08);
        color: var(--primary);
        border-radius: var(--app-radius-pill);
        padding: 6px 14px;
        font-size: var(--app-font-sm);
        margin-bottom: 10px
    }

    .othertable strong {
        color: var(--primary)
    }

    .othertable .text-na {
        color: #9ca3af;
        font-style: italic
    }

    .othertable th {
        font-weight: 600
    }

@media(max-width:991px) {
    .othertable {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 12px
    }

        .othertable tbody td {
            min-width: 180px
        }
}
/* ===== NAV TABS ===== */
.nav-tabs i {
    color: var(--app-blue);
    font-size: 18px;
    transition: all .35s ease
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    border-radius: 25px 25px 0 0
}
/* ===== DATA TABLE #tblDataTable ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 16px
}

#tblDataTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #e8edf5;
    overflow: hidden
}

    #tblDataTable tbody td {
        vertical-align: middle;
        border-color: #eef2f7 !important;
        font-size: var(--app-font-base);
        color: #000;
    }

    #tblDataTable tbody tr.batch-header td {
        background: #f8fbff;
        font-weight: 600;
        border-top: 1px solid #e2e8f0 !important;
        padding: 6px 12px;
        border-bottom: 1px solid #e2e8f0 !important
    }

    #tblDataTable tbody tr.batch-header:hover td {
        background: #eff6ff
    }

    #tblDataTable tbody tr.child-row td {
        background: #fff
    }

        #tblDataTable tbody tr.child-row td:first-child {
            padding-left: 32px !important;
            font-weight: 500
        }

    #tblDataTable tbody tr:last-child td {
        border-bottom: none !important
    }

    #tblDataTable .badge {
        border-radius: var(--app-radius-pill);
        padding: 7px 12px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .3px
    }

    #tblDataTable .bg-success {
        background: rgba(16,185,129,.12) !important;
        color: #059669 !important
    }

    #tblDataTable .bg-danger {
        background: rgba(239,68,68,.12) !important;
        color: #dc2626 !important
    }

    #tblDataTable .text-danger {
        color: var(--app-blue) !important
    }

    #tblDataTable small {
        font-size: 12px;
        color: #64748b !important
    }

    #tblDataTable tbody tr {
        transition: .2s ease
    }

        #tblDataTable tbody tr:hover td {
            background: var(--app-bg-card)
        }

#tblDataTable_wrapper .pagination {
    gap: 6px;
    margin: 12px 0 0;
    justify-content: end
}

th:empty, #tblDataTable thead th:empty {
    display: none
}

.text-success, td .text-dark {
    color: var(--app-blue) !important
}
/* ===== BLOB ===== */
.blob {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 650px;
    border-radius: 100%;
    background-image: linear-gradient(#ffb5b5 10%,#ff6e00);
    filter: blur(250px);
    transition: all 450ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px),-50%);
    z-index: -1
}
/* ===== TABS (>=1520px) ===== */
@media(min-width:1520px) {
    ul#bordered-tabs-content .tab-pane > .card-body {
        display: flex
    }

    div#tabs {
        display: flex
    }

        div#tabs .tab-content {
            width: 100%;
            padding: 0
        }

        div#tabs > .nav-tabs {
            display: flex;
            flex-direction: column;
            box-shadow: 0 0 1px 2px #5858581c;
            position: sticky;
            top: 32px;
            height: auto;
            max-height: fit-content;
            border-radius: 25px
        }

            div#tabs > .nav-tabs > li {
                display: flex;
                align-items: center;
                justify-content: start;
                gap: 2px
            }

    div#tabs {
        gap: 10px
    }

        div#tabs > .nav-tabs > li button {
            width: 100%
        }

    #tabs {
        background: #fff;
        border-radius: 24px;
        padding: 24px;
        box-shadow: 0 12px 40px rgba(15,23,42,.06);
        border: 1px solid #edf1f7
    }

        #tabs .nav-tabs {
            border: 0;
            display: flex;
            flex-direction: column;
            gap: 14px;
            padding: 10px
        }

        #tabs .nav-item {
            width: 100%
        }

        #tabs .nav-link {
            width: 100%;
            border: 0 !important;
            border-radius: 18px;
            color: #1e293b;
            padding: 8px !important;
            display: flex;
            align-items: center;
            gap: 14px;
            transition: all .35s ease;
            position: relative;
            overflow: hidden;
            font-size: var(--app-font-sm)
        }

            #tabs .nav-link i {
                color: var(--app-blue);
                font-size: 18px;
                transition: all .35s ease
            }

            #tabs .nav-link:hover {
                background: #eef4ff;
                transform: translateX(6px);
                color: #2563eb;
                box-shadow: 0 8px 20px rgba(37,99,235,.08)
            }

            #tabs .nav-link.active {
                box-shadow: inset 0 0 12px 1px rgba(37,99,235,.22)
            }
}
/* ===== PAGE LOADER ===== */
#pageLoader {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: .4s;
    background: linear-gradient(90deg,rgb(196 38 0 / 20%) 0%,rgb(3 99 153 / 59%) 100%)
}

    #pageLoader.hide {
        opacity: 0;
        visibility: hidden
    }

    #pageLoader::before {
        content: "";
        width: 50px;
        height: 50px;
        border: 5px solid var(--app-blue);
        border-top-color: var(--app-orange);
        border-radius: 50%;
        animation: loaderSpin .8s linear infinite
    }
/* Custom File Input Styling */
.Attachment {
    padding: 0px;
    color: var(--thirdColor);
}



    .Attachment:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(41, 87, 164, 0.15);
    }
    /* File button */
    .Attachment::file-selector-button {
        color: #036399;
        margin-right: 12px;
        font-weight: 500;
        padding: 10px 20px;
    }

.form-group:focus-within label {
    color: #0086d2;
}



.login-card-body {
    width: 100%;
    margin: auto;
    padding: 10px 20px;
    box-shadow: 0 20px 45px rgba(41,87,164,0.12);
}

    .login-card-body .form-group {
        margin-bottom: 22px;
    }

    .login-card-body .col-form-label {
        font-size: 14px;
        font-weight: 600;
        color: #2957a4;
        margin-bottom: 8px;
    }

    .login-card-body .input-group {
        border-radius: 14px;
        overflow: hidden;
        border: 1px solid #d9e3f3;
        transition: all .3s ease;
        background: #fff;
    }

        .login-card-body .input-group:focus-within {
            border-color: #2957a4;
            box-shadow: 0 0 0 4px rgba(41,87,164,0.12);
        }

    .login-card-body .form-control {
        height: 52px;
        border: none;
        box-shadow: none !important;
        padding: 12px 16px;
        font-size: 15px;
        background: transparent;
    }

        .login-card-body .form-control::placeholder {
            color: #9aa7bd;
        }

    .login-card-body .input-group-text {
        height: 52px;
        border: none;
        background: #2957a4;
        color: #fff;
        padding: 0 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-card-body .custom-control-label {
        font-size: 14px;
        color: #5b6475;
        cursor: pointer;
    }

    .login-card-body #img-captcha {
        height: 52px;
        border-radius: 10px 0 0 10px;
        object-fit: cover;
    }

    .login-card-body #captchaRefresh {
        cursor: pointer;
        transition: .3s ease;
    }

        .login-card-body #captchaRefresh:hover {
            transform: rotate(180deg);
        }

    .login-card-body .btn-primary {
        height: 54px;
        border: none;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: .5px;
        transition: all .3s ease;
        box-shadow: 0 12px 25px rgba(41,87,164,0.25);
    }

        .login-card-body .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 18px 30px rgba(41,87,164,0.32);
        }

    .login-card-body a {
        color: #2957a4;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: .3s ease;
    }

        .login-card-body a:hover {
            color: #1e4382;
            text-decoration: underline;
        }

    .login-card-body .text-danger {
        font-size: 12px;
        margin-top: 6px;
        display: block;
    }

div.dataTables_wrapper div.dataTables_length select {
    min-width: 50px;
    width: 54px;
}

.main-footer a {
    color: #edf6ff;
}




.card-body #SortList {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .card-body #SortList li {
        display: flex;
        align-items: center;
        gap: 10px;
        border: 1px solid #e4e7ec;
        padding: 5px 8px;
        border-radius: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        color: #344054;
        cursor: move;
        transition: all .2s ease;
    }

        .card-body #SortList li:hover {
            background: #f9fafb;
            border-color: #cbd5e1;
        }

    .card-body #SortList .ui-icon {
        /* width: 28px; */
        /* height: 28px; */
        border-radius: 6px;
        /* background: #eef2ff; */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

.card-body .mce-tinymce {
    border-radius: 10px !important;
    overflow: hidden;
    border: 1px solid #d0d5dd !important;
}

.card-body .mce-panel {
    border-color: #d0d5dd !important;
}

.card-body .row {
    margin-bottom: 18px;
}

@media(max-width:768px) {
    .card-body {
        padding: 15px;
    }

        .card-body .nav-tabs {
            flex-wrap: wrap;
        }

            .card-body .nav-tabs .nav-link {
                width: 100%;
                text-align: center;
            }

        .card-body #SortList li {
            font-size: 13px;
            padding: 10px 12px;
        }
}



.loading-overlay {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    font-weight: bolder;
    color: #007bff;
    background-color: #edf6ff24;
    backdrop-filter: blur(3px);
    opacity: .9;
    border-radius: 5px;
    text-align: center;
    display: none;
}

#wifi-loader {
    --background: #62abff;
    --front-color: #036399;
    --front-color-in: #2957a4;
    --back-color: #a8d3ff;
    --text-color: #036399;
    width: 57px;
    height: 57px;
    border-radius: 50px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

    #wifi-loader svg {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        #wifi-loader svg circle {
            position: absolute;
            fill: none;
            stroke-width: 6px;
            stroke-linecap: round;
            stroke-linejoin: round;
            transform: rotate(-100deg);
            transform-origin: center;
        }

            #wifi-loader svg circle.back {
                stroke: var(--back-color);
            }

            #wifi-loader svg circle.front {
                stroke: var(--front-color);
            }

        #wifi-loader svg.circle-outer {
            height: 86px;
            width: 86px;
        }

            #wifi-loader svg.circle-outer circle {
                stroke-dasharray: 62.75 188.25;
            }

                #wifi-loader svg.circle-outer circle.back {
                    animation: circle-outer135 1.8s ease infinite 0.3s;
                }

                #wifi-loader svg.circle-outer circle.front {
                    animation: circle-outer135 1.8s ease infinite 0.15s;
                }

        #wifi-loader svg.circle-middle {
            height: 60px;
            width: 60px;
        }

            #wifi-loader svg.circle-middle circle {
                stroke: var(--front-color-in);
                stroke-dasharray: 42.5 127.5;
            }

                #wifi-loader svg.circle-middle circle.back {
                    animation: circle-middle6123 1.8s ease infinite 0.25s;
                }

                #wifi-loader svg.circle-middle circle.front {
                    animation: circle-middle6123 1.8s ease infinite 0.1s;
                }

        #wifi-loader svg.circle-inner {
            height: 34px;
            width: 34px;
        }

            #wifi-loader svg.circle-inner circle {
                stroke-dasharray: 22 66;
            }

                #wifi-loader svg.circle-inner circle.back {
                    animation: circle-inner162 1.8s ease infinite 0.2s;
                }

                #wifi-loader svg.circle-inner circle.front {
                    animation: circle-inner162 1.8s ease infinite 0.05s;
                }

    #wifi-loader .text {
        position: absolute;
        bottom: -40px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-transform: lowercase;
        font-weight: 500;
        font-size: 14px;
        letter-spacing: 0.2px;
    }

        #wifi-loader .text::before,
        #wifi-loader .text::after {
            content: attr(data-text);
        }

        #wifi-loader .text::before {
            color: var(--text-color);
        }

        #wifi-loader .text::after {
            color: var(--front-color-in);
            animation: text-animation76 3.6s ease infinite;
            position: absolute;
            left: 0;
        }

@keyframes circle-outer135 {
    0% {
        stroke-dashoffset: 25;
    }

    25% {
        stroke-dashoffset: 0;
    }

    65% {
        stroke-dashoffset: 301;
    }

    80% {
        stroke-dashoffset: 276;
    }

    100% {
        stroke-dashoffset: 276;
    }
}

@keyframes circle-middle6123 {
    0% {
        stroke-dashoffset: 17;
    }

    25% {
        stroke-dashoffset: 0;
    }

    65% {
        stroke-dashoffset: 204;
    }

    80% {
        stroke-dashoffset: 187;
    }

    100% {
        stroke-dashoffset: 187;
    }
}

@keyframes circle-inner162 {
    0% {
        stroke-dashoffset: 9;
    }

    25% {
        stroke-dashoffset: 0;
    }

    65% {
        stroke-dashoffset: 106;
    }

    80% {
        stroke-dashoffset: 97;
    }

    100% {
        stroke-dashoffset: 97;
    }
}

@keyframes text-animation76 {
    0% {
        clip-path: inset(0 100% 0 0);
    }

    50% {
        clip-path: inset(0);
    }

    100% {
        clip-path: inset(0 0 0 100%);
    }
}

.main-footer {
    border-left: 2px solid;
}


/* =========================================
   CLEAN ALIGNED PREMIUM NOTYF
========================================= */

.notyf {
    font-family: "Inter",sans-serif;
    z-index: 999999;
}

.notyf__wrapper {
    padding: 16px;
}

/* Toast Box */
.notyf__toast {
    position: relative;
    width: 380px;
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(15,23,42,.04), 0 12px 28px rgba(15,23,42,.06);
    transition: .25s ease;
}

    /* Hover */
    .notyf__toast:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(15,23,42,.06), 0 18px 40px rgba(15,23,42,.08);
    }

/* Content Align */
.notyf__message {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

/* Icon */
.notyf__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
}

/* Success */
.notyf__toast--success {
    border-left: 4px solid #22c55e;
}

    .notyf__toast--success .notyf__icon {
        background: #22c55e;
    }

/* Error */
.notyf__toast--error {
    border-left: 4px solid #ef4444;
}

    .notyf__toast--error .notyf__icon {
        background: #ef4444;
    }

/* Warning */
.notyf__toast--warning {
    border-left: 4px solid #f59e0b;
}

    .notyf__toast--warning .notyf__icon {
        background: #f59e0b;
    }

/* Info */
.notyf__toast--info {
    border-left: 4px solid #3b82f6;
}

    .notyf__toast--info .notyf__icon {
        background: #3b82f6;
    }

/* Text */
.notyf__message span {
    flex: 1;
}

/* Close Button */
.notyf__dismiss-btn {
    opacity: .4;
    transition: .2s ease;
}

    .notyf__dismiss-btn:hover {
        opacity: 1;
        transform: scale(1.05);
    }

/* Progress Line */
.notyf__toast::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(15,23,42,.05);
}

.notyf__toast::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(15,23,42,.14);
    animation: notyfProgress 5s linear forwards;
}

/* Animation */
.notyf__toast {
    animation: notyfShow .28s ease;
}

@keyframes notyfShow {

    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes notyfProgress {

    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
.layout-navbar-fixed .wrapper .main-header
{
    top:0px;

}/* Mobile */
@media(max-width:576px) {

    .notyf__wrapper {
        padding: 10px;
    }

    .notyf__toast {
        width: calc(100vw - 20px);
        border-radius: 14px;
    }

    .notyf__message {
        padding: 15px;
        gap: 12px;
        font-size: 13.5px;
    }

    .notyf__icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 10px;
    }
}

body.layout-navbar-fixed .wrapper .main-header {
    top: 0px;
}




.theme-customizer-btn {
    width: 58px;
    border: none;
    border-radius: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 22px;
    z-index: 1040;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
    transition: .25s ease;
}
.theme-top-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient( 135deg, var(--primary), var(--app-lighter-blue) );
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.theme-section {
    margin-bottom: 34px;
}

.theme-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.theme-badge {
    padding: 5px 12px;
    border-radius: 30px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    font-weight: 700;
}

.theme-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--app-muted);
}

.theme-mode-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.theme-mode {
    width: 100%;
    border: none;
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: .25s ease;
}

    .theme-mode.active {
        background: var(--primaryColor);
        border-color: var(--primary);
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }

.theme-mode-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.theme-mode.active .theme-mode-icon {
    background: var(--primary);
    color: #fff;
}

.theme-mode-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .theme-mode-content span {
        font-size: 15px;
        font-weight: 700;
        color: var(--app-text);
    }

    .theme-mode-content small {
        color: var(--app-muted);
        font-size: 12px;
    }

.theme-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
}

.theme-color {
    border: none;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--app-border);
    padding: 14px;
    transition: .25s ease;
    text-align: left;
}

    .theme-color:hover {
        transform: translateY(-4px);
    }

    .theme-color.active {
        border-color: var(--theme);
        box-shadow: 0 0 0 3px rgba(0,0,0,.03), 0 15px 35px rgba(0,0,0,.08);
    }

.theme-preview {
    width: 100%;
    height: 74px;
    border-radius: 16px;
    background: var(--theme);
    margin-bottom: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .theme-preview span {
        height: 10px;
        border-radius: 30px;
        background: rgba(255,255,255,.55);
    }

        .theme-preview span:nth-child(2) {
            width: 75%;
        }

        .theme-preview span:nth-child(3) {
            width: 45%;
        }

.theme-color label {
    font-size: 14px;
    font-weight: 700;
    color: var(--app-text);
    cursor: pointer;
}

.theme-setting-card {
    background: #fff;
    border: 1px solid var(--app-border);
    border-radius: 22px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    transition: .25s ease;
}

    .theme-setting-card:hover {
        transform: translateY(-2px);
    }

.theme-setting-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.theme-setting-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--primaryColor);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.theme-setting-left h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--app-text);
}

.theme-setting-left small {
    color: var(--app-muted);
    font-size: 12px;
}

.form-check-input {
    width: 42px;
    height: 22px;
    cursor: pointer;
}

.theme-reset-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--app-border);
    font-size: 14px;
    font-weight: 700;
    color: var(--app-text);
    transition: .25s ease;
}

.theme-reset-btn:hover {
background: var(--primary);
color: #fff;
}

:root{

    --primaryColor:#edf6ff;
    --secondaryColor:#ffffff;
    --thirdColor:#2957a4;

    --primary:#046499;
    --secondary:#036399;

    --app-blue:#036399;
    --app-orange:#2957a4;
    --app-orange-alt:#2957a4;
    --app-orange-hover:#2957a4;

    --app-dark-blue:#134f79;
    --app-light-blue:#0076b5;
    --app-lighter-blue:#0d8de0;

}

/* DEFAULT */

.theme-default{

    --primaryColor:#edf6ff;
    --secondaryColor:#ffffff;
    --thirdColor:#2957a4;

    --primary:#046499;
    --secondary:#036399;

    --app-blue:#036399;
    --app-orange:#2957a4;
    --app-orange-alt:#2957a4;
    --app-orange-hover:#2957a4;

    --app-dark-blue:#134f79;
    --app-light-blue:#0076b5;
    --app-lighter-blue:#0d8de0;

}

/* EMERALD */

.theme-emerald{

    --primaryColor:#ecfdf5;
    --secondaryColor:#ffffff;
    --thirdColor:#047857;

    --primary:#059669;
    --secondary:#047857;

    --app-blue:#059669;
    --app-orange:#10b981;
    --app-orange-alt:#10b981;
    --app-orange-hover:#047857;

    --app-dark-blue:#065f46;
    --app-light-blue:#34d399;
    --app-lighter-blue:#6ee7b7;

}

/* VIOLET */

.theme-violet{

    --primaryColor:#f5f3ff;
    --secondaryColor:#ffffff;
    --thirdColor:#6d28d9;

    --primary:#7c3aed;
    --secondary:#6d28d9;

    --app-blue:#7c3aed;
    --app-orange:#8b5cf6;
    --app-orange-alt:#8b5cf6;
    --app-orange-hover:#6d28d9;

    --app-dark-blue:#5b21b6;
    --app-light-blue:#a78bfa;
    --app-lighter-blue:#c4b5fd;

}

/* ORANGE */

.theme-orange{ 
    --primaryColor:#fff7ed;
    --secondaryColor:#ffffff;
    --thirdColor:#c2410c; 
    --primary:#ea580c;
    --secondary:#c2410c; 
    --app-blue:#ea580c;
    --app-orange:#fb923c;
    --app-orange-alt:#fb923c;
    --app-orange-hover:#c2410c; 
    --app-dark-blue:#9a3412;
    --app-light-blue:#fdba74;
    --app-lighter-blue:#fed7aa; 
}

/* ROSE */

.theme-rose{

    --primaryColor:#fff1f2;
    --secondaryColor:#ffffff;
    --thirdColor:#be123c;

    --primary:#e11d48;
    --secondary:#be123c;

    --app-blue:#e11d48;
    --app-orange:#fb7185;
    --app-orange-alt:#fb7185;
    --app-orange-hover:#be123c;

    --app-dark-blue:#9f1239;
    --app-light-blue:#fda4af;
    --app-lighter-blue:#fecdd3;

}

/* SKY */

.theme-sky{

    --primaryColor:#f0f9ff;
    --secondaryColor:#ffffff;
    --thirdColor:#0369a1;

    --primary:#0284c7;
    --secondary:#0369a1;

    --app-blue:#0284c7;
    --app-orange:#38bdf8;
    --app-orange-alt:#38bdf8;
    --app-orange-hover:#0369a1;

    --app-dark-blue:#075985;
    --app-light-blue:#7dd3fc;
    --app-lighter-blue:#bae6fd;

} 

/*dark theme */

/* =========================
   DARK MODE FIXED CSS
========================= */
/* ── 1. TOKEN OVERRIDES ── */
html[data-bs-theme="dark"] {
    color-scheme: dark;
    /* Surface stack */
    --bg-base: #0a0f1a; /* deepest page bg */
    --bg-raised: #0f1626; /* sidebar, header */
    --bg-surface: #141e2e; /* cards, panels */
    --bg-elevated: #1a2638; /* hover state, inputs */
    --bg-overlay: #1f2d40; /* modals, dropdowns */
    --bg-subtle: #243348; /* zebra, muted fills */
    /* Brand */
    --brand-primary: #ffffff;
    --brand-secondary: #60a5fa;
    --brand-muted: #1e3a5f;
    --brand-glow: rgba(56, 189, 248, 0.15);
    /* Text */
    --text-primary: #e8f0fe;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #0a0f1a;
    --text-link: #7dd3fc;
    /* Border */
    --border-default: #1e2d40;
    --border-subtle: #172032;
    --border-strong: #2c3e55;
    --border-focus: #38bdf8;
    /* Semantic */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-danger: #ef4444;
    --color-info: #38bdf8;
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    --shadow-md: 0 4px 16px rgba(0,0,0,.5);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.6);
    /* Map existing app tokens */
    --primaryColor: var(--bg-elevated);
    --secondaryColor: var(--bg-surface);
    --thirdColor: var(--bg-raised);
    --primary: var(--brand-primary);
    --secondary: var(--brand-secondary);
    --app-blue: var(--brand-primary);
    --app-orange: var(--brand-secondary);
    --app-orange-alt: var(--brand-secondary);
    --app-orange-hover: #2563eb;
    --app-dark-blue: var(--bg-base);
    --app-light-blue: #1e3a5f;
    --app-lighter-blue: #2a4a70;
    --app-border: var(--border-default);
    --app-muted: var(--text-muted);
    --app-text: var(--text-primary);
    --app-bg-light: var(--bg-raised);
    --app-bg-card: var(--bg-surface);
    --app-shadow-sm: var(--shadow-sm);
    --app-shadow-md: var(--shadow-md);
}

    /* ── 2. BODY & BASE ── */
    html[data-bs-theme="dark"] body {
        background: var(--bg-base) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] a {
        color: var(--text-link) !important;
    }

        html[data-bs-theme="dark"] a:hover {
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] hr {
        border-color: var(--border-default) !important;
        opacity: 1;
    }

    html[data-bs-theme="dark"] .border,
    html[data-bs-theme="dark"] [class*="border-"] {
        border-color: var(--border-default) !important;
    }

    /* ── 3. LAYOUT WRAPPER ── */
    html[data-bs-theme="dark"] .wrapper {
        background: var(--bg-base) !important;
    }

    html[data-bs-theme="dark"] .content-wrapper {
        background: var(--bg-base) !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .content > .row {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

    /* ── 4. MAIN HEADER ── */
    html[data-bs-theme="dark"] .main-header,
    html[data-bs-theme="dark"] .navbar-light {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-sm) !important;
    }

        html[data-bs-theme="dark"] .main-header .nav-link {
            color: var(--text-secondary) !important;
        }

            html[data-bs-theme="dark"] .main-header .nav-link:hover {
                color: var(--text-primary) !important;
            }

    /* ── 5. MAIN FOOTER ── */
    html[data-bs-theme="dark"] .main-footer {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
        color: var(--text-secondary) !important;
    }

        html[data-bs-theme="dark"] .main-footer a {
            color: var(--text-link) !important;
        }

    /* ── 6. SIDEBAR ── */
    html[data-bs-theme="dark"] .main-sidebar {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .sidebar {
        background: var(--bg-raised) !important;
    }

        html[data-bs-theme="dark"] .sidebar .user-panel {
            background: var(--bg-surface) !important;
            border-color: var(--border-default) !important;
        }

            html[data-bs-theme="dark"] .sidebar .user-panel a {
                color: var(--text-primary) !important;
            }

    html[data-bs-theme="dark"] .user-panel .image img {
        border: 2px solid var(--border-strong) !important;
    }

    /* ── 7. NAV SIDEBAR ── */
    html[data-bs-theme="dark"] .nav-sidebar > .nav-item > .nav-link {
        color: var(--text-secondary) !important;
    }

        html[data-bs-theme="dark"] .nav-sidebar > .nav-item > .nav-link .nav-icon {
            background: var(--bg-elevated) !important;
            color: var(--brand-primary) !important;
            border: 1px solid var(--border-default) !important;
        }

        html[data-bs-theme="dark"] .nav-sidebar > .nav-item > .nav-link > p {
            color: var(--text-secondary) !important;
        }

    html[data-bs-theme="dark"] .nav-sidebar > .nav-item:hover > .nav-link {
        background: var(--bg-elevated) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .nav-sidebar > .nav-item:hover > .nav-link .nav-icon {
            background: var(--brand-muted) !important;
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] .nav-sidebar > .nav-item.menu-open > .nav-link {
        background: var(--bg-elevated) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .nav-sidebar > .nav-item.menu-open > .nav-link .nav-icon {
            background: var(--brand-primary) !important;
            color: var(--bg-base) !important;
        }

    html[data-bs-theme="dark"] .nav-sidebar > .nav-item > .nav-link.active {
        background: var(--brand-primary) !important;
        color: var(--bg-base) !important;
    }

        html[data-bs-theme="dark"] .nav-sidebar > .nav-item > .nav-link.active .nav-icon {
            background: rgba(0,0,0,.2) !important;
            color: var(--bg-base) !important;
        }

    /* Active item decorative corners */
    html[data-bs-theme="dark"] .nav-sidebar > .nav-item:has(>.nav-link.active)::before {
        background-color: var(--bg-raised) !important;
        box-shadow: 35px 35px 0 10px var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .nav-sidebar > .nav-item:has(>.nav-link.active)::after {
        background-color: var(--bg-raised) !important;
        box-shadow: 35px -35px 0 10px var(--brand-primary) !important;
    }

    /* ── 8. NAV TREEVIEW ── */
    html[data-bs-theme="dark"] .nav-treeview > .nav-item > .nav-link {
        color: var(--text-secondary) !important;
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] .nav-treeview > .nav-item > .nav-link .nav-icon {
            color: var(--text-muted) !important;
        }

        html[data-bs-theme="dark"] .nav-treeview > .nav-item > .nav-link:hover {
            background: var(--bg-elevated) !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .nav-treeview > .nav-item > .nav-link.active,
        html[data-bs-theme="dark"] .nav-treeview > .nav-item > .nav-link.active-sub {
            background: var(--bg-overlay) !important;
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] [class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link {
        color: var(--text-secondary) !important;
    }

        html[data-bs-theme="dark"] [class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link.active {
            background: var(--bg-overlay) !important;
            color: var(--brand-primary) !important;
        }

    /* ── 9. CARDS ── */
    html[data-bs-theme="dark"] .card {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-sm) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .card-header {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .card-header .card-title {
            color: var(--text-primary) !important;
        }

    html[data-bs-theme="dark"] .card-body {
        background: var(--bg-surface) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .card-footer {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
        color: var(--text-secondary) !important;
    }

    /* ── 10. DASHBOARD CARDS ── */
    html[data-bs-theme="dark"] .dashboard-card {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-md) !important;
    }

        html[data-bs-theme="dark"] .dashboard-card:hover {
            box-shadow: var(--shadow-lg) !important;
            border-color: var(--border-strong) !important;
        }

        html[data-bs-theme="dark"] .dashboard-card::before {
            background: rgba(56,189,248,.04) !important;
        }

        html[data-bs-theme="dark"] .dashboard-card .label {
            color: var(--text-muted) !important;
        }

        html[data-bs-theme="dark"] .dashboard-card .value {
            color: var(--text-primary) !important;
        }

    html[data-bs-theme="dark"] .card.dashboard-card .icon-box {
        background: linear-gradient(135deg, var(--brand-muted), var(--app-lighter-blue)) !important;
        box-shadow: -3px 3px 0 1px rgba(56,189,248,.2) !important;
    }

        html[data-bs-theme="dark"] .card.dashboard-card .icon-box i {
            color: var(--brand-primary) !important;
        }

    /* ── 11. REPORT CARDS ── */
    html[data-bs-theme="dark"] .report-card {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .report-card:hover {
            box-shadow: var(--shadow-md) !important;
            border-color: var(--border-strong) !important;
        }

        html[data-bs-theme="dark"] .report-card h6,
        html[data-bs-theme="dark"] .report-card h5 {
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .report-card small {
            color: var(--text-muted) !important;
        }

    /* ── 12. FORM CONTROLS ── */
    html[data-bs-theme="dark"] .form-control,
    html[data-bs-theme="dark"] .form-select,
    html[data-bs-theme="dark"] textarea,
    html[data-bs-theme="dark"] select {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .form-control::placeholder,
        html[data-bs-theme="dark"] textarea::placeholder {
            color: var(--text-muted) !important;
            opacity: 1;
        }

        html[data-bs-theme="dark"] .form-control:focus,
        html[data-bs-theme="dark"] .form-select:focus,
        html[data-bs-theme="dark"] textarea:focus {
            background: var(--bg-overlay) !important;
            border-color: var(--border-focus) !important;
            box-shadow: 0 0 0 3px var(--brand-glow) !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .form-control:disabled,
        html[data-bs-theme="dark"] .form-select:disabled {
            background: var(--bg-raised) !important;
            color: var(--text-muted) !important;
            opacity: .6;
        }

    html[data-bs-theme="dark"] label,
    html[data-bs-theme="dark"] .form-label,
    html[data-bs-theme="dark"] .col-form-label {
        color: var(--text-secondary) !important;
    }

    html[data-bs-theme="dark"] .input-group-text {
        background: var(--bg-overlay) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-secondary) !important;
    }

    html[data-bs-theme="dark"] .form-group:focus-within label {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .form-group .form-select {
        background-color: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    /* ── 13. BUTTONS ── */
    html[data-bs-theme="dark"] .btn {
        background: transparent !important;
        border-color: var(--border-strong) !important;
        color: var(--text-secondary) !important;
    }

        html[data-bs-theme="dark"] .btn:hover {
            background: var(--bg-elevated) !important;
            border-color: var(--brand-primary) !important;
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] .btn-primary {
        background: var(--brand-primary) !important;
        border-color: var(--brand-primary) !important;
        color: var(--bg-base) !important;
    }

        html[data-bs-theme="dark"] .btn-primary:hover {
            background: var(--brand-secondary) !important;
            border-color: var(--brand-secondary) !important;
            color: var(--bg-base) !important;
        }

    html[data-bs-theme="dark"] .btn-secondary {
        background: var(--bg-overlay) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-secondary) !important;
    }

    html[data-bs-theme="dark"] .btn-success {
        background: rgba(34,197,94,.15) !important;
        border-color: rgba(34,197,94,.3) !important;
        color: #4ade80 !important;
    }

    html[data-bs-theme="dark"] .btn-danger {
        background: rgba(239,68,68,.15) !important;
        border-color: rgba(239,68,68,.3) !important;
        color: #f87171 !important;
    }

    html[data-bs-theme="dark"] .btn-warning {
        background: rgba(245,158,11,.15) !important;
        border-color: rgba(245,158,11,.3) !important;
        color: #fbbf24 !important;
    }

    html[data-bs-theme="dark"] .btn-info {
        background: rgba(56,189,248,.15) !important;
        border-color: rgba(56,189,248,.3) !important;
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .btn-light {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .btn-dark {
        background: var(--bg-overlay) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .btn-group .btn {
        background: transparent !important;
        border-color: var(--border-strong) !important;
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .btn:disabled,
    html[data-bs-theme="dark"] button:disabled {
        opacity: .4 !important;
        cursor: not-allowed !important;
    }

    /* ── 14. TABLES ── */
    html[data-bs-theme="dark"] table,
    html[data-bs-theme="dark"] .table,
    html[data-bs-theme="dark"] table.table.dataTable {
        background: var(--bg-surface) !important;
        color: var(--text-primary) !important;
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] table.dataTable thead th {
            background: var(--bg-raised) !important;
            color: var(--text-secondary) !important;
            border-color: var(--border-default) !important;
        }

        html[data-bs-theme="dark"] table.dataTable tbody td {
            background: var(--bg-surface) !important;
            border-color: var(--border-subtle) !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] table.dataTable tbody tr:nth-child(even) td {
            background: var(--bg-subtle) !important;
        }

        html[data-bs-theme="dark"] table.dataTable tbody tr:hover td {
            background: var(--bg-elevated) !important;
        }

        html[data-bs-theme="dark"] table.table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) > * {
            box-shadow: inset 0 0 0 9999px rgba(56,189,248,.04) !important;
        }

    /* ── 15. #tblDataTable ── */
    html[data-bs-theme="dark"] #tblDataTable {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] #tblDataTable tbody td {
            background: var(--bg-surface) !important;
            border-color: var(--border-subtle) !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] #tblDataTable tbody tr:hover td {
            background: var(--bg-elevated) !important;
        }

        html[data-bs-theme="dark"] #tblDataTable tbody tr.batch-header td {
            background: var(--bg-raised) !important;
            border-color: var(--border-default) !important;
            color: var(--text-secondary) !important;
        }

        html[data-bs-theme="dark"] #tblDataTable .bg-success {
            background: rgba(34,197,94,.15) !important;
            color: #4ade80 !important;
        }

        html[data-bs-theme="dark"] #tblDataTable .bg-danger {
            background: rgba(239,68,68,.15) !important;
            color: #f87171 !important;
        }

        html[data-bs-theme="dark"] #tblDataTable small {
            color: var(--text-muted) !important;
        }

    /* ── 16. DATATABLES WRAPPER ── */
    html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input,
    html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info {
        color: var(--text-muted) !important;
    }

    html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_processing {
        background: var(--bg-overlay) !important;
        color: var(--text-primary) !important;
        box-shadow: var(--shadow-md) !important;
    }

    html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button {
        background: var(--bg-elevated) !important;
        color: var(--text-secondary) !important;
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: var(--brand-primary) !important;
            color: var(--bg-base) !important;
        }

        html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current {
            background: var(--brand-primary) !important;
            color: var(--bg-base) !important;
        }

    /* ── 17. DT SEARCH / LENGTH / INFO ── */
    html[data-bs-theme="dark"] .dt-search,
    html[data-bs-theme="dark"] .dt-length {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .dt-search input,
        html[data-bs-theme="dark"] .dt-length select {
            background: transparent !important;
            border: none !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .dt-search label,
        html[data-bs-theme="dark"] .dt-length label {
            color: var(--text-muted) !important;
        }

        html[data-bs-theme="dark"] .dt-search:focus-within,
        html[data-bs-theme="dark"] .dt-length:focus-within {
            border-color: var(--border-focus) !important;
            box-shadow: 0 0 0 3px var(--brand-glow) !important;
        }

    html[data-bs-theme="dark"] .dt-info {
        color: var(--text-muted) !important;
    }

    html[data-bs-theme="dark"] .dt-buttons .btn {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-secondary) !important;
    }

    /* ── 18. PAGINATION ── */
    html[data-bs-theme="dark"] .page-link {
        background: transparent !important;
        border-color: var(--border-default) !important;
        color: var(--text-secondary) !important;
    }

    html[data-bs-theme="dark"] .page-item:not(.active):not(.disabled) .page-link:hover {
        background: var(--bg-elevated) !important;
        color: var(--brand-primary) !important;
        box-shadow: none !important;
    }

    html[data-bs-theme="dark"] .page-item.active .page-link {
        background: var(--brand-primary) !important;
        border-color: var(--brand-primary) !important;
        color: var(--bg-base) !important;
    }

    html[data-bs-theme="dark"] .page-item.disabled .page-link {
        background: transparent !important;
        color: var(--text-muted) !important;
    }

    /* ── 19. MODALS ── */
    html[data-bs-theme="dark"] .modal-content {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-lg) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .modal-header {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .modal-title {
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .modal-body {
        background: var(--bg-surface) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .modal-body label {
            color: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] .modal-body .form-control {
            background: var(--bg-elevated) !important;
            border-color: var(--border-strong) !important;
            color: var(--text-primary) !important;
        }

    html[data-bs-theme="dark"] .modal-footer {
        background: var(--bg-raised) !important;
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] .modal-footer .btn-default,
        html[data-bs-theme="dark"] .modal-footer .btn-secondary {
            background: var(--bg-elevated) !important;
            color: var(--brand-primary) !important;
            border-color: var(--border-strong) !important;
        }

    /* ── 20. DROPDOWNS ── */
    html[data-bs-theme="dark"] .dropdown-menu {
        background: var(--bg-overlay) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-md) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .dropdown-item {
        color: var(--text-secondary) !important;
    }

        html[data-bs-theme="dark"] .dropdown-item:hover,
        html[data-bs-theme="dark"] .dropdown-item:focus {
            background: var(--bg-elevated) !important;
            color: var(--text-primary) !important;
        }

    html[data-bs-theme="dark"] .dropdown-divider {
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .dropdown-item a {
        color: var(--text-secondary) !important;
    }

        html[data-bs-theme="dark"] .dropdown-item a:hover {
            color: var(--text-primary) !important;
            background: transparent !important;
        }

    /* ── 21. ALERTS & BADGES ── */
    html[data-bs-theme="dark"] .alert {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] body .badge {
        background-color: var(--brand-primary) !important;
        color: var(--bg-base) !important;
    }

    html[data-bs-theme="dark"] .sub-menu-bg {
        background-color: #991b1b !important;
        color: #fff !important;
    }

    /* ── 22. CUSTOM SWITCH ── */
    html[data-bs-theme="dark"] .custom-switch .custom-control-label::before {
        background: rgba(56,189,248,.2) !important;
    }

    html[data-bs-theme="dark"] .custom-switch .custom-control-input:checked ~ .custom-control-label::before {
        background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)) !important;
    }

    html[data-bs-theme="dark"] .custom-control-label::before {
        background-color: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
    }

    html[data-bs-theme="dark"] .custom-control-input:disabled ~ .custom-control-label::before {
        background-color: var(--bg-raised) !important;
    }

    html[data-bs-theme="dark"] .form-check-input {
        background-color: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
    }

        html[data-bs-theme="dark"] .form-check-input:checked {
            background-color: var(--brand-primary) !important;
            border-color: var(--brand-primary) !important;
        }

    /* ── 23. TREE ── */
    html[data-bs-theme="dark"] .tree li {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .tree li:hover {
            background: var(--bg-elevated) !important;
            border-color: var(--border-strong) !important;
        }

    html[data-bs-theme="dark"] div .tree li {
        background: var(--bg-surface) !important;
        box-shadow: none !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .tree li a {
        color: var(--text-muted) !important;
    }

        html[data-bs-theme="dark"] .tree li a:hover {
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] .tree .indicator {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .tree > li > i.indicator {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .tree .badge {
        background: var(--brand-primary) !important;
        color: var(--bg-base) !important;
    }

    /* ── 24. TIMELINE WIDGET ── */
    html[data-bs-theme="dark"] .timeline-widget::before {
        background: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .tw-card {
        background: var(--bg-elevated) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .tw-card h6 {
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .tw-card p {
            color: var(--text-muted) !important;
        }

    html[data-bs-theme="dark"] .success .tw-card {
        color: #4ade80 !important;
    }

    html[data-bs-theme="dark"] .danger .tw-card {
        color: #f87171 !important;
    }

    html[data-bs-theme="dark"] .primary .tw-card {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .purple .tw-card {
        color: #c084fc !important;
    }

    /* ── 25. CUSTOM BOX / NOTICE / EVENTS ── */
    html[data-bs-theme="dark"] .custom-box {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-sm) !important;
    }

    html[data-bs-theme="dark"] .box-title {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] ul.notice-ul li {
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] ul.notice-ul li + li {
            border-color: var(--border-default) !important;
        }

    html[data-bs-theme="dark"] .event-item {
        background: var(--bg-surface) !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .event-content h6 {
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .event-content p {
        color: var(--text-secondary) !important;
    }

    html[data-bs-theme="dark"] .meta {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .date-top {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .date-bottom {
        background: linear-gradient(135deg, var(--bg-overlay), var(--brand-muted)) !important;
        color: var(--text-primary) !important;
    }

    /* ── 26. KPI ROWS ── */
    html[data-bs-theme="dark"] .kpi-row {
        background: var(--bg-elevated) !important;
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] .kpi-row:hover {
            background: var(--bg-overlay) !important;
            border-color: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] .kpi-row .form-label {
            color: var(--text-secondary) !important;
        }

        html[data-bs-theme="dark"] .kpi-row .form-control {
            background: var(--bg-surface) !important;
            border-color: var(--border-strong) !important;
            color: var(--text-primary) !important;
        }

    html[data-bs-theme="dark"] .serial-no {
        background: var(--bg-raised) !important;
        color: var(--brand-primary) !important;
    }

    /* ── 27. GRID TABLE ── */
    html[data-bs-theme="dark"] .gridtable .row {
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .gridtable .form-label {
        color: var(--text-muted) !important;
    }

    html[data-bs-theme="dark"] .gridtable p {
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .gridtable hr {
        border-color: var(--border-default) !important;
    }

    /* ── 28. OTHER TABLE ── */
    html[data-bs-theme="dark"] .othertable {
        --primary: var(--brand-primary);
        --primary-light: var(--bg-elevated);
        --border: var(--border-default);
        --text: var(--text-primary);
        --muted: var(--text-muted);
    }

        html[data-bs-theme="dark"] .othertable thead th {
            background: var(--bg-raised) !important;
            color: var(--text-primary) !important;
            border-color: var(--border-default) !important;
        }

        html[data-bs-theme="dark"] .othertable tbody td {
            background: var(--bg-surface) !important;
            border-color: var(--border-subtle) !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .othertable tbody tr:nth-child(even) td {
            background: var(--bg-subtle) !important;
        }

        html[data-bs-theme="dark"] .othertable tbody tr:hover td {
            background: var(--bg-elevated) !important;
        }

        html[data-bs-theme="dark"] .othertable .kpi-title,
        html[data-bs-theme="dark"] .othertable .comp-title {
            color: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] .othertable .kpi-desc,
        html[data-bs-theme="dark"] .othertable .comp-desc {
            color: var(--text-muted) !important;
        }

        html[data-bs-theme="dark"] .othertable .remark-box {
            background: var(--bg-elevated) !important;
            border-color: var(--border-strong) !important;
            color: var(--text-primary) !important;
        }

        html[data-bs-theme="dark"] .othertable .rating-box,
        html[data-bs-theme="dark"] .othertable .marks-box {
            background: rgba(56,189,248,.1) !important;
            color: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] .othertable strong {
            color: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] .othertable .text-na {
            color: var(--text-muted) !important;
        }

    /* ── 29. EMP REPORT TABLE ── */
    html[data-bs-theme="dark"] .emp-report thead th {
        background: linear-gradient(45deg, var(--bg-raised), var(--bg-overlay)) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .emp-report td {
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

    /* ── 30. NAV TABS ── */
    html[data-bs-theme="dark"] .nav-tabs {
        border-color: var(--border-default) !important;
    }

        html[data-bs-theme="dark"] .nav-tabs .nav-link {
            color: var(--text-secondary) !important;
            border-color: transparent !important;
        }

            html[data-bs-theme="dark"] .nav-tabs .nav-link:hover {
                border-color: var(--border-default) !important;
                color: var(--text-primary) !important;
            }

            html[data-bs-theme="dark"] .nav-tabs .nav-link.active,
            html[data-bs-theme="dark"] .nav-tabs .nav-item.show .nav-link {
                background: var(--bg-surface) !important;
                border-color: var(--border-default) var(--border-default) transparent !important;
                color: var(--brand-primary) !important;
            }

        html[data-bs-theme="dark"] .nav-tabs i {
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] .tab-content {
        background: var(--bg-surface) !important;
        color: var(--text-primary) !important;
    }

    /* ── 31. DATERANGEPICKER ── */
    html[data-bs-theme="dark"] .daterangepicker {
        background: var(--bg-overlay) !important;
        border-color: var(--border-default) !important;
        box-shadow: var(--shadow-lg) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .daterangepicker .calendar-table {
            background: transparent !important;
        }

        html[data-bs-theme="dark"] .daterangepicker td,
        html[data-bs-theme="dark"] .daterangepicker th {
            color: var(--text-primary) !important;
        }

            html[data-bs-theme="dark"] .daterangepicker td.off {
                color: var(--text-muted) !important;
                opacity: .4;
            }

            html[data-bs-theme="dark"] .daterangepicker td.available:hover,
            html[data-bs-theme="dark"] .daterangepicker th.available:hover {
                background: var(--bg-elevated) !important;
                color: var(--brand-primary) !important;
            }

            html[data-bs-theme="dark"] .daterangepicker td.in-range {
                background: rgba(56,189,248,.12) !important;
                color: var(--brand-primary) !important;
            }

            html[data-bs-theme="dark"] .daterangepicker td.active,
            html[data-bs-theme="dark"] .daterangepicker td.active:hover {
                background: var(--brand-primary) !important;
                color: var(--bg-base) !important;
            }

        html[data-bs-theme="dark"] .daterangepicker .drp-buttons {
            border-color: var(--border-default) !important;
        }

        html[data-bs-theme="dark"] .daterangepicker .cancelBtn {
            background: var(--bg-elevated) !important;
            color: var(--text-secondary) !important;
            border-color: var(--border-strong) !important;
        }

        html[data-bs-theme="dark"] .daterangepicker .month,
        html[data-bs-theme="dark"] .daterangepicker .drp-selected {
            color: var(--text-primary) !important;
        }

    /* ── 32. USER MINI / COMMON INFO ── */
    html[data-bs-theme="dark"] .user-mini {
        background: var(--bg-elevated) !important;
        color: var(--brand-primary) !important;
        box-shadow: 0 0 0 4px rgba(56,189,248,.06) !important;
    }

        html[data-bs-theme="dark"] .user-mini span {
            color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] div#commonInfo > div {
        background: var(--bg-elevated) !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] div#commonInfo .text-muted {
        color: var(--text-muted) !important;
    }

    /* ── 33. FILE BLOCKS ── */
    html[data-bs-theme="dark"] .file-block {
        background: rgba(56,189,248,.1) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .file-delete {
        background: var(--bg-overlay) !important;
        color: var(--brand-primary) !important;
    }

        html[data-bs-theme="dark"] .file-delete:hover {
            background: var(--bg-elevated) !important;
        }

    /* ── 34. FIXED DATE ── */
    html[data-bs-theme="dark"] .fixedDate {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
    }

        html[data-bs-theme="dark"] .fixedDate span {
            color: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] .fixedDate i {
            color: var(--brand-primary) !important;
        }

    /* ── 35. SORT LIST ── */
    html[data-bs-theme="dark"] .card-body #SortList li {
        background: var(--bg-elevated) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .card-body #SortList li:hover {
            background: var(--bg-overlay) !important;
            border-color: var(--border-strong) !important;
        }

    /* ── 36. PAGE LOADER ── */
    html[data-bs-theme="dark"] #pageLoader {
        background: linear-gradient(90deg, rgba(56,189,248,.15) 0%, rgba(3,99,153,.5) 100%) !important;
    }

    /* ── 37. LOADING OVERLAY ── */
    html[data-bs-theme="dark"] .loading-overlay {
        background: rgba(10,15,26,.6) !important;
    }

    /* ── 38. WIFI LOADER ── */
    html[data-bs-theme="dark"] #wifi-loader {
        --background: var(--bg-elevated);
        --front-color: var(--brand-primary);
        --front-color-in: var(--brand-secondary);
        --back-color: var(--bg-overlay);
        --text-color: var(--brand-primary);
    }

    /* ── 39. NOTYF TOAST ── */
    html[data-bs-theme="dark"] .notyf__toast {
        background: var(--bg-overlay) !important;
        border-color: var(--border-strong) !important;
        box-shadow: var(--shadow-md) !important;
    }

    html[data-bs-theme="dark"] .notyf__message {
        color: var(--text-primary) !important;
    }

    /* ── 40. SCROLLBAR ── */
    html[data-bs-theme="dark"] ::-webkit-scrollbar-track {
        background: var(--bg-raised) !important;
    }

    html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
        background: var(--border-strong) !important;
    }

        html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:hover {
            background: var(--brand-primary) !important;
        }

        html[data-bs-theme="dark"] ::-webkit-scrollbar-thumb:active {
            background: var(--brand-secondary) !important;
        }

    /* ── 41. UTILITY OVERRIDES ── */
    html[data-bs-theme="dark"] .bg-white {
        background: var(--bg-surface) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .bg-light,
    html[data-bs-theme="dark"] .bg-app-primary {
        background: var(--bg-raised) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .text-dark {
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .text-muted {
        color: var(--text-muted) !important;
    }

    html[data-bs-theme="dark"] .text-success {
        color: #4ade80 !important;
    }

    html[data-bs-theme="dark"] .text-danger {
        color: #f87171 !important;
    }

    html[data-bs-theme="dark"] .text-warning {
        color: #fbbf24 !important;
    }

    html[data-bs-theme="dark"] .text-info {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] td .text-dark {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .text-success,
    html[data-bs-theme="dark"] td .text-dark {
        color: var(--brand-primary) !important;
    }

    /* ── 42. SELECT2 (if used) ── */
    html[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
    html[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: var(--text-primary) !important;
        }

    html[data-bs-theme="dark"] .select2-dropdown {
        background: var(--bg-overlay) !important;
        border-color: var(--border-default) !important;
    }

    html[data-bs-theme="dark"] .select2-container--default .select2-results__option {
        color: var(--text-secondary) !important;
    }

    html[data-bs-theme="dark"] .select2-container--default .select2-results__option--highlighted {
        background: var(--bg-elevated) !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    /* ── 43. THEME CUSTOMIZER ── */
    html[data-bs-theme="dark"] .theme-customizer-btn {
        background: var(--bg-overlay) !important;
        border-color: var(--border-strong) !important;
        box-shadow: var(--shadow-md) !important;
    }

    html[data-bs-theme="dark"] .theme-top-icon {
        background: linear-gradient(135deg, var(--bg-elevated), var(--bg-overlay)) !important;
    }

    html[data-bs-theme="dark"] .theme-mode,
    html[data-bs-theme="dark"] .theme-color,
    html[data-bs-theme="dark"] .theme-setting-card {
        background: var(--bg-elevated) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .theme-mode.active {
            background: var(--bg-overlay) !important;
            border-color: var(--brand-primary) !important;
        }

    html[data-bs-theme="dark"] .theme-mode-icon,
    html[data-bs-theme="dark"] .theme-setting-icon {
        background: var(--bg-raised) !important;
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .theme-mode-content span,
    html[data-bs-theme="dark"] .theme-setting-left h6,
    html[data-bs-theme="dark"] .theme-color label {
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .theme-mode-content small,
    html[data-bs-theme="dark"] .theme-setting-left small {
        color: var(--text-muted) !important;
    }

    html[data-bs-theme="dark"] .theme-reset-btn {
        background: var(--bg-elevated) !important;
        border-color: var(--border-default) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .theme-reset-btn:hover {
            background: var(--brand-primary) !important;
            color: var(--bg-base) !important;
        }

    html[data-bs-theme="dark"] .theme-badge {
        background: rgba(34,197,94,.15) !important;
        color: #4ade80 !important;
    }

    /* ── 44. TD ACTION COLUMNS ── */
    html[data-bs-theme="dark"] td.fit a {
        color: var(--text-muted) !important;
    }

        html[data-bs-theme="dark"] td.fit a:hover {
            box-shadow: var(--shadow-sm) !important;
        }

    html[data-bs-theme="dark"] td.text-center a {
        color: var(--text-muted) !important;
    }

        html[data-bs-theme="dark"] td.text-center a:not([data-id]):not([data-pid]):hover {
            background: var(--brand-primary) !important;
            color: var(--bg-base) !important;
        }

    html[data-bs-theme="dark"] td.text-center i.fa-check-circle {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] td.text-center i.fa-times-circle {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] td.text-center i.fa-exclamation-circle {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] td.text-center i.fa-info-circle {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] td.text-center i.fa-clock {
        background: rgba(56,189,248,.1) !important;
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] td.text-center i.fa-minus-circle {
        background: rgba(100,116,139,.1) !important;
        color: #64748b !important;
    }

    /* ── 45. INLINE SEARCH ── */
    html[data-bs-theme="dark"] .search input[type="text"].form-control {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

    /* ── 46. MISC HELPERS ── */
    html[data-bs-theme="dark"] .information {
        color: var(--text-muted) !important;
    }

    html[data-bs-theme="dark"] .text-danger-sm {
        color: #f87171 !important;
    }

    html[data-bs-theme="dark"] .mainPage .card .card-body {
        background: var(--bg-surface) !important;
    }

    html[data-bs-theme="dark"] .icon-box {
        background: var(--bg-elevated) !important;
    }

    html[data-bs-theme="dark"] .tag-new {
        background: var(--brand-primary) !important;
        color: var(--bg-base) !important;
    }

    html[data-bs-theme="dark"] .btn-circle.btn-sm,
    html[data-bs-theme="dark"] .btn-circle.btn-md,
    html[data-bs-theme="dark"] .btn-circle.btn-xl {
        border-color: var(--border-strong) !important;
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .pinsidebar {
        border-color: var(--border-strong) !important;
        color: var(--text-secondary) !important;
    }

    /* ── 47. CARD HEADER SEARCH / UPLOAD ── */
    html[data-bs-theme="dark"] .card-header form .input-group {
        background: var(--bg-elevated) !important;
        box-shadow: var(--shadow-sm) !important;
    }

    html[data-bs-theme="dark"] .card-header form .custom-file-label {
        background: var(--bg-elevated) !important;
        color: var(--text-muted) !important;
    }

        html[data-bs-theme="dark"] .card-header form .custom-file-label::after {
            background: var(--bg-overlay) !important;
            border-color: var(--border-strong) !important;
            color: var(--text-secondary) !important;
        }

    /* ── 48. INPUT GROUP ── */
    html[data-bs-theme="dark"] .login-card-body .input-group {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
    }

        html[data-bs-theme="dark"] .login-card-body .input-group:focus-within {
            border-color: var(--brand-primary) !important;
            box-shadow: 0 0 0 4px var(--brand-glow) !important;
        }

    html[data-bs-theme="dark"] .login-card-body .input-group-text {
        background: var(--bg-overlay) !important;
        color: var(--brand-primary) !important;
        border: none !important;
    }

    html[data-bs-theme="dark"] .login-card-body .form-control {
        background: transparent !important;
        color: var(--text-primary) !important;
    }

    html[data-bs-theme="dark"] .login-card-body .col-form-label {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] .login-card-body a {
        color: var(--brand-primary) !important;
    }

    /* ── 49. ATTACHMENT INPUT ── */
    html[data-bs-theme="dark"] .Attachment {
        background: var(--bg-elevated) !important;
        border-color: var(--border-strong) !important;
        color: var(--text-primary) !important;
    }

        html[data-bs-theme="dark"] .Attachment::file-selector-button {
            background: var(--bg-overlay) !important;
            color: var(--brand-primary) !important;
            border-color: var(--border-strong) !important;
        }

    /* ── 50. ACTIVE SIDEBAR NAV LINK TEXT ── */
    html[data-bs-theme="dark"] a.nav-link.active p {
        color: var(--brand-primary) !important;
    }

    html[data-bs-theme="dark"] ul.navbar-nav a.nav-link {
        color: var(--text-secondary) !important;
    }