@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap");
@font-face {
    font-family: "remixicon";
    src:
        url("remixicon.woff2") format("woff2"),
        url("remixicon.woff") format("woff"),
        url("remixicon.ttf") format("truetype");
}
:root {
    --app-sidebar-width: 250px;
    --app-header-height: 80px;
    --app-sidebar-end: 80px;
    --bs-btn-primary-hover: #504dbc;
    --bs-btn-primary-border-hover: #4e4bb8;
    --bs-btn-primary-active: #4e4bb8;
    --bs-btn-secondary-hover: #252544;
    --bs-btn-secondary-border-hover: #242442;
    --bs-btn-secondary-active: #242442;
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #ffffff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #5955d1;
    --bs-secondary: #29294b;
    --bs-success: #009966;
    --bs-info: #7008e7;
    --bs-warning: #f5a70d;
    --bs-danger: #f83636;
    --bs-light: #f2f2f6;
    --bs-dark: #0c243c;
    --bs-white: #ffffff;
    --bs-gray: #97a1c0;
    --bs-primary-rgb: 89, 85, 209;
    --bs-secondary-rgb: 41, 41, 75;
    --bs-success-rgb: 0, 153, 102;
    --bs-info-rgb: 112, 8, 231;
    --bs-warning-rgb: 245, 167, 13;
    --bs-danger-rgb: 248, 54, 54;
    --bs-light-rgb: 242, 242, 246;
    --bs-dark-rgb: 12, 36, 60;
    --bs-white-rgb: 255, 255, 255;
    --bs-gray-rgb: 151, 161, 192;
    --bs-primary-text-emphasis: #242254;
    --bs-secondary-text-emphasis: #10101e;
    --bs-success-text-emphasis: #003d29;
    --bs-info-text-emphasis: #2d035c;
    --bs-warning-text-emphasis: #624305;
    --bs-danger-text-emphasis: #631616;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #f5f5fc;
    --bs-secondary-bg-subtle: #f2f2f4;
    --bs-success-bg-subtle: #f0f9f6;
    --bs-info-bg-subtle: #f6f0fe;
    --bs-warning-bg-subtle: #fefaf0;
    --bs-danger-bg-subtle: #fff3f3;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #f5f6f7;
    --bs-primary-border-subtle: #d6d5f4;
    --bs-secondary-border-subtle: #cacad2;
    --bs-success-border-subtle: #bfe6d9;
    --bs-info-border-subtle: #dbc1f9;
    --bs-warning-border-subtle: #fde9c3;
    --bs-danger-border-subtle: #fdcdcd;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-gradient: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0)
    );
    --bs-body-font-family: "Instrument Sans", sans-serif;
    --bs-body-font-size: 0.875rem;
    --bs-body-font-weight: 500;
    --bs-body-line-height: 1.6;
    --bs-body-color: #696981;
    --bs-body-color-rgb: 105, 105, 129;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(105, 105, 129, 0.75);
    --bs-secondary-color-rgb: 105, 105, 129;
    --bs-secondary-bg: #f9f9f9;
    --bs-secondary-bg-rgb: 249, 249, 249;
    --bs-tertiary-color: rgba(105, 105, 129, 0.5);
    --bs-tertiary-color-rgb: 105, 105, 129;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: #0c243c;
    --bs-link-color: #5955d1;
    --bs-link-color-rgb: 89, 85, 209;
    --bs-link-decoration: none;
    --bs-link-hover-color: #4744a7;
    --bs-link-hover-color-rgb: 71, 68, 167;
    --bs-code-color: #d63384;
    --bs-highlight-color: #696981;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #eeeef3;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.1);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.625rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 0.26rem 1.126rem 0 rgba(45, 42, 60, 0.15);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.1rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(89, 85, 209, 0.25);
    --bs-form-valid-color: #009966;
    --bs-form-valid-border-color: #009966;
    --bs-form-invalid-color: #f83636;
    --bs-form-invalid-border-color: #f83636;
}
body {
    margin: 0;
    font-family: "Instrument Sans", sans-serif;
    font-size: var(--bs-body-font-size);
    font-weight: 500;
    line-height: 1.6;
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-btn-primary-hover);
    --bs-btn-hover-border-color: var(--bs-btn-primary-border-hover);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-bg: var(--bs-btn-primary-active);
    --bs-btn-active-border-color: var(--bs-btn-primary-active);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-secondary {
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-btn-secondary-hover);
    --bs-btn-hover-border-color: var(--bs-btn-secondary-border-hover);
    --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);
    --bs-btn-active-bg: var(--bs-btn-secondary-active);
    --bs-btn-active-border-color: var(--bs-btn-secondary-active);
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}

.btn-outline-secondary {
    --bs-btn-color: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-secondary);
    --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    --bs-btn-disabled-color: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600 !important;
    line-height: 1.2;
    color: var(--bs-heading-color) !important;
}
a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
    text-decoration: none !important;
}

/* header */
.app-header {
    position: fixed;
    background-color: #fff;
    z-index: 9;
    height: var(--app-header-height);
    top: 0;
    border-bottom: 1px solid var(--bs-border-color);
    width: 100%;
    display: flex;
    align-items: center;
    transition-duration: 0.3s;
    transition-property: padding;
    padding-left: var(--app-sidebar-width);
}
.app-header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-right: 50px;
}
.app-toggler {
    padding: 0;
    height: 28px;
    width: 28px;
    margin: 24px 10px;
    display: inline-block;
    background: #ffffff;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0px 3px 10px rgba(var(--bs-heading-color), 0.05);
    border-radius: 8px;
}
.app-header-start {
    display: flex;
    align-items: center;
    margin-right: auto;
    gap: 30px;
    align-items: center;
    height: var(--app-header-height);
}
.form-control-fill {
    background-color: var(--bs-light);
}
.badge-standard {
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    font-size: 14px;
    color: var(--bs-heading-color);
    border-radius: 50px;
    padding: 3px 3px 3px 15px;
}
.badge-standard .badge {
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-left: 10px;
    block-size: 34px;
    min-inline-size: 34px;
    line-height: 34px;
    padding: 0px 15px;
}
.app-header-end {
    display: flex;
    align-items: center;
    margin-left: auto;
    height: var(--app-header-height);
}
.btn-icon {
    display: inline-flex;
    font-size: 22px;
    block-size: 40px;
    inline-size: 40px;
    min-inline-size: 40px;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.btn.btn-action-gray {
    color: var(--bs-gray);
}
.btn:not(.dropdown-toggle) {
    transform: scale(1.002);
    transition: all 0.125s ease-in-out;
}
.dropdown-menu {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
}
.w-225px {
    width: 225px !important;
}
.avatar {
    height: 50px;
    width: 50px;
    min-width: 50px;
    border-radius: var(--bs-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}
[class*="avatar-status"]::after {
    content: "";
    height: 12px;
    width: 12px;
    background-color: inherit;
    border-radius: 50%;
    border: 2px solid var(--bs-body-bg);
    position: absolute;
    bottom: 0px;
    right: 1px;
}
.avatar-status-success::after {
    background-color: var(--bs-success);
}
[class*="avatar-status"].avatar-sm::after {
    height: 10px;
    width: 10px;
    right: 0px;
}
.avatar.avatar-sm {
    height: 40px;
    width: 40px;
    min-width: 40px;
    font-size: 20px;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: var(--bs-dropdown-link-color);
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    border-radius: var(--bs-dropdown-item-border-radius, 0);
    font-size: var(--bs-body-font-size);
}
.dropdown-item {
    border-radius: 0.375rem;
}
.scale-1x {
    transform: scale(1.1);
}
/* sidebar */
.app-menubar-tabs {
    width: var(--app-sidebar-width);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: var(--app-sidebar-bg);
    border-right: 1px solid #e5e7eb;
    background-color: #fff;
    z-index: 99;
}

.app-navbar-brand {
    height: var(--app-header-height);
    border-right: 1px solid var(--bs-border-color);
    gap: 15px;
    padding: 15px 25px;
    transition-duration: 0.3s;
    transition-property: width;
    background-color: var(--app-sidebar-bg);
}
.app-navbar-tabs {
    height: calc(100vh - var(--app-header-height));
    max-height: 100%;
    padding: 12px;
}
.app-menubar-tabs .app-navbar-brand {
    padding: 15px;
    z-index: 9;
    position: relative;
}
.app-navbar-tabs {
    padding: 10px 16px 16px;
    height: calc(100% - var(--app-header-height));
    border-right: 1px solid var(--bs-border-color);
    z-index: 9;
    background-color: var(--app-sidebar-bg);
    transition-duration: 0.3s;
    transition-property: width, left;
    box-shadow: 0px 10px 10px rgba(var(--bs-secondary-rgb), 0.05);
}
.app-navbar-tabs .nav.flex-column {
    gap: 2px;
}
.app-navbar-tabs .nav-item .menu-link,
.app-navbar-tabs .nav .nav-item .menu-link,
.app-navbar-tabs .nav-item .menu-link-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0 !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    padding: 8px 12px;
    color: var(--bs-heading-color);
    text-align: left;
    text-decoration: none;
    background: transparent !important;
    box-shadow: none;
    appearance: none;
}
.app-navbar-tabs .nav .nav-item .menu-link i,
.app-navbar-tabs .nav-item .menu-link-logout i {
    font-size: 20px;
    width: 20px;
    flex-shrink: 0;
    line-height: 1;
}
.app-navbar-tabs .nav .nav-item .menu-link:hover,
.app-navbar-tabs .nav-item .menu-link-logout:hover {
    background: #f4f5fb;
    color: var(--bs-primary);
}
.app-navbar-tabs .nav .nav-item .menu-link.active {
    background: #eeedfb !important;
    color: #5955d1 !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #5955d1;
}
.app-navbar-tabs .menu-header {
    list-style: none;
    padding: 14px 12px 4px;
    margin: 6px 0 0;
}
.app-navbar-tabs .menu-header .menu-header-text {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #8b8da6;
}
.app-navbar-tabs .nav-item .menu-link-logout,
.app-navbar-tabs .nav-item .menu-link-logout:hover {
    color: var(--bs-danger);
}
.app-navbar-tabs .nav-item .menu-link-logout:hover {
    background: rgba(248, 54, 54, 0.08);
}

.simplebar-track.simplebar-vertical {
    width: 8px;
    background: transparent;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.app-navbar-tabs:hover .simplebar-track.simplebar-vertical {
    opacity: 1;
}
.simplebar-scrollbar:before {
    background: #cbd5e1;
    border-radius: 10px;
    opacity: 0;
    transition:
        opacity 0.2s ease,
        background 0.2s ease;
}

.simplebar-track.simplebar-vertical
    .simplebar-scrollbar.simplebar-visible:before,
.app-navbar-tabs:hover .simplebar-scrollbar:before {
    opacity: 1;
}

.app-navbar-tabs:hover .simplebar-scrollbar:before {
    background: var(--bs-border-color);
}
.navbar-brand-logo {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.navbar-brand-text {
    font-size: 18px;
    color: var(--bs-heading-color);
    font-weight: 600;
}
/* main wraper */
.app-wrapper {
    margin-left: var(--app-sidebar-width);
    min-height: calc(
        100vh - var(--app-header-height) - var(--footer-height, 50px)
    );
    margin-top: var(--app-header-height);
    transition-duration: 0.3s;
    transition-property: margin-left;
    padding-top: 10px;
    padding-bottom: 30px;
    padding-left: 35px;
    padding-right: 35px;
}
/* sidebar sreenk */
.app-header.mini {
    padding-left: 80px;
}
.app-menubar-tabs.mini {
    width: 80px;
}
.app-wrapper.mini {
    margin-left: 80px;
}
/* ========================= */
/* MINI SIDEBAR BEHAVIOUR */
/* ========================= */

.app-menubar-tabs,
.app-navbar-brand,
.app-navbar-tabs,
.app-wrapper,
.app-header {
    transition: all 0.3s ease-in-out;
}

/* width control already hai, bas safety */
.app-menubar-tabs {
    overflow: hidden;
}

/* ---------- MINI MODE ---------- */

.app-menubar-tabs.mini .menu-link span,
.app-menubar-tabs.mini .menu-header-text,
.app-menubar-tabs.mini .navbar-brand-text {
    display: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.app-menubar-tabs.mini .menu-link {
    justify-content: center;
}

.app-menubar-tabs.mini .menu-link i {
    font-size: 24px; /* icon big */
}

/* brand center */
.app-menubar-tabs.mini .navbar-brand-logo {
    justify-content: center;
}

/* ---------- MINI + HOVER (TEMP FULL) ---------- */

.app-menubar-tabs.hover-expand:hover {
    width: var(--app-sidebar-width);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

/* text wapis show */
.app-menubar-tabs.hover-expand:hover .menu-link span,
.app-menubar-tabs.hover-expand:hover .menu-header-text,
.app-menubar-tabs.hover-expand:hover .navbar-brand-text {
    display: block;
}

/* align normal */
.app-menubar-tabs.hover-expand:hover .menu-link {
    justify-content: flex-start;
}

.app-menubar-tabs.hover-expand:hover .menu-link i {
    font-size: 20px;
}

/* ---------- SMOOTH BRAND AREA ---------- */

.app-navbar-brand {
    transition: all 0.3s ease-in-out;
}

.app-menubar-tabs.hover-expand .app-navbar-brand {
    padding: 15px 10px;
}

.app-menubar-tabs.hover-expand:hover .app-navbar-brand {
    padding: 15px 25px;
}

/* Keep main content and header fixed at mini width during hover expand flyout */
.app-menubar-tabs.mini.hover-expand .navbar-brand-logo {
    justify-content: start;
}
/* main class */
.app-page-head {
    margin-bottom: 24px;
}
.app-page-head .breadcrumb {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.5;
}
.breadcrumb-item.active {
    color: #696981bf;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: var(--bs-breadcrumb-item-padding-x);
}
.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: #696981bf;
    content: var(--bs-breadcrumb-divider, "/")
        /* rtl: var(--bs-breadcrumb-divider, "/") */;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "\ea6e";
    font-family: "remixicon" !important;
    font-size: 13px;
    line-height: 2;
}

.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--bs-nav-link-color);
    background: none;
    border: 0;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}
.table-sm > :not(caption) > * > * {
    padding: 6px 8px;
}
.table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.025);
    width: 100%;
    margin-bottom: 1rem;
    vertical-align: middle;
    border-color: var(--bs-table-border-color);
}
thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
.table-light {
    --bs-table-color: #000;
    --bs-table-bg: #f2f2f6;
    --bs-table-border-color: #dadadd;
    --bs-table-striped-bg: #e6e6ea;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dadadd;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #ececf0;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}
.table-light {
    --bs-table-bg: rgba(var(--bs-light-rgb), 0.6);
}
.table-sm thead th {
    padding-top: 8px;
    padding-bottom: 8px;
}
.table-row-rounded tr th:first-child,
.table-row-rounded tr td:first-child {
    border-top-left-radius: var(--bs-border-radius);
    border-bottom-left-radius: var(--bs-border-radius);
}
.table-sm thead th:first-child {
    padding-left: 20px;
}
.table > tbody {
    vertical-align: inherit;
}
table.table.dataTable > tbody > tr {
    background-color: transparent;
}
.table-sm tbody td:first-child {
    padding-left: 20px;
}
.dt-orderable-none .dt-column-order {
    display: none;
}
table.dataTable thead > tr > th.dt-orderable-asc .dt-column-order::before {
    content: "\f5df" !important;
}
table.dataTable thead > tr > th.dt-orderable-asc .dt-column-order::after {
    content: "\f5d0" !important;
}
table.dataTable thead > tr > th div.dt-column-header {
    justify-content: normal;
    align-items: center;
    gap: 7px;
}
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order::before,
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order::after {
    font-family: remixicon !important;
    opacity: 1;
    color: var(--bs-body-color);
    font-size: 10px;
    position: static;
    font-weight: 500;
    display: inline-flex;
    margin: -2px;
    line-height: 10px;
}

.myTable thead th {
    border-bottom: 0 !important;
}
.myTable tbody td,
.myTable thead th {
    text-align: left !important;
}
.myTable.center tbody td,
.myTable.center thead th {
    text-align: center !important;
}
.dt-container .dt-layout-full {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
table.dataTable th.dt-type-numeric div.dt-column-header,
table.dataTable th.dt-type-numeric div.dt-column-footer,
table.dataTable th.dt-type-date div.dt-column-header,
table.dataTable th.dt-type-date div.dt-column-footer,
table.dataTable td.dt-type-numeric div.dt-column-header,
table.dataTable td.dt-type-numeric div.dt-column-footer,
table.dataTable td.dt-type-date div.dt-column-header,
table.dataTable td.dt-type-date div.dt-column-footer {
    flex-direction: row;
}

.badge-lg {
    font-size: 13px;
    line-height: 1.231;
    block-size: 32px;
    min-inline-size: 32px;
    padding: 8px 12px;
}
label {
    color: #475f7b;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
}
.custom-control-input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}
.custom-switch .custom-control-label {
    height: 20px;
    width: 48px;
    padding: 0;
}
.custom-control-label::before {
    position: absolute;
    top: 0.2rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #ffffff;
    border: #dfe3e7 solid 1px;
}
.custom-switch .custom-control-label::before {
    left: -3.25rem;
    width: 48px;
    pointer-events: all;
    border-radius: 0.8rem;
}
.custom-switch .custom-control-label::before {
    border: none;
    background-color: #e7edf3;
    height: 20px;
    box-shadow: none;
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
    top: 0;
    left: 1px;
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #ffffff;
    border-color: green;
    background-color: green;
}
.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: none !important;
}
.custom-control-label::after {
    position: absolute;
    top: 0.2rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background: no-repeat 50% / 50% 50%;
}
.custom-switch .custom-control-label::after {
    top: calc(0.2rem + 2px);
    left: calc(-3.25rem + 2px);
    width: 18px;
    height: 18px;
    background-color: #dfe3e7;
    border-radius: 0.8rem;
    transition:
        transform 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
.custom-switch .custom-control-label:after {
    position: absolute;
    top: 1px;
    left: 2px;
    box-shadow: none;
    background-color: #ffffff;
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #ffffff;
    transform: translateX(1.75rem);
}

.custom-switch .custom-control-label .switch-icon-left,
.custom-switch .custom-control-label .switch-icon-right {
    position: absolute;
    cursor: pointer;
    user-select: none;
    top: 1px;
    transition: all 0.25s ease;
}
.custom-switch .custom-control-label .switch-icon-left {
    left: 5px;
    color: #ffffff;
    opacity: 0;
}
.custom-switch .custom-control-label .switch-icon-right {
    right: 4px;
}
.custom-switch
    .custom-control-input:checked
    ~ .custom-control-label
    .switch-icon-left {
    opacity: 1;
}
.custom-switch
    .custom-control-input:checked
    ~ .custom-control-label
    .switch-icon-right {
    opacity: 0;
}
.form-group {
    margin-bottom: 1rem;
}
.custom-select {
    background: url("../images/custom_select.svg") no-repeat right 0.8rem
        center/8px 10px;
}
.form-control:focus {
    color: #475f7b !important;
    background-color: #ffffff;
    border-color: var(--bs-primary) !important;
    outline: 0 !important;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1) !important;
}
.form-control::placeholder {
    transition: all 0.3s ease;
}
.form-control:focus::placeholder {
    transform: translateX(6px);
}
.pagination {
    --bs-pagination-padding-x: 10px;
    --bs-pagination-padding-y: 5px;
    --bs-pagination-font-size: 0.9375rem;
    --bs-pagination-color: var(--bs-link-color);
    --bs-pagination-bg: var(--bs-body-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: #fff;
    --bs-pagination-hover-bg: var(--bs-primary);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: #fff;
    --bs-pagination-focus-bg: var(--bs-primary);
    --bs-pagination-focus-box-shadow: none;
    --bs-pagination-active-color: #ffffff;
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
    --bs-pagination-disabled-color: var(--bs-primary-subtle);
    --bs-pagination-disabled-bg: var(--bs-light);
    --bs-pagination-disabled-border-color: var(--bs-light);
    display: flex;
    padding-left: 0;
    list-style: none;
}
.page-link {
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--bs-pagination-color);
    background-color: var(--bs-pagination-bg);
    border: var(--bs-pagination-border-width) solid
        var(--bs-pagination-border-color);
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}
.page-item .page-link {
    border-radius: var(--bs-pagination-border-radius);
}
.page-link.active,
.active > .page-link {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--bs-pagination-active-bg);
    border-color: var(--bs-pagination-active-border-color);
}
.pagination .page-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-block-size: 35px;
    min-inline-size: 35px;
    line-height: 1.2;
    font-weight: 500;
}
.page-item:not(:first-child) .page-link {
    margin-left: 5px;
}
.sidebar-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--bs-heading-color);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.sidebar-close:hover {
    color: var(--bs-danger);
}
.bx-lg {
    font-size: 3rem !important;
}
.bx-md {
    font-size: 1.8rem !important;
}
.fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: #f8f8f9;
}
@media (min-width: 1200px) {
    h2,
    .h2 {
        font-size: 1.3rem;
    }
}
@media (max-width: 1200px) {
    .app-menubar-tabs {
        left: -100%;
        width: 300px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .app-menubar-tabs.open {
        left: 0;
    }

    .app-wrapper,
    .app-header {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    .app-wrapper {
        padding-right: 0px;
    }

    /* dark overlay */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        display: none;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

@media (max-width: 300px) {
    .app-menubar-tabs {
        left: -100%;
        width: 290px;
    }
}

#vinLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ddd;
    border-top: 5px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.email-verify-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(36, 34, 84, 0.45);
    backdrop-filter: blur(8px);
}

.email-verify-card {
    max-width: 480px;
    border: 0;
    border-radius: 1.25rem;
    overflow: hidden;
}

.email-verify-card .card-header {
    background: #fff;
    border-bottom: 1px solid #eeeef5;
    padding: 1.25rem 1.5rem;
}

.email-verify-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-size: 2rem;
}

.email-verify-icon.is-success {
    background: #e8f8ef;
    color: #198754;
}

.email-verify-overlay.is-hidden {
    display: none;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 140px;
    padding: 32px 16px;
    text-align: center;
    color: #8b8da6;
}
.empty-state i {
    font-size: 36px;
    line-height: 1;
    color: #c5c7d4;
}
.empty-state p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #8b8da6;
}
table.dataTable td.dataTables_empty {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 12px !important;
    border-bottom: 0 !important;
}
.chart-empty-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    pointer-events: none;
}
