/* new ui */

/* Modern Typography */

@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,500&display=swap");

body {
    font-family: 'Public Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Forms */
.form-control {
    border-radius: 6px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

/* Cards */
.card {
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 6px !important; /* Explicitly set the border radius */
}

.card-header {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    border-radius: 6px 6px 0 0 !important;
}

.card-body {
    padding: 1.5rem;
    border-radius: 6px !important; /* Explicitly set the border radius */
    background-color: #fff;
}

/* Modals */
.modal-content {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
}

.modal-header {
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.modal-footer {
    border-top: 1px solid #ddd;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

/* Pagination */
.pagination {
    border-radius: 6px;
    overflow: hidden;
}

.page-item .page-link {
    padding: 0.75rem 1.25rem;
    transition: background-color 0.3s, color 0.3s;
}

h5 {
    border-radius: 6px;
    padding: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 6px;
    padding: 1rem 1.5rem;
}

/* badge.css */
.badge {
    display: inline-block;
    padding: 0.45em 0.6em;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.25rem;
    /* color: #fff; */
    margin-top: 1px;
}

/* Number-based colors */
.badge-1 {
    background-color: #f72585;
}

.badge-2 {
    background-color: #b5179e;
}

.badge-3 {
    background-color: #7209b7;
}

.badge-4 {
    background-color: #560bad;
}

.badge-5 {
    background-color: #480ca8;
}

.badge-6 {
    background-color: #3a0ca3;
}

.badge-7 {
    background-color: #3f37c9;
}

.badge-8 {
    background-color: #4361ee;
}

.badge-9 {
    background-color: #4895ef;
}

.badge-10 {
    background-color: #4cc9f0;
}

/* Letter-based classes */
.badge-a {
    background-color: #70E000;
    color: #000000;
}

.badge-b {
    background-color: #38B000;
    color: #000000;
}

.badge-c {
    background-color: #008000;
}

.badge-d {
    background-color: #007200;
}

.badge-e {
    background-color: #006400;
}

.badge-f {
    background-color: #004B23;
}

/* Color-based classes */
.badge-orange {
    background-color: #f77f00;
    color: #fff;
}

.badge-green {
    background-color: #06d6a0;
    color: #fff;
}

.badge-red {
    background-color: #e63946;
    color: #fff;
}

.badge-blue {
    background-color: #1A5ADF;
    color: #fff;
}

.badge-purple {
    background-color: #9b5de5;
    color: #fff;
}

.badge-yellow {
    background-color: #ffb703;
    color: #fff;
}

.badge-black {
    background-color: #000000;
    color: #fff;
}

.badge-brown {
    background-color: #8d6e63;
    color: #fff;
}

.badge-pink {
    background-color: #ff69b4;
    color: #fff;
}

.badge-navy {
    background-color: #001f3f;
    color: #fff;
}

.badge-default {
    /*background-color: #6c757d; /* Bootstrap-like gray */
    background-color: #44badc;
    color: #fff;
}

/* Focus effect */
.badge:focus, .badge:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(68, 186, 220, 0.5);
}

/* custom.css */

.active-filtered + span.select2.select2-container .select2-selection {
    background-color: #E9EFFC !important;
    border-color: #E9EFFC !important;
    color: #ffffff !important;
}

.active-filtered + span.select2.select2-container .select2-selection .select2-selection__rendered {
    color: #ffffff;
}

.active-filtered + span.select2.select2-container .select2-selection .select2-selection__arrow b {
    border-color: #fff transparent transparent transparent;
}

.active-filtered-input {
    background-color: #E9EFFC !important;
    border-color: #E9EFFC !important;
    color: #ffffff !important;
}

@media screen and (max-width: 767px) {
    .order-right-section.page-title-box .page-title-right {
        display: block !important;
        float: none !important;
        margin-top: 0px !important;
        margin-bottom: 20px !important;
    }

    .order-right-section.page-title-box {
        display: flex;
        flex-direction: column-reverse;
    }
}

.inline-edit-section {
    display: flex;
    min-height: 50px;
    justify-content: start;
    align-items: center;
}

.container-fluid {
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto
}

.custom-container-fluid {
    padding: 0 20px;
}

.custom-container-fluid-60 {
    padding: 0 60px;
}

.tooltip_custom {
    position: relative;
    display: inline-block;
}

.tooltip_custom .tooltiptext {
    visibility: hidden;
    width: 170px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 6px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -86px;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.tooltip_custom .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip_custom:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Already added earlier: keep this */
.mini_calendar table {
    table-layout: fixed;
    width: 100%;
}

body[data-leftbar-theme="dark"] .custom-accordion .card-header {
    background-color: #191923;
}

body[data-leftbar-theme="dark"] .custom-accordion-title {
    color: #EEF2F7;
    position: relative;
}

body[data-leftbar-theme="dark"] .custom-accordion-title:hover {
    color: #EEF2F7;
}


.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    background-color: #474d56;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-right: 2px;
}

.icon-button:hover {
    background-color: #3a3d4d;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.inline-icon-buttons {
    white-space: nowrap;
}

.inline-icon-buttons .icon-button {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 4px; /* optional spacing between icons */
}

.dt-buttons {
    margin-top: 7px;
    text-align: right;
    margin-right: 20px !important;
}

.btn-gap > * {
    margin: 2px; /* 2px space between buttons */
}

.modal-footer .btn-danger {
    color: #fff !important;
}


/* ---  Black Digital Start ---  */

a,
button,
input[type="submit"] {
    outline: none !important;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

/* --- HEDAER --- */

.content-page .content .navbar-custom .container-fluid,
.content-page .content .topnav .container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0 60px;
}

/* GO PRO */

.content-page .content .navbar-custom .badge.go-pro {
    background: linear-gradient(105deg, #1AAEDF 0%, #B438FB 103.08%);
    color: rgb(255 255 255 / 70%);
    font-size: 11px;
    border-radius: 4px;
    padding: 8px 10px 7px;
    transition: all .2s ease;
}

.content-page .content .navbar-custom .badge.go-pro:hover {
    background: linear-gradient(105deg, #1A5ADF 0%, #21B3AC 103.08%);
}

/* USER */

.content-page .content .nav-user {
    padding-right: 0 !important;
}

.content-page .content .nav-user .account-user-name {
    font-weight: 600;
}

.content-page .content .nav-user .account-position {
    font-weight: 300;
}

/* NAV */

.content-page .content .topnav {
    box-shadow: none !important;
    border-bottom: 1px solid #DADDDF;
}

.content-page .content .topnav .navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 400;
}

.content-page .content .topnav .navbar-nav .nav-link.active,
.content-page .content .topnav .navbar-nav .nav-item.active .nav-link,
.content-page .content .topnav .navbar-nav .nav-link:hover {
    color: #1A55DF;
}

.content-page .content .topnav .navbar-nav .nav-link i {
    width: 24px;
    height: 25px;
    display: inline-flex;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

.content-page .content .topnav .navbar-nav .nav-link.active i,
.content-page .content .topnav .navbar-nav .nav-item.active .nav-link i {
    background-color: #1A55DF;
}

.content-page .content .topnav .navbar-nav .nav-link.active i::before,
.content-page .content .topnav .navbar-nav .nav-item.active .nav-link i {
    color: #FFFFFF;
}

/* --- END HEDAER --- */


/* --- CONTENT --- */

.content-page {
    background-color: #FFFFFF;
}

.custom-container-fluid-60 .row:nth-child(5) > div {
    margin-bottom: 10px !important;
}

/* --- END CONTENT --- */


/* --- TITLE --- */

.page-title {
    font-family: "Public Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
    color: #474D56;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.page-title .badge {
    padding: 5px 8px;
    font-size: 14px;
    font-weight: 300;
    background-color: #EEF2F7;
    color: #474D56;
    border-radius: 4px;
}

/* --- END TITLE --- */


/* --- BUTTON --- */

.custom-container-fluid-60 > .row > div > a {
    box-shadow: none;
}

.custom-container-fluid-60 > .row > div > a:hover {
    box-shadow: none;
}

/* --- END BUTTON --- */


/* --- FILTER --- */

.active-filtered + span.select2.select2-container .select2-selection {
    border: 1px solid #E9EFFC !important;
    background-color: #E9EFFC !important;
    border-radius: 5px;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #1A5ADF;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    border-radius: 5px;
    padding: 2px 8px;
    margin-top: 0;
}

.active-filtered + span.select2.select2-container .select2-selection .select2-selection__rendered,
.active-filtered-input,
.form-control.active-filtered-input {
    height: 42px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #1A5ADF !important;
    border: 1px solid #81A4ED !important;
    border-radius: 6px;
}

.active-filtered + span.select2.select2-container .select2-selection .select2-selection__arrow b {
    border-color: #1A5ADF transparent transparent transparent;
}

span#selectedValue {
    font-size: 13px;
    font-weight: 400;
}


/* --- END FILTER --- */


/* --- CARDS --- */

.card {
    box-shadow: none;
    background-color: transparent;
}

.card .card-body {
    border: 1px solid #DADDDF;
    border-radius: 10px !important;
}

.card .card-body .header-title,
.card .card-body h5 {
    color: #474D56 !important;
    padding: 0;
    /*font-weight: 500 !important; */
    text-transform: none;
}

.card .card-body .widget-icon {
    background-color: #EEF2F7;
    border-radius: 10px;
    color: #1A5ADF;
}

.card .card-body .badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.card .card-body .badge-success {
    background-color: #06806B;
    color: #FFF;
}

.card .card-body .badge-danger {
    background-color: #CC2F3C;
    color: #FFF;
}

.card .card-body .badge-info {
    background-color: #44badc;
    color: #FFF;
}

.card .card-body .text-success {
    font-size: 14px;
    font-weight: 600;
    color: #06806B !important;
}

.card .card-body .text-muted {
    font-size: 14px;
    font-weight: 600;
    color: #6B787F !important;
}

.card .card-body .alert.alert-light {
    font-size: 14px;
    font-weight: 400;
    width: 99%;
    margin: 17px auto 0
}

/* --- END CARDS --- */


/* --- TABLE --- */

.table-striped td, .table-striped th {
    padding: 15px 10px;
    font-size: 14px;
    color: #474D56;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #FAFBFE;
    transition: all .2s ease;
}

.table-striped tbody tr:hover {
    background-color: #f2f5fd;
}

.table-striped a {
    color: #1A5ADF;
    font-size: 14px;
    font-weight: 400;
}

.table-striped a:hover {
    color: #474D56;
}

/* --- END TABLE --- */


/* --- CALENDAR --- */

.mini_calendar .table-responsive .table {
    border-spacing: 5px !important;
}

.mini_calendar .table-responsive .table th {
    background-color: #FAFBFE;
    padding: 14px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #474D56;
    border: 0;
    border-radius: 4px;
}

.mini_calendar .table-responsive .table td {
    background-color: rgb(250 251 254 / 80%);
    height: 120px;
    padding: 15px;
    font-size: 14px;
    font-weight: 300;
    vertical-align: top !important;
    border: 0;
    border-radius: 4px;
}

.mini_calendar .table-responsive .table td .badge {
    background-color: transparent;
    color: #474D56 !important;
    font-size: 14px;
    font-weight: 500;
}

.mini_calendar .table-responsive .table td.table-success {
    background-color: #06806B;
    color: #FFFFFF;
}

.mini_calendar .table-responsive .table td.table-success .badge {
    background-color: #1A5ADF;
    color: #FFFFFF !important;
    margin: 10px 0;
}

.mini_calendar .table-responsive .table td.table-success a,
.mini_calendar .table-responsive .table td.bg-danger a {
    color: #FFFFFF;
    font-size: 16px;
}

.mini_calendar .table-responsive .table td.bg-danger {
    background-color: #CC2F3C !important;
    color: #FFFFFF !important;
}

.mini_calendar .table-responsive .table td.bg-danger .badge {
    background-color: #9e1c25;
    color: #FFFFFF !important;
    margin: 10px 0;
}

/* --- END CALENDAR --- */


/* --- CARD NEWS --- */

.card .card-body .card-deck-wrapper:last-child {
    margin-bottom: 0 !important;
}

.card .card-body .card-deck .card {
    background-color: transparent;
    border: 1px solid #DADDDF;
    border-radius: 6px !important;
    overflow: hidden;
}

.card .card-body .card-deck .card .image-popup {
    height: 275px;
    overflow: hidden;
}

.card .card-body .card-deck .card .image-popup img {
    width: 100%;
    object-fit: cover;
}

.card .card-body .card-deck .card .card-body {
    border: 0;
    border-radius: 0;
}

.card .card-body .card-deck .card .card-body .card-bodyquote {
    margin-bottom: 0;
}

.card .card-body .card-deck .card .card-body .card-bodyquote .card-text {
    margin-bottom: 10px;
}

.card .card-body .card-deck .card .card-body .card-text a {
    color: #1A5ADF;
    font-size: 20px;
    font-weight: 400;
    line-height: 120%;
    display: -webkit-box;
    max-height: 50px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card .card-body .card-deck .card .card-body .card-text a:hover {
    color: #474D56;
}

.card .card-body .card-deck .card .card-body small {
    color: #6B787F;
    font-size: 14px;
    font-weight: 400;
}

/* --- END CARD NEWS --- */


/* --- FORM --- */

.form-control::placeholder {
    color: #979ea9;
    font-size: 14px;
    font-weight: 400;
}

.form-control {
    width: 100%;
    height: 42px;
    border: 1px solid #DADDDF;
    background-color: transparent;
    color: #474D56;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    display: flex;
    align-items: center;
}

.select2-container .select2-selection--multiple,
.select2-container .select2-selection--single,
select.form-control:not([size]):not([multiple]) {
    height: 42px;
    line-height: 100%;
}

.select2-container .select2-selection--multiple:focus,
.select2-container .select2-selection--single:focus,
select.form-control:not([size]):not([multiple]):focus {
    background-color: transparent !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
}

.select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    margin: 0;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true]:hover {
    background-color: #eef2f7;
    color: #474d56;
}

/* --- END FORM --- */


/* --- BUTTONS --- */

.btn.btn-primary {
    height: 42px;
    background: linear-gradient(105deg, #1A5ADF 0%, #1A5ADF 103.08%);
    border: 0;
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: linear-gradient(105deg, #1A5ADF 0%, #21B3AC 103.08%);
    border: 0;
    box-shadow: none;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1A5ADF;
}

/* --- END BUTTONS --- */


/* --- ALERTS --- */

.alert-danger {
    color: #FFFFFF !important;
    background-color: #CC2F3C;
    border-color: #CC2F3C;
}

.alert-success {
    color: #FFFFFF !important;
    background-color: #06806B;
    border-color: #06806B;
}

.alert-success a,
.alert-success .alert-link {
    color: #fff !important;
    text-decoration: none;
}

.alert-danger a,
.alert-danger .alert-link {
    color: #fff !important;
    text-decoration: none;
}


/* --- END ALERTS --- */


/* --- FOOTER --- */

.footer {
    border-top: 1px solid #DADDDF;
}

.footer .container-fluid {
    width: 100%;
    max-width: 100% !important;
    padding: 0 60px !important;
}

.footer .container-fluid .row div {
    color: #6B787F;
    font-size: 14px;
    font-weight: 300;
}

.footer .container-fluid .row div a {
    color: #1A5ADF;
}

.footer .container-fluid .row div a:hover {
    color: #474D56;
}

/* --- END FOOTER --- */


/* --- DARK THEME --- */

body[data-leftbar-theme="dark"] .content-page,
body[data-leftbar-theme="dark"] .content-page .content .topnav {
    background-color: #111116;
}

body[data-leftbar-theme="dark"] .bg-light {
    background-color: #191923 !important;
}

/* NAVBAR */

body[data-leftbar-theme="dark"] .topnav-navbar-dark .app-search .form-control {
    border-bottom: 1px solid #3E3C47;
    background-color: transparent !important;
    color: #EEF2F7 !important;
}

body[data-leftbar-theme="dark"] .navbar-custom {
    box-shadow: none;
    background-color: #000000;
}

body[data-leftbar-theme="dark"] .content-page .content .topnav {
    border-bottom: 1px solid #3E3C47;
}

body[data-leftbar-theme="dark"] .topnav-navbar-dark .nav-user {
    background-color: transparent;
    border: 0;
}

/* MENU */

body[data-leftbar-theme="dark"] .dropdown-menu {
    background-color: #111116;
    border: 1px solid #3E3C47;
    box-shadow: none;
}

/* TITLE */

body[data-leftbar-theme="dark"] .page-title,
body[data-leftbar-theme="dark"] .card .card-body .header-title,
body[data-leftbar-theme="dark"] .card .card-body h5 {
    color: #EEF2F7 !important;
}

body[data-leftbar-theme="dark"] .page-title .badge,
body[data-leftbar-theme="dark"] .card .card-body .text-uppercase .badge {
    background-color: #2e2e3b;
    color: #eef2f7;
}

/* TEXT */

body[data-leftbar-theme="dark"] .text-dark {
    color: #EEF2F7 !important;
}

/* BUTTONS */

body[data-leftbar-theme="dark"] .custom-container-fluid-60 > .row > div > a {
    background-color: #000000;
    border-color: #000000;
    box-shadow: none;
}

body[data-leftbar-theme="dark"] .custom-container-fluid-60 > .row > div > a:hover {
    box-shadow: none;
    background-color: #191924;
    border-color: #191924;
}

/* CARD */

body[data-leftbar-theme="dark"] .card .card-body {
    background-color: #111116;
    border: 1px solid #3E3C47;
}

body[data-leftbar-theme="dark"] .card .card-body .widget-icon {
    background-color: #000000;
}

/* CALENDAR */

body[data-leftbar-theme="dark"] .mini_calendar .table-responsive .table th,
body[data-leftbar-theme="dark"] .mini_calendar .table-responsive .table td {
    background-color: #1C1B20;
    color: #EEF2F7;
}

body[data-leftbar-theme="dark"] .mini_calendar .table-responsive .table td.table-success {
    background-color: #06806B;
    color: #EEF2F7;
}

body[data-leftbar-theme="dark"] .mini_calendar .table-responsive .table td .badge {
    color: #EEF2F7 !important;
}

body[data-leftbar-theme="dark"] .card .card-body .alert.alert-light {
    background-color: #000000 !important;
}

/* --- CARD NEWS --- */

body[data-leftbar-theme="dark"] .card .card-body .card-deck .card {
    border: 1px solid #3E3C47;
}

body[data-leftbar-theme="dark"] .card .card-body .card-deck .card .card-body small,
body[data-leftbar-theme="dark"] .card .card-body .card-deck .card .card-body .card-text a:hover {
    color: #EEF2F7 !important;
}

/* TABLE */

body[data-leftbar-theme="dark"] .table thead th {
    border-bottom: 2px solid #3E3C47;
}

body[data-leftbar-theme="dark"] .table-striped tbody tr:nth-of-type(odd) {
    background-color: #191922;
}

body[data-leftbar-theme="dark"] .table-striped tbody tr:hover {
    background-color: #242432;
}

body[data-leftbar-theme="dark"] .table-striped td,
body[data-leftbar-theme="dark"] .table-striped th {
    color: #EEF2F7;
}

body[data-leftbar-theme="dark"] table.fixedHeader-floating {
    background-color: #111116;
}

/* FILTER */

body[data-leftbar-theme="dark"] .active-filtered + span.select2.select2-container .select2-selection {
    border: 0 !important;
    background-color: #111117 !important;
}

body[data-leftbar-theme="dark"] .trade-right-section .page-title-right .btn {
    color: #FFF;
    background: #474D56 !important;
    border: 0;
    box-shadow: none;
}

body[data-leftbar-theme="dark"] .trade-right-section .page-title-right .btn:hover {
    background: #3E3C47 !important;
}

body[data-leftbar-theme="dark"] .active-filtered + span.select2.select2-container .select2-selection .select2-selection__rendered,
body[data-leftbar-theme="dark"] .active-filtered-input,
body[data-leftbar-theme="dark"] .form-control.active-filtered-input {
    color: #fff !important;
    border: 1px solid #4343c7 !important;
    background-color: #1b1b31 !important;
}

/* FORM */

body[data-leftbar-theme="dark"] .form-control::placeholder {
    color: #EEF2F7;
}

body[data-leftbar-theme="dark"] .form-control:focus {
    background-color: #191923;
}

body[data-leftbar-theme="dark"] .form-control {
    border: 1px solid #3E3C47;
    color: #EEF2F7;
}

body[data-leftbar-theme="dark"] .select2-container .select2-selection--multiple,
body[data-leftbar-theme="dark"] .select2-container .select2-selection--single,
body[data-leftbar-theme="dark"] .note-editor.note-frame,
body[data-leftbar-theme="dark"] .note-editor.note-airframe {
    background-color: transparent !important;
    border: 1px solid #3E3C47 !important;
    color: #EEF2F7 !important;
}

body[data-leftbar-theme="dark"] .card-header.note-toolbar,
body[data-leftbar-theme="dark"] .note-popover .popover-content,
body[data-leftbar-theme="dark"] .note-editor.note-frame .note-editable {
    background-color: transparent !important;
}

body[data-leftbar-theme="dark"] .note-toolbar.card-header {
    border-bottom: 1px solid #3E3C47;
}

body[data-leftbar-theme="dark"] .note-toolbar .note-btn {
    background: #3E3C47;
    border-color: #3E3C47;
}

body[data-leftbar-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #191923;
    color: #EEF2F7 !important;
}

/* DROPDOWN */

body[data-leftbar-theme="dark"] .daterangepicker,
body[data-leftbar-theme="dark"] .select2-search--dropdown,
body[data-leftbar-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true],
body[data-leftbar-theme="dark"] .select2-container--default .select2-results > .select2-results__options {
    background-color: #111116;
}

body[data-leftbar-theme="dark"] .daterangepicker {
    border: 1px solid #3E3C47;
    box-shadow: none;
}

body[data-leftbar-theme="dark"] .daterangepicker:before {
    border-bottom: 7px solid #111116;
}

body[data-leftbar-theme="dark"] select.form-control option {
    background-color: #191923;
    color: #EEF2F7;
}

/* POPUP */

body[data-leftbar-theme="dark"] .modal-content {
    background-color: #111117;
}

body[data-leftbar-theme="dark"] .modal-content .modal-header {
    border-bottom: 1px solid #3E3C47;
}

body[data-leftbar-theme="dark"] .modal-content .modal-footer {
    border-top: 1px solid #3E3C47;
}

/* PAGINATION */

body[data-leftbar-theme="dark"] .pagination .page-item.disabled .page-link {
    color: #EEF2F7;
    font-size: 15px;
    background-color: #111116;
}

body[data-leftbar-theme="dark"] .pagination .page-item.active .page-link {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    background-color: #1A5ADF;
}

body[data-leftbar-theme="dark"] .pagination .page-item .page-link {
    color: #fff;
    font-size: 15px;
    background-color: #111116;
    border: 0 !important;
    border-radius: 4px;
}

body[data-leftbar-theme="dark"] .pagination .page-item .page-link:focus,
body[data-leftbar-theme="dark"] .pagination .page-item .page-link:active {
    border: 0;
    box-shadow: none;
    outline: none;
}

body[data-leftbar-theme="dark"] .pagination .page-item .page-link:hover,
body[data-leftbar-theme="dark"] .pagination .page-item.previous .page-link:hover,
body[data-leftbar-theme="dark"] .pagination .page-item.next .page-link:hover {
    background-color: #1A5ADF;
}

/* FOOTER */

body[data-leftbar-theme="dark"] .footer {
    border-top: 1px solid #3E3C47;
}

/* --- END DARK THEME --- */

.badge.light {
    background-color: #eef2f7;
    color: #474d56 !important;
}


/* --- RESPONSIVE --- */

@media screen and (max-width: 980px) {

    /* --- HEDAER --- */
    .content-page .content .navbar-custom .container-fluid,
    .content-page .content .topnav .container-fluid {
        padding: 0 20px;
    }

    /* ---  END HEDAER --- */
    /* --- CONTAINER --- */
    .custom-container-fluid-60 {
        padding: 0 20px;
    }

    /* --- END CONTAINER --- */

    /* --- CALENDAR --- */
    .mini_calendar .table-responsive .table th {
        width: 160px;
    }
    .mini_calendar .table-responsive .table td {
        height: auto;
    }

    /* --- END CALENDAR --- */

    /* --- CALENDAR --- */
    .mini_calendar .table-responsive .table td {
        height: 130px;
    }

    /* --- END CALENDAR --- */
    /* --- FOOTER --- */
    .footer .container-fluid {

        padding: 0 60px !important;
    }

    /* --- END FOOTER --- */
}



@media screen and (max-width: 768px) {

    /* --- FORM --- */

    form .form-group .row > div {
        margin-bottom: 15px;
    }
    form .form-group .row > div:last-child{
        margin-bottom: 0;
    }

    /* --- END FORM --- */

    /* --- CONTAINER --- */
    .custom-container-fluid-60 .row:nth-child(1) div .row > div:nth-child(2) {
        flex-direction: column;
        gap: 15px;
        padding: 0;
    }

    /* --- END CONTAINER --- */

}

/* --- END RESPONSIVE --- */