/************** Import Font Family  ********************/
@import url("fonts.css");

/************** Import Theme Colors ********************/
@import url("theme-color.css");

body {
    font-family: "SF Pro", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "SF Pro", sans-serif !important;
}

/************** Meta ********************/
.font-11 {
    font-size: 11px !important;
}

.font-12 {
    font-size: 12px !important;
}

.font-14 {
    font-size: 14px !important;
}

.font-16 {
    font-size: 16px !important;
}

.font-18 {
    font-size: 18px !important;
}

.font-20 {
    font-size: 20px !important;
}

.font-24 {
    font-size: 24px !important;
}

.font-30 {
    font-size: 30px !important;
}

.font-36 {
    font-size: 36px !important;
}

.font-weight-400 {
    font-weight: 400 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
}

.pl-18 {
    padding-left: 18px !important;
}

.radius-24 {
    border-radius: 24px;
}

.height-48 {
    height: 48px;
}

.row-gap-10 {
    row-gap: 10px;
}

.content-wrapper {
    background-color: #f4f6f9 !important;
}

.borderless {
    border-radius: 0 !important;
    border: 1px solid #e7e3e3 !important;
}

.form-control:focus {
    box-shadow: none !important;
}

input::placeholder {
    font-family: "SF Pro";
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0px;

    color: #c6c7c7 !important;
}

.btn-radius {
    border-radius: 8px;
}

.control-sidebar {
    overflow-y: scroll;
}

.control-sidebar::-webkit-scrollbar {
    width: 6px;
    height: 10px;
}

.control-sidebar::-webkit-scrollbar-thumb {
    background-color: #6f6f6f;
    border-radius: 3px;
    outline: 1px solid #6f6f6f;
}

.control-sidebar,
.control-sidebar:before {
    right: 3px;
}

a:focus,
a:active {
    outline: none !important;
    box-shadow: none !important;
    /* Some frameworks like Bootstrap use box-shadow instead of outline */
}

label.error {
    color: #ed4845;
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

input.error,
textarea.error,
select.error,
span.error,
.select2-container--default .select2-selection--single.error {
    font-weight: 300 !important;
    color: #ed4845 !important;
}

.close {
    opacity: 0.75;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: transparent !important;
}

.asideBody .ruler {
    margin-top: -9px;
    margin: 1px -10px !important;
}

.caption {
    width: 154px;
    /* Adjust the width as per your requirement */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-link {
    text-decoration: none !important;
    color: white !important;
}

.brand-link .brand-image {
    max-height: 43px !important;
    height: 37px !important;
}

.sidebar-collapse .main-sidebar:not(:hover) .brand-link .brand-image {
    margin-left: 0;
    margin-right: 0;
    max-height: 25px !important;
    height: 25px !important;
    width: 65px;
}

.brand-link h1 {
    margin-bottom: 0 !important;
}

.logoutDropdown img {
    margin-bottom: 3px;
}

.logoutDropdown {
    color: var(--black-color);
}

/************** Select2 Css ********************/
.select2-container--default .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #e7e3e3 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: block;
    width: 100%;
    background: url(https://cdn4.iconfinder.com/data/icons/user-interface-174/32/UIF-76-512.png) !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px !important;
}

.select2-container .select2-selection--single {
    height: 48px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #ed4845 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option .select2-results__option--selectable {
    color: #737373 !important;
}

.select2-container--default .select2-results__option {
    color: #737373 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: none !important;
    border-style: none !important;
}

select,
body .select2-container--default .select2-selection--single .select2-selection__arrow {
    margin-right: 5px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNSIgaGVpZ2h0PSIyNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2U9IiNiYmIiPjxwYXRoIGQ9Ik02IDlsNiA2IDYtNiIvPjwvc3ZnPg==");
}

/**************** Datatable Css **************/

table.dataTable>thead {
    background-color: #ffe7e6 !important;
    font-weight: 510 !important;
    font-style: Medium;
    font-size: 18px;
}

.dataTables_scrollHead table.dataTable>thead {
    height: 53px;
}

.dataTables_scrollHeadInner {
    width: 100% !important;
}

table.dataTable>tbody {
    background-color: #ffffff;
    height: 70px;
    font-weight: 400 !important;
    font-style: Regular;
    font-size: 16px;
}

table.dataTable.no-footer {
    border-bottom: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: none !important;
    background: none !important;
}

.dataTables_info>strong {
    font-size: 16px;
    padding-right: 10px;
    font-weight: 400 !important;
    font-style: Regular;
}

.paginate_button {
    padding: 0% !important;
    font-size: 12px;
}

.page-link {
    color: #7a7a7a !important;
    font-family: "SF Pro Rounded", sans-serif;
    font-weight: 500 !important;
    font-style: Medium;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
}

.page-item {
    border-radius: 8px;
    font-family: "SF Pro Rounded", sans-serif;
    font-weight: 500 !important;
    font-style: Medium;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
}

.page-item.active .page-link {
    background-color: #fafafa;
    color: #18181b !important;
    border: none;
    border-color: none;
}

.page-item .page-link {
    color: #7a7a7a !important;
    border: none;
    border-color: none;
}

.dataTables_filter label input {
    border: 1px solid var(--stroke) !important;
}

.dataTables_paginate {
    margin-right: 10px !important;

    padding-top: 0.75em;
    padding-bottom: 0px;
}

.dataTables_searching_filter {
    margin-top: 3% !important;
}

.dataTables_wrapper .dataTables_paginate .pagination {
    border-radius: 8px;
    margin-right: 5px;
}

.dataTables_wrapper .dataTables_paginate ul.pagination li:first-child {
    border: 1px solid #e4e4e7;
    box-shadow: 0px 1px 2px 0px #0a0d120d;
    margin-right: 10px;
}

.dataTables_wrapper .dataTables_paginate ul.pagination li:last-child {
    border: 1px solid #e4e4e7;
    box-shadow: 0px 1px 2px 0px #0a0d120d;
    margin-left: 10px;
}

table.dataTable thead th:first-child {
    border-top-left-radius: 12px;
    /* Adjust the pixel value as needed */
}

table.dataTable thead th:last-child {
    border-top-right-radius: 12px;
    /* Adjust the pixel value as needed */
}

div.dataTables_scrollHead table.dataTable {
    margin-top: 0px !important;
}

table.dataTable thead th {
    font-family: "SF Pro", sans-serif;
    font-weight: 510 !important;
    font-style: Medium;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--black-color);
}

table.dataTable thead th {
    border: none !important;
    border-bottom: none !important;
    vertical-align: middle;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
    border: none !important;
}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td {
    font-family: "SF Pro";
    font-weight: 400 !important;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--black-color);
}

div.dataTables_wrapper div.dataTables_length select {
    display: inline-block;
    height: 30px;
    width: 45px !important;
}

div.dataTables_wrapper div.dataTables_length {
    margin-top: 20px;
    margin-left: 10px;
    font-family: "SF Pro", sans-serif;
    font-size: 14px;
    font-weight: 400 !important;
}

div.dataTables_filter {
    display: none;
}

div.dataTables_wrapper>div:last-child {
    background-color: #f8f7f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    height: 72px;
}

div.dataTables_wrapper>div:last-child>div:last-child {
    display: flex;
}

table.dataTable>tbody>tr>td,
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td {
    border-bottom: 1px solid #e4e4e7 !important;
}

.dataTables_wrapper .dataTables_scrollHead {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px;
}

.dataTables_wrapper .dataTables_scrollBody {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Custom column for 5 items in a row */
@media (max-width: 768px) {
    div.dataTables_wrapper>div:last-child {
        height: 100px;
    }

    div.dataTables_wrapper>div:last-child>div:last-child {
        display: flex;
        justify-content: center;
    }

    .dataTables_wrapper .dataTables_scroll {
        overflow-x: scroll;
    }

    .dataTables_wrapper .dataTables_scrollHead,
    .dataTables_wrapper .dataTables_scrollBody {
        display: block;
        width: 100%;
    }




}

/**************** Button Css **************/
.btn-primary {
    background-color: #ed4845 !important;
    border-color: #ed4845;
}

.btn-primary:hover {
    border-color: #ed4845;
    outline-color: #ed4845;
}

.active-tab-btn {
    width: 75px;
    height: 40px;
    gap: 4px;
    border-radius: 6px;
    background-color: #ed4845;
    font-weight: 510;
    font-size: 14px;
    font-style: Medium;
    line-height: 16px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #ffffff;
}

.block-tab-btn {
    width: 85px;
    height: 40px;
    gap: 4px;
    border-radius: 6px;
    background-color: #f2f2f2;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    color: #5c5c5c;
}

.btn-warning {
    background-color: #fc2f2f;
    width: 205;
    height: 48;
    border-radius: 24px;
}

.btn-grey {
    background: #e5e5e5;
    width: 205;
    height: 48;
    border-radius: 24px;
}

.btn:active,
.btn:focus,
.btn:hover,
.btn:disabled {
    border-color: none;
    outline: none;
    box-shadow: none;
}

button:active {
    border-color: none;
    outline: none;
}

button:focus {
    border-color: none;
    outline: none;
}

.create-btn {
    font-family: "SF Pro Rounded", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: -0.25%;
    color: #fafbfb;
}

/************** Sidebar ********************/
.brand-link {
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
    border-bottom: none !important;
}

.main-sidebar {
    background-color: #f3f3f3 !important;
    border-right: 1px solid var(--stroke) !important;
}

#sidebar-overlay {
    background-color: transparent;
}

.arrow-icon.rotate {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

.nav-sidebar .nav-link>.right:nth-child(2) {
    right: 0.5rem;
    top: 1rem;
}

.sidebar-collapse .main-sidebar:not(:hover) .nav-sidebar .nav-link>.right:nth-child(2) {
    display: none;
}

.content-wrapper {
    background-color: var(--page-background) !important;
}

.main-header {
    background-color: var(--page-background) !important;
    padding-right: 0;
    padding-top: 0;
}

.notificationIcon {
    cursor: pointer;
}

.nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0%;
    border-radius: 8px;
}

.sidebar a {
    color: var(--black-color) !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0%;
}

.nav-sidebar .nav-treeview .nav-link.active {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0%;
    border-radius: 8px;
}

.nav-sidebar .nav-treeview .nav-link.active p {
    color: var(--white) !important;
}

.logout-section {
    background-color: #f3f3f3;
    width: 252px;
    height: 77px;
    border-bottom-left-radius: 40px;
    display: flex;
    margin-left: auto;
}

.sidebar-bar-content {
    overflow: auto !important;
}

.control-sidebar {
    top: calc(3.5rem + 20px) !important;
}

.brand-text {
    font-weight: 300 !important;
    size: 20px;
    line-height: 30px;
}

/************** Navbar ********************/
.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

/************************* loader ***************** */
#loader {
    border: 12px solid #a0afe2;
    border-radius: 50%;
    border-top: 12px solid #4d61a8;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

.center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99999;
}

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

/************************ Logout Dropdown ***************** */
.dropdown-menu {
    width: 233px;
    left: -50%;
    border-radius: 12px;
    padding: 0;
}

.logout-button {
    width: 100%;
    height: 45px;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background-color: #ffffff;
    color: #000201;
    border: none;
    outline: none;
    cursor: pointer;
    opacity: 1;
    box-shadow: 0px 0px 0px 0px rgba(0, 43, 86, 0.1),
        0px 2px 4px 0px rgba(0, 43, 86, 0.1),
        -2px 8px 8px 0px rgba(0, 43, 86, 0.09),
        -4px 18px 11px 0px rgba(0, 43, 86, 0.05),
        -7px 32px 13px 0px rgba(0, 43, 86, 0.02),
        -11px 49px 14px 0px rgba(0, 43, 86, 0);
    transition: background-color 0.2s ease;
}

.logout-button:hover {
    background-color: #f8f8f8;
}

.dropdown-menu.transparent-dropdown {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/************************ Action Modals ***************** */
.modal-content-title {
    font-weight: 510;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0%;
}

.modal-body {
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    text-align: center;
}

.content-header .pageTitle {
    font-family: "SF Pro", sans-serif !important;
    font-weight: 590;
    font-style: "Semibold";
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0d0d0d;
}

/************************ Toastr ************************/
.toast {
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    padding: 15px 20px 15px 50px !important;
    opacity: 1 !important;
    min-height: 50px !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: min(600px, 90vw) !important;
}

.toast-title {
    display: none !important;
}

.toast-success,
.toast-error,
.toast-info,
.toast-warning {
    background-color: var(--primary) !important;
    color: var(--white) !important;
}

.toast-message {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--white) !important;
}

.toast {
    background-image: none !important;
}

.toast-container .toast {
    background-image: none !important;
}

/* Notification bage  */
.notificationBadge {
    position: absolute;
    height: 15px;
    width: 14px;
    top: -8px;
    right: -9px;
    background: #d90303;
    color: #ffffff;
    border-radius: 50%;
    padding: 0px 1px;
    font-size: 10px;
    font-weight: 500;
    font-family: "Poppins";
    text-align: center;
}

/*********** customized tooltip box ***********/
.tooltip-inner {
    background-color: var(--primary) !important;
    color: var(--white) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 6px 10px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.tooltip.show {
    opacity: 1 !important;
}

.bs-tooltip-top .arrow::before {
    border-top-color: var(--primary) !important;
}

.bs-tooltip-right .arrow::before {
    border-right-color: var(--primary) !important;
}

.bs-tooltip-bottom .arrow::before {
    border-bottom-color: var(--primary) !important;
}

.bs-tooltip-left .arrow::before {
    border-left-color: var(--primary) !important;
}

/* Override the toast container properties */
.flasher-toast,
.toast-body,
.toast-message {
    height: auto !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    padding-left: 10px !important;
}

#toast-container {
    height: 69px !important;
}

#toast-container>.toast-error,
#toast-container>.toast-success {
    background-image: url("/img/icons/toastr.svg") !important;
    background-size: 38px !important;
}

#toast-container>div.toast {
    background-image: url("/img/icons/toastr.svg") !important;
    background-size: 38px !important;
}

.toast-error,
.toast-success,
.toast-message {
    font-family: "SF Pro Rounded", sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
}

#hamburgerMenuBars {
    color: var(--primary) !important;
}

/* admin panel notification hover effect */
.notification-list a li>div {
    transition: box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.notification-list a:hover li>div {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    background-color: rgba(237, 72, 69, 0.05) !important;
}