:root {
    --primary: #4b43db;
    /* --primary:#5951ed; */
    --body: #f5f5f5;
    --white: #ffffff;
    --black: #000;
    --salmon: #f9676b;
}

.commonoffcanvas {
    --bs-offcanvas-width: 80%;
}

/* loader */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #00000059;
    z-index: 9999999;
    display: flex;
}

.site-loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    margin: auto;
    border-color: var(--white) var(--white) transparent transparent;
    -webkit-animation: rotation 1s linear infinite;
    animation: rotation 1s linear infinite;
}

.site-loader:after,
.site-loader:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent var(--bs-primary) var(--bs-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -webkit-animation: rotationBack 0.5s linear infinite;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}
.custom-color .site-loader:after {
    border-color: transparent transparent blue green;
}

.site-loader:before {
    width: 32px;
    height: 32px;
    border-color: var(--white) var(--white) transparent transparent;
    -webkit-animation: rotation 1.5s linear infinite;
    animation: rotation 1.5s linear infinite;
}

@-webkit-keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}
@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.form-check-input:checked {
    border-color: var(--primary);
    background-color: var(--white);
}

.form-switch .form-check-input:checked[type="checkbox"] {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%234b43db'/%3e%3c/svg%3e");
}

.form-check-input:checked[type="checkbox"] {
    --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%234b43db' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #09090a;
}

.btn-link.btn-text-primary {
    font-size: 12px;
    text-decoration: none;
    font-style: normal;
    font-weight: 600;
    color: var(--primary);
}

.btn-link.btn-text-primary:hover {
    color: var(--black);
}

.custom_card {
    border-radius: 16px;
    background: var(--neutral-100, #fff);
    border: 0;
    height: 100%;
}

.custom_card .card-header {
    padding: 20px;
    background-color: transparent;

    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.25);
    border: 0;
    border-bottom: 1px solid var(--neutral-200, #f5f5f5);
}

.custom_card .card-header h2 {
    color: var(--black);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    margin: 0;
    padding-left: 15px;
    position: relative;
}

.custom_card .card-body {
    padding: 20px;
}
.custom_card .card-body.scrollbarshow {
    max-height: 380px;
    position: relative;
    /* overflow-y: auto; */
}

.custom_card .card-header h2::before {
    border-radius: 4px;
    content: "";
    background: #ffbc99;
    height: 100%;
    width: 5px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

.custom_card .card-header h2.blue_saprater::before {
    background-color: #b1e5fc;
}

.custom_card .card-header h2.pink_saprater::before {
    background-color: #fcb1de;
}

.custom_card .card-header h2.lavender_saprater::before {
    background-color: #cabdff;
}

.custom_card .card-header h2.green_saprater::before {
    background-color: #b5e4ca;
}

.form-control {
    border-radius: 8px;
    font-size: 14px !important;
    color: #9ca1a6;
    border: 1px solid var(--neutral-300, #eff2f5);
    min-height: 48px;
}

.search_area .form-control {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    color: #3e3e3f;
    padding: 0.5rem 1rem;
}

.btn.btn-light {
    font-weight: 600;
    font-size: 14px;
    color: #09090a;
}

.btn.btn-light:hover {
    background: #ededed !important;
}

.btn {
    font-size: 14px;
}

.btn.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 7px 1.2rem;
}

.btn.btn-outline-primary:hover {
    border-color: #e3e3e3;
    background-color: #ededed;
    color: var(--primary) !important;
}

.input-group-text {
    border-color: #eff2f5;
}
.select2-container {
    max-width: 100%;
}

.select2-container--default .select2-selection--single {
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid var(--neutral-300, #eff2f5);
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 46px;
    padding-left: 15px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 48px;
    right: 12px;
    top: 0;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #9ca1a6 transparent transparent transparent;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #eff2f5;
    padding: 4px 10px;
    outline: none;
}

.select2-container--open .select2-dropdown--below {
    border: 1px solid #eff2f5;
}

.select2-results__option {
    padding: 6px 10px;
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary);
}

.select2-container--default .select2-selection--single {
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid var(--neutral-300, #eff2f5);
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 46px;
    padding-left: 15px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 48px;
    right: 12px;
    top: 0;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #9ca1a6 transparent transparent transparent;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #eff2f5;
    padding: 4px 10px;
    outline: none;
}
.select2-container--open .select2-dropdown--below {
    border: 1px solid #eff2f5;
}
.select2-results__option {
    padding: 6px 10px;
}
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary);
}

.custom_dropcl .dropdown-menu {
    border-radius: 14px;
    background: var(--neutral-100, #fff);
    box-shadow: 0px 0px 97px 0px rgba(0, 0, 0, 0.15);
    border: 0;
    /* margin-right: 1.5rem; */
    margin: 0;
    /* overflow: hidden; */
}

.custom_dropcl .dropdown-menu::after {
    content: "";
    display: block;
    border-left: 12px solid #ffffff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    position: absolute;
    top: 9px;
    right: -11px;
}

.custom_dropcl .dropdown-toggle {
    color: #9ca1a6;
    background-color: #f5f5f5;
}
.custom_dropcl .dropdown-toggle::before {
    content: none;
}

.dataTables_wrapper table {
    border-color: #f5f5f5;
    position: relative;
}

table.dataTable > tbody > tr.child span.dtr-title {
    font-weight: 500;
}

.dataTables_wrapper tr th {
    font-weight: 500;
}

.dataTables_wrapper tr td,
.dataTables_wrapper tr th {
    vertical-align: middle;
    padding: 0.5rem 1rem;
}

div.dataTables_wrapper div.dataTables_length select {
    border-radius: 4px;
    border: 1px solid var(--neutral-300, #eff2f5);
    background-color: var(--neutral-200, #f5f5f5);
    min-height: 30px;
}

div.dataTables_wrapper div.dataTables_filter input {
    min-height: 38px;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

table.dataTable > tbody > tr.child ul.dtr-details > li .dtr-data {
    display: inline-block;
    vertical-align: middle;
}

.dataTables_wrapper tr td img {
    width: 36px;
    height: 36px;
}

.dataTables_paginate .pagination .paginate_button a {
    border-radius: 4px !important;
    min-width: 28px;
    border: 1px solid var(--neutral-300, #eff2f5);
    background: var(--neutral-200, #f5f5f5);
    box-shadow: none;
    margin-left: 8px;
    padding-top: 3px;
    line-height: normal;
    padding-bottom: 3px;
    font-size: 14px;
    color: #333;
}

.dataTables_paginate .pagination .paginate_button.active a {
    border-color: var(--primary);
    color: var(--primary);
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0;
    margin-left: auto;
    margin-right: 0.5rem;
}
.offcanvas .offcanvas-body .custom_tabs {
    margin: -25px -24px 0 -24px;
}

.btn.btn-outline-danger {
    padding: 7px 1.2rem;
    font-size: 14px;
    font-style: normal;
    box-shadow: none;
    font-weight: 700;
    border-radius: 4px;
}

.btn.btn-primary {
    border-radius: 4px;
    background: var(--primary-main, var(--primary));
    padding: 8px 1.2rem;
    font-size: 14px;
    font-style: normal;
    border: 0;
    outline: none;
    box-shadow: none;
    font-weight: 700;
    color: #eff2f5;
}

.btn.btn-success {
    border-radius: 4px;
    background: #28cea6;
    border: 0;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 700;
}

.btn.btn-success:hover {
    background: #20c19a;
}

.btn.btn-success.btn-big {
    border-radius: 8px;
    background: #28cea6;
    padding: 12px 18px;
    font-size: 14px;
    font-style: normal;
    border: 0;
    outline: none;
    box-shadow: none;
    font-weight: 700;
    color: #eff2f5;
    line-height: 100%;
}

.btn.btn-success.btn-big:hover {
    background: #20c19a;
}

.btn.btn-primary:hover {
    background-color: var(--primary);
}
.danger_custom {
    border-radius: 8px;
    background: var(--error-light, #ffe7e4);
    color: #ff6a55;
}

.danger_custom .form-select {
    padding-top: 0.63rem;
    padding-bottom: 0.63rem;
}

.danger_custom:hover {
    background: #f5d9d5;
    color: #ff6a55;
}

.btn.btn-danger {
    background: #ff6a55;
    border: 0;
    outline: none;
    box-shadow: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.btn.btn-danger:hover {
    background: #e75944;
}
.btn.btn-danger.btn-big {
    min-height: 46px;
}

.dt-buttons .dt-button {
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--bs-border-radius-lg) !important;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
    background: var(--white);
    line-height: normal;
    margin: 0 !important;
}
.dt-buttons .dt-button:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}
div.dataTables_wrapper div.dataTables_filter label {
    position: relative;
}
div.dataTables_wrapper div.dataTables_filter label::after,
.test-icon label::after {
    font-family: Font Awesome\6 Free;
    font-style: normal;
    font-weight: 900;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f002";
    position: absolute;
    right: 12px;
    font-size: 1.2rem;
    top: 8px;
}
div.dataTables_wrapper div.dataTables_filter label input[type="search"] {
    padding-right: 2.4rem;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}
input[type="search"]::-ms-clear {
    display: none;
    height: 0;
    width: 0;
}

input[type="search"]::-ms-reveal {
    display: none;
    height: 0;
    width: 0;
}
.select-statuscls .select2-container--default .select2-selection--single {
    min-height: 53px;
}

.dataTables_wrapper .dt-buttons {
    width: max-content;
    display: inline-flex;
    float: none;
}
div.dataTables_wrapper div.dataTables_filter {
    width: max-content;
    display: inline-flex;
    margin-left: auto;
    justify-content: flex-end;
    float: right;
    margin-bottom: 1rem;
}
.dataTables_wrapper .dataTables_length {
    width: max-content;
    display: inline-flex;
    margin-right: 1rem;
}
.dt-buttons .dt-button.import-button {
    background: var(--primary);
    color: var(--white);
    margin-right: 0.5rem !important;
}
.sub_cardlist .last_iconcls {
    color: #292c30;
    color: #292c30;
    display: flex;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    align-items: center;
    line-height: 100%;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.list-group-item.active {
    background-color: var(--primary);
    border-color: var(--primary);
}
.general-setting {
    position: relative;
}

.action-dropdown.custom_dropcl .dropdown-menu::after {
    content: unset !important;
}
.border-btn {
    background: transparent;
    color: var(--primary) !important;
    padding: 11px 1.2rem;
    border-color: var(--primary);
    font-weight: 700;
}
.border-btn:hover,
.border-btn:active {
    background: var(--primary);
    color: var(--white) !important;
}

#general_setting .dropify-preview,
#general_setting .dropify-preview .dropify-render img {
    background-color: #e5e5e5;
}

.login_page .card {
    max-width: 470px;
    border-radius: 16px;
    background: var(--neutral-100, #fff);
    box-shadow: 0px 0px 97px 0px rgba(0, 0, 0, 0.15);
}
.login_page .card-header {
    border-radius: 16px 16px 0 0;
    background-color: #09090a;
    color: #fff;
}

.login_page {
    background-image: url(../img/default/login-page-bg.png);
    background-position: center;
    background-size: contain;
}
.note-editor.note-airframe.fullscreen,
.note-editor.note-frame.fullscreen {
    background-color: white;
}

.note-popover,
.note-dropdown-menu {
    z-index: 1060 !important; /* Ensure it’s above the Offcanvas */
}
.offcanvas {
    overflow: visible !important; /* Allow dropdowns to render properly */
}

i.fa-trash {
    color: #dc3545 !important;
}
.address-card {
    min-height: 196px;
}

label.error {
    font-size: 14px !important;
    color: red !important;
}
