:root {
    --bg-body: #f4f6f9;
    --bs-body-color: #4C5C6C;
    --card-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #8a92a6;
    --accent-primary: #6366f1;
    --accent-primary-soft: #eef2ff;
    --accent-primary-hover: #4f46e5;
    --accent-success: #10b981;
    --accent-success-soft: #ecfdf5;
    --accent-warning: #f59e0b;
    --accent-warning-soft: #fffbeb;
    --accent-info: #06b6d4;
    --accent-info-soft: #ecfeff;
    /* --bs-border-color: #e2e8f0;	 */
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --bs-primary-rgb: 99, 102, 241;
    --bs-success-rgb: 16, 185, 129;
    --bs-nav-pills-link-active-bg: #6366f1;
    --bs-nav-pills-link-active-color: #ffffff;
}

.custom-popover {
    --bs-popover-max-width: 200px;
    --bs-popover-border-color: #6366f1;
    --bs-popover-header-bg: #6366f1;
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}

.popover {
    font-family: "Titillium Web";
    font-size: 13px;
}

.popover-header {
    font-family: "Titillium Web";
    font-size: 13px;
    font-weight: 600;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.tooltip {
    --bs-tooltip-font-size: 13px;
    font-family: "Titillium Web";
}

.bg-warning {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}

#myTab .nav-link.active {
    background-color: #6366f1;
}

.btn-primary {
    --bs-btn-bg: #6366f1;
    --bs-btn-border-color: #6366f1;
    --bs-btn-hover-bg: #4f46e5;
    --bs-btn-hover-border-color: #4f46e5;
    --bs-btn-active-bg: #4338ca;
    --bs-btn-active-border-color: #4338ca;
    --bs-btn-focus-shadow-rgb: 99, 102, 241;
}

.btn-success {
    --bs-btn-bg: #10b981;
    --bs-btn-border-color: #10b981;
    --bs-btn-hover-bg: #059669;
    --bs-btn-hover-border-color: #059669;
    --bs-btn-active-bg: #047857;
    --bs-btn-active-border-color: #047857;
    --bs-btn-focus-shadow-rgb: 16, 185, 129;
}

.btn-danger {
    --bs-btn-bg: #f43f5e;
    --bs-btn-border-color: #f43f5e;
    --bs-btn-hover-bg: #e11d48;
    --bs-btn-hover-border-color: #e11d48;
    --bs-btn-active-bg: #be123c;
    --bs-btn-active-border-color: #be123c;
    --bs-btn-focus-shadow-rgb: 244, 63, 94;
}

.btn-warning {
    --bs-btn-bg: #f59e0b;
    --bs-btn-border-color: #f59e0b;
    --bs-btn-hover-bg: #d97706;
    --bs-btn-hover-border-color: #d97706;
    --bs-btn-active-bg: #b45309;
    --bs-btn-active-border-color: #b45309;
    --bs-btn-focus-shadow-rgb: 245, 158, 11;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
}

.btn-info {
    --bs-btn-bg: #0ea5e9;
    --bs-btn-border-color: #0ea5e9;
    --bs-btn-hover-bg: #0284c7;
    --bs-btn-hover-border-color: #0284c7;
    --bs-btn-active-bg: #0369a1;
    --bs-btn-active-border-color: #0369a1;
    --bs-btn-focus-shadow-rgb: 14, 165, 233;
    --bs-btn-color: #ffffff;
    --bs-btn-hover-color: #ffffff;
}

.dropdown-menu {
    --bs-dropdown-font-size: .875rem;
}

body {
    font-family: "Titillium Web", "Signika", sans-serif;
    font-weight: normal;
    font-size: .875rem;
    background-color: var(--bg-body);
    color: var(--bs-body-color);
    height: 100dvh;
    min-height: 100dvh;
    width: 100vw;
    overflow-x: hidden;
}

input::placeholder {
    color: #888888 !important;
    opacity: .5 !important;
}

textarea::placeholder {
    color: #888888 !important;
    opacity: .5 !important;
}

.form-check-input {
    border-color: #aaa;
}

.btn {
    font-size: 14px;
    transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    /* transform: translateY(1px) scale(0.98) !important; */
}

.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-info {
    color: #ffffff !important;
}

.btn-primary {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-success {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-danger {
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

.btn-warning {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.btn-info {
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-success:hover {
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.3);
}

.btn-warning:hover {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-info:hover {
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:active {
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.15) !important;
}

.btn-success:active {
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.15) !important;
}

.btn-danger:active {
    box-shadow: 0 2px 6px rgba(244, 63, 94, 0.15) !important;
}

.btn-warning:active {
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15) !important;
}

.btn-info:active {
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.15) !important;
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 93px;
    height: 93px;
    text-align: right;
}

.ribbon span {
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 32px;
    transform: rotate(45deg);
    width: 125px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#9bc90d 0%, #79a70a 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 17px;
    right: -29px;
}

.footer {
    height: 5rem;
    background: url("/img/footer.svg") repeat-x bottom center;
    padding: .75rem;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.red span {
    background: linear-gradient(#f70505 0%, #8f0808 100%);
}

.red span::before {
    border-left-color: #8f0808;
    border-top-color: #8f0808;
}

.red span::after {
    border-right-color: #8f0808;
    border-top-color: #8f0808;
}

.blue span {
    background: linear-gradient(#2989d8 0%, #1e5799 100%);
}

.blue span::before {
    border-left-color: #1e5799;
    border-top-color: #1e5799;
}

.blue span::after {
    border-right-color: #1e5799;
    border-top-color: #1e5799;
}

.icon-primary {
    background: var(--accent-primary-soft);
    color: var(--accent-primary);
}

.icon-success {
    background: var(--accent-success-soft);
    color: var(--accent-success);
}

.icon-warning {
    background: var(--accent-warning-soft);
    color: var(--accent-warning);
}

.icon-info {
    background: var(--accent-info-soft);
    color: var(--accent-info);
}

.badge-soft-success {
    background: var(--accent-success-soft);
    color: var(--accent-success);
    font-weight: 600;
}

.badge-soft-warning {
    background: var(--accent-warning-soft);
    color: var(--accent-warning);
    font-weight: 600;
}

.badge-soft-danger {
    background: #fef2f2;
    color: #ef4444;
    font-weight: 600;
}

.form-control,
.form-select {
    font-size: .875rem;
}

.modal {
    z-index: 1056 !important;
}

.modal-backdrop {
    z-index: 1050 !important;
}

div:where(.swal2-container) div:where(.swal2-popup),
div:where(.swal2-container) div:where(.swal2-html-container) {
    font-size: 15px !important;
}

.no-cursor {
    cursor: none;
    pointer-events: none;
}

.img-disabled {
    opacity: 0.5;
    /* Dims the image to look inactive */
    pointer-events: none;
    /* Prevents clicking, hovering, and dragging */
    cursor: not-allowed;
    /* Shows a "no" cursor if pointer-events is active */
    filter: grayscale(100%);
    /* Optional: makes it grayscale */
}

.cl-switch {
    display: flex;
    align-items: center;
    height: 20px;
    /*
  Switcher Style
   */
    /*
  When Checked
   */
    /*
  Switch large style
   */
    /*
  Switch xlarge style
   */
    /*
  Switch Black color style
   */
    /*
  Switch Red color style
   */
    /*
  Switch green color style
   */
    /*
  Switch green color style
   */
}

.cl-switch input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.cl-switch .switcher {
    display: inline-block;
    border-radius: 100px;
    width: 35px;
    height: 15px;
    background-color: #ccc;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
    cursor: pointer;
}

.cl-switch .switcher::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(19, 33, 68, .25);
    border-radius: 50%;
    margin-top: -2.5px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-right: 0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}

.cl-switch .switcher:active:before {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(63, 81, 181, 0.3);
    transition: all, 0.1s;
}

.cl-switch .label {
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    vertical-align: middle;
    margin: 0 5px;
}

.cl-switch input[type="checkbox"]:checked+.switcher {
    background-color: #8591d5;
}

.cl-switch input[type="checkbox"]:checked+.switcher:before {
    left: 100%;
    margin-left: -20px;
    background-color: #3f51b5;
}

.cl-switch [disabled]:not([disabled="false"])+.switcher {
    /* background: #ccc !important; */
}

.cl-switch [disabled]:not([disabled="false"])+.switcher:active:before {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) !important;
}

.cl-switch [disabled]:not([disabled="false"])+.switcher:before {
    background-color: #e2e2e2 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) !important;
}

.cl-switch.cl-switch-large .switcher {
    width: 52px;
    height: 22px;
}

.cl-switch.cl-switch-large .switcher:before {
    width: 30px;
    height: 30px;
    margin-top: -4px;
}

.cl-switch.cl-switch-large .label {
    font-size: 18px;
}

.cl-switch.cl-switch-large input[type="checkbox"]:checked+.switcher:before {
    margin-left: -30px;
}

.cl-switch.cl-switch-xlarge .switcher {
    width: 87px;
    height: 37px;
}

.cl-switch.cl-switch-xlarge .switcher:before {
    width: 50px;
    height: 50px;
    margin-top: -6px;
}

.cl-switch.cl-switch-xlarge .label {
    font-size: 24px;
}

.cl-switch.cl-switch-xlarge input[type="checkbox"]:checked+.switcher:before {
    margin-left: -50px;
}

.cl-switch.cl-switch-black input[type="checkbox"]:checked+.switcher {
    background-color: #676767;
}

.cl-switch.cl-switch-black input[type="checkbox"]:checked+.switcher:before {
    background-color: #343434;
}

.cl-switch.cl-switch-black .switcher:active:before {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(52, 52, 52, 0.3);
}

.cl-switch.cl-switch-red input[type="checkbox"]:checked+.switcher {
    background-color: #ffcece;
}

.cl-switch.cl-switch-red input[type="checkbox"]:checked+.switcher:before {
    background-color: #ff6868;
}

.cl-switch.cl-switch-red .switcher:active:before {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(255, 104, 104, 0.3);
}

.cl-switch.cl-switch-green input[type="checkbox"]:checked+.switcher {
    background-color: #77e4c0;
}

.cl-switch.cl-switch-green input[type="checkbox"]:checked+.switcher:before {
    background-color: #29cc97;
}

.cl-switch.cl-switch-green .switcher:active:before {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(41, 204, 151, 0.3);
}

.cl-switch.cl-switch-orange input[type="checkbox"]:checked+.switcher {
    background-color: #ffc166;
}

.cl-switch.cl-switch-orange input[type="checkbox"]:checked+.switcher:before {
    background-color: #ff9800;
}

.cl-switch.cl-switch-orange .switcher:active:before {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 0 10px rgba(255, 152, 0, 0.3);
}

/* ---------------------------------------------
------------------[IOS style]----------------------------
 --------------------------------------------- */
.cl-switch.ios {
    /*
Switcher Style
 */
    /*
  When Checked
   */
    /*
  Switch large style
   */
    /*
  Switch xlarge style
   */
    /*
  Switch Black color style
   */
    /*
  Switch Red color style
   */
    /*
  Switch green color style
   */
    /*
  Switch green color style
   */
}

.cl-switch.ios .switcher {
    width: 45px;
    height: 24px;
    background-color: #fff;
    border: 1px solid #d3d3d5;
    box-shadow: 0 0 0 0 #4bd964 inset;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.cl-switch.ios .switcher:before {
    width: 24px;
    height: 24px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-top: 0;
    top: -1px;
    right: -1px;
    margin-right: 0;
    border: 1px solid #d3d3d5;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.cl-switch.ios input[type="checkbox"]:checked+.switcher {
    background-color: #fff;
    box-shadow: 0 0 0 20px #4bd964 inset;
}

.cl-switch.ios input[type="checkbox"]:checked+.switcher:before {
    right: 100%;
    margin-right: -22px;
    background-color: #fff;
}

.cl-switch.ios [disabled]:not([disabled="false"])+.switcher {
    background: #ccc !important;
}

.cl-switch.ios [disabled]:not([disabled="false"])+.switcher:active:before {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) !important;
}

.cl-switch.ios [disabled]:not([disabled="false"])+.switcher:before {
    background-color: #e2e2e2 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2) !important;
}

.cl-switch.ios.cl-switch-large .switcher {
    width: 62px;
    height: 34px;
}

.cl-switch.ios.cl-switch-large .switcher:before {
    width: 34px;
    height: 34px;
}

.cl-switch.ios.cl-switch-large .label {
    font-size: 18px;
}

.cl-switch.ios.cl-switch-large input[type="checkbox"]:checked+.switcher:before {
    margin-right: -30px;
}

.cl-switch.ios.cl-switch-xlarge .switcher {
    width: 80px;
    height: 40px;
}

.cl-switch.ios.cl-switch-xlarge .switcher:before {
    width: 40px;
    height: 40px;
    margin-top: 0;
}

.cl-switch.ios.cl-switch-xlarge .label {
    font-size: 24px;
}

.cl-switch.ios.cl-switch-xlarge input[type="checkbox"]:checked+.switcher:before {
    margin-right: -39px;
}

.cl-switch.ios.cl-switch-black .switcher {
    box-shadow: 0 0 0 0 #343434 inset;
}

.cl-switch.ios.cl-switch-black input[type="checkbox"]:checked+.switcher {
    box-shadow: 0 0 0 20px #343434 inset;
    background: #ffffff;
}

.cl-switch.ios.cl-switch-black input[type="checkbox"]:checked+.switcher:before {
    background-color: #fff;
}

.cl-switch.ios.cl-switch-black .switcher:active:before {
    box-shadow: none;
}

.cl-switch.ios.cl-switch-red .switcher {
    box-shadow: 0 0 0 0 #ff6868 inset;
}

.cl-switch.ios.cl-switch-red input[type="checkbox"]:checked+.switcher {
    box-shadow: 0 0 0 20px #ff6868 inset;
    background: #ffffff;
}

.cl-switch.ios.cl-switch-red input[type="checkbox"]:checked+.switcher:before {
    background-color: #fff;
}

.cl-switch.ios.cl-switch-red .switcher:active:before {
    box-shadow: none;
}

.cl-switch.ios.cl-switch-green .switcher {
    box-shadow: 0 0 0 0 #29cc97 inset;
}

.cl-switch.ios.cl-switch-green input[type="checkbox"]:checked+.switcher {
    box-shadow: 0 0 0 20px #29cc97 inset;
    background: #ffffff;
}

.cl-switch.ios.cl-switch-green input[type="checkbox"]:checked+.switcher:before {
    background-color: #fff;
}

.cl-switch.ios.cl-switch-green .switcher:active:before {
    box-shadow: none;
}

.cl-switch.ios.cl-switch-orange .switcher {
    box-shadow: 0 0 0 0 #ff9800 inset;
}

.cl-switch.ios.cl-switch-orange input[type="checkbox"]:checked+.switcher {
    box-shadow: 0 0 0 20px #ff9800 inset;
    background: #ffffff;
}

.cl-switch.ios.cl-switch-orange input[type="checkbox"]:checked+.switcher:before {
    background-color: #fff;
}

.cl-switch.ios.cl-switch-orange .switcher:active:before {
    box-shadow: none;
}

.div-search {
    position: relative;
    min-width: 200px;
}

.div-search::before {
    content: '\F52A';
    font-family: bootstrap-icons !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    opacity: .5;
    z-index: 1000;
    left: .75rem;
}

.div-search input {
    padding-left: 2rem;
}

.col-divider>:not(:first-child) {
    position: relative
}

.col-divider>:not(:first-child)::before {
    position: absolute;
    top: 0;
    left: 0;
    width: .0625rem;
    height: 100%;
    background-color: rgb(231, 234, 243);
    content: ""
}

.col-divider>*,
.col-divider>:first-child,
.col-divider>:last-child {
    padding-top: 0;
    padding-bottom: 0
}

.col-divider-light>:not(:first-child)::before {
    background-color: rgba(255, 255, 255, .1)
}