/* =========================================
   Root Variables
========================================= */
:root {
    --primary: #222256;
    --secondary: #B3EC24;
    --white: #F5F6FC;
    --dark: #14141A;
}

/* =========================================
   Primary
========================================= */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/* =========================================
   Secondary
========================================= */
.text-secondary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

/* =========================================
   Ice White
========================================= */
.text-white {
    color: var(--white) !important;
}

.bg-white {
    background-color: var(--white) !important;
}

/* =========================================
   Dark
========================================= */
.text-dark {
    color: var(--dark) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

[data-bs-theme=dark] body .top-header .navbar .btn-toggle a {
    color: var(--dark) !important;
    /* background-color: var(--dark) !important;
    border-radius: 0% !important; */
}

[data-bs-theme=dark] body .top-header .navbar .btn-toggle a:hover,
[data-bs-theme=dark] body .top-header .navbar .btn-toggle a:focus {
    /* color: var(--dark) !important; */
    background-color: var(--white) !important;
    border-radius: 0% !important;
}

.sidebar-header {
    height: auto !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.logo-img {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar-wrapper .sidebar-nav {
    margin-top: 0px !important;
}

.breadcrumb-title {
    border: none !important;
    outline: none !important;
}

.col-12.col-xl-5.col-xxl-4.auth-cover-right.align-items-center.justify-content-center {
    background-color: #212529 !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select {
    border: 1px solid #aaa !important;
    border-radius: 3px !important;
    padding: 4px 8px !important;
    background-color: #fff !important;
    color: #000 !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_processing,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate {
    color: #ffffff !important;
}


html[data-bs-theme="dark"] .dataTables_wrapper table thead tr th {
    /* background-color: #B3EC24 !important; */
    background-color: var(--secondary) !important;
    color: #000 !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper table tbody tr td {
    /* background: linear-gradient(to right,
            var(--white) 39%,
            var(--white) 100%) !important; */
    background-color: var(--primary) !important;
    border-color: var(--white) !important;
    /* color: #000 !important; */
    color: var(--white) !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button {
    box-sizing: border-box !important;
    display: inline-block !important;
    min-width: 1.5em !important;
    padding: .5em 1em !important;
    margin-left: 2px !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    color: #ffffff !important;
    border: 2px solid white !important;
    border-radius: 2px !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .current {
    box-sizing: border-box !important;
    display: inline-block !important;
    min-width: 1.5em !important;
    padding: .5em 1em !important;
    margin-left: 2px !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    color: #000 !important;
    border: 2px solid white !important;
    border-radius: 2px !important;
    background-color: #fff !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input:active,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input:focus {
    border: 1px solid #aaa !important;
    border-radius: 3px !important;
    padding: 4px 8px !important;
    background-color: #fff !important;
    color: #000 !important;
}

html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
html[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    cursor: default;
    color: #ffffff !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none;
}

/* Select2 */
html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection--single {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem !important;
    background-image: url("../img/select2/arrow-down.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    width: 100% !important;
    min-height: calc(1.5em + 0.75rem + 2px) !important;
    padding: 0.375rem 0.75rem !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #ffffff !important;
    background-color: #212529 !important;
    border: 1px solid #495057 !important;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
}

html[data-bs-theme="dark"] .select2-results__option[aria-selected="true"] {
    color: #fff !important;
    background-color: #0d6efd !important;
}

html[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.35em 0.65em;
    margin-right: 0.375rem;
    margin-bottom: 0.375rem;
    font-size: 1rem;
    color: #ffffff;
    cursor: auto;
    border-radius: 0.25rem;
    background-color: #0d6efd;
}

html[data-bs-theme="dark"] .select2-selection__choice__remove {
    background-image: url("../img/select2/cross-symbol.svg") !important;
}

html[data-bs-theme="dark"] body {
    background: var(--white) !important;
    font-family: sans-serif !important;
}

/* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; */
html[data-bs-theme="dark"] .card {
    width: 100% !important;
    border-radius: 15px !important;
    padding: 1.3rem !important;


    /* --primary: #222256;
    --secondary: #B3EC24;
    --white: #F5F6FC;
    --dark: #14141A; */
    /* background: var(--primary) !important; */
    /* background: linear-gradient(to bottom right,
            #222256 0%,
            #2c2c66 50%,
            #383889 100%) !important; */
    background: linear-gradient(to bottom right,
            #303061 0%,
            #4f3d80 40%,
            #393974 100%) !important;

    /* background: linear-gradient(to bottom right,
            #222256 0%,
            #3a3a78 60%) !important; */

    /* background: linear-gradient(to bottom right,
            #222256 0%,
            #2a2a5e 100%) !important; */


    /* background: linear-gradient(to top right, #272626 0%, #9693933a 50%, #c5bfbf4f 100%) !important; */
    margin-bottom: 1.2rem !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075) !important;
    border: 0 !important;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2) !important;
}


html[data-bs-theme="dark"] .table-container {
    width: 100% !important;
    border-radius: 20px !important;
    padding: 2rem !important;
    background: linear-gradient(to top right, #1c1c1c 0%, #9693933a 50%, #96939357 100%) !important;
    min-height: 500px !important;
    margin: 0px auto !important;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2) !important;
}

[data-bs-theme=dark] .table-condensed {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
    color: #000000 !important;
}

[data-bs-theme=dark] .daterangepicker .drp-buttons {
    clear: both;
    text-align: right;
    padding: 8px;
    border-top: 1px solid #ddd;
    line-height: 12px;
    vertical-align: middle;
    color: #000;
}

[data-bs-theme=dark] .daterangepicker .drp-buttons .cancelBtn {
    color: #fff !important;
    background-color: rgb(143, 113, 99) !important;
}

[data-bs-theme=dark] body .top-header .navbar {
    background-color: var(--white) !important;
    color: #000 !important;
}

[data-bs-theme=dark] body .sidebar-wrapper {
    /* background: linear-gradient(to top right,
            #1a1a40 0%,
            #222256 50%,
            #2e2e80 100%) !important; */
    background-color: var(--primary) !important;
    /* background: linear-gradient(to top right,
            #1d1d3d 0%,
            #222256 60%,
            #3c3c7a 100%) !important; */

    /* background: linear-gradient(to top right, #1c1c1c 0%, #252323 50%, #3b3b3b 100%) !important; */
    /* border-radius: 20px !important; */
    /* margin-top: 10px !important; */
    border: 0px !important;
    outline: none !important;
}

[data-bs-theme=dark] body .sidebar-wrapper .sidebar-header {
    background-color: #00000000 !important;
    border: 0px !important;
    outline: none !important
}

[data-bs-theme=dark] body .sidebar-wrapper .sidebar-nav {
    background-color: #00000000 !important;
}

[data-bs-theme=dark] body .page-footer {
    background: linear-gradient(to top right, #1c1c1c 0%, #252323 50%, #3b3b3b 100%) !important;
    border-top: 0px !important;
}

[data-bs-theme="dark"] .metismenu li a {
    padding: 1rem 0rem 1rem 1rem !important;
    border-radius: 2rem !important;
    /* color: white !important; */
    transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}

[data-bs-theme="dark"] .metismenu li:hover>a {
    background-color: var(--secondary) !important;
    transform: translateX(2px);
    color: var(--dark) !important;
    box-shadow: 0 4px 12px rgba(242, 56, 58, 0.3);
}

[data-bs-theme="dark"] .metismenu li:hover>a[href="#"] i {
    color: white !important;
}

[data-bs-theme="dark"] .metismenu .mm-active>a,
[data-bs-theme="dark"] .metismenu .my-active>a {
    background-color: var(--secondary) !important;
    color: var(--dark) !important;
    box-shadow: 0 4px 12px rgba(242, 56, 58, 0.4);
}

[data-bs-theme=dark] body .sidebar-nav .metismenu ul {
    background-color: #767c8300 !important;
    padding: 1rem !important;
    margin: -1rem 0rem -1.3rem 0.2rem !important;
    border-radius: 2rem !important
}

[data-bs-theme=dark] body .sidebar-nav .metismenu ul li a {
    padding: 0.7rem !important;
}

[data-bs-theme="dark"] .dashboard-card {
    width: 100% !important;
    border-radius: 20px !important;
    background: linear-gradient(to top right, #1c1c1c 0%, #9693933a 50%, #96939357 100%) !important;
    /* max-height: 215px !important; */
    margin: 0px auto !important;
    overflow: hidden;
    padding: 1rem;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2) !important;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, .075) !important;
    border: 0 !important;
}

[data-bs-theme="dark"] .main-wrapper .main-content {
    padding: 1rem !important;
}

html[data-bs-theme="dark"] .iti--allow-dropdown {
    width: 100% !important;
}

html[data-bs-theme="dark"] .iti__divider {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
    border-bottom: 0px solid #CCC !important;
}

html[data-bs-theme="dark"] .iti__country {
    padding: 5px 10px !important;
    outline: none !important;
    background: #000 !important;
}

html[data-bs-theme="dark"] .iti__country.iti__highlight {
    background-color: #e4c5c5 !important;
    color: black !important;
}

html[data-bs-theme="dark"] .iti__country.iti__active {
    background-color: #ffffff !important;
    color: black !important;
}

html[data-bs-theme="dark"] input[readonly],
html[data-bs-theme="dark"] input[disabled],
html[data-bs-theme="dark"] select[disabled] {
    cursor: not-allowed !important;
    background-color: #f0f0f009;
}