@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('./bootstrap.min.css');
@import url('../fonts/Cairo-font.css');

:root {
    --bs-black: #242424;
    --bs-black-rgb: 36, 36, 36;
    --placeholder-color: rgba(36, 36, 36, 0.5);
    --linear-bg-primary: #4F398B;
    --linear-bg-secondary: #7264DC;
    /*------btn-animation-----*/
    --y-hover-offset: -0.25em;
    --x-hover-offset: 0em;
    --y-active-offset: 0em;
    --x-active-offset: 0em;
    --btn-hover-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.25);
    --btn-focus-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
    --btn-active-shadow: 0 0 0 0.55rem rgba(var(--bs-primary-rgb), 0.25);
    /*------bs-primary button-----*/
    --bs-primary: #4F398B;
    --bs-primary-rgb: 79, 57, 139;
    --bs-primary-hover: #6b4fb8;
    --bs-primary-hover-rgb: 107, 79, 184;
    --bs-primary-hover-border-color: #5b3ea9;
    --bs-primary-active: #45317a;
    --bs-primary-active-rgb: 69, 49, 122;
    --bs-primary-active-border-color: #2e2056;
    --bs-primary-bg: linear-gradient(to right, var(--bs-primary), #7264DC);
    --bs-primary-hover-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.25);
    --bs-primary-focus-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
    --bs-primary-active-shadow: 0 0 0 0.55rem rgba(var(--bs-primary-rgb), 0.25);
    --body-bg: #F7F8F9;
    --widget-bg: #fff;
    --box-shadow: 5px 5px 25px 0px rgba(0 0 0 / 8%);
    --btn-shadow: 5px 5px 25px 0px rgba(0 0 0 / 8%);
    /*----------------*/
    --sidebar-link_bar-active-first-bg: #503B8E;
    --sidebar-link_bar-active-second-bg: #7264DC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", serif;
    font-style: normal;
}

a {
    transition: 0.2s all;
    display: inline-block;
}

a,
a:hover {
    text-decoration: none;
    color: inherit;
}

body {
    color: rgba(var(--bs-black-rgb), 1);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--body-bg);
}

.main-content {
    overflow: auto;
    align-self: stretch;
    height: 100%;
    padding: 30px 12px;
}

.btn {
    transition: background-color 0.3s ease;
    position: relative;
    --bs-btn-border-radius: 8px;
    transition: 0.2s all;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.nav-brand{
    margin-inline-end: 30px;
}

@media (hover:hover) {
    .btn:hover {
        transform: translateY(var(--y-hover-offset)) translateX(var(--x-hover-offset));
        box-shadow: var(--btn-hover-shadow);
    }

    .btn:focus {
        box-shadow: var(--btn-focus-shadow);
    }

    .btn:active {
        transform: translateY(var(--y-active-offset)) translateX(var(--x-active-offset));
        box-shadow: var(--btn-active-shadow);
    }
}

/* @media (hover:none) {
    .btn:active {
        opacity: 0.9;
        box-shadow: var(--bs-primary-active-shadow);
    }
} */



.btn-primary {
    background-image: var(--bs-primary-bg);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary-hover);
    --bs-btn-hover-border-color: var(--bs-primary-hover-border-color);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-bg: var(--bs-primary-active);
    --bs-btn-active-border-color: var(--bs-primary-active-border-color);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* @media (hover:none) {
    .btn-primary:focus {
        opacity: 0.9;
        box-shadow: var(--bs-primary-focus-shadow);
    }

    .btn-primary:active {
        opacity: 0.9;
        box-shadow: var(--bs-primary-active-shadow);
    }
} */

.input-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
label {
    margin-bottom: 0;
}
.input-container label {
    order: 0;
    font-weight: 500;
}

.input-container label.form-label {
    margin-bottom: 0;
}

.input-container .text-danger {
    order: 2;
}

.input-container :is(input, .form-control) {
    border-radius: 8px;
    border-color: #0D3735;
}



:is(input, .form-control):focus {
    box-shadow: var(--bs-primary-focus-shadow);
}

input[type="search"] {
    background-image: url('../images/search-icon.png');
    background-size: 18px;
    background-position: 98% 50%;
    background-repeat: no-repeat;
}

:root[dir="rtl"] input[type="search"] {
    background-position: 2% 50%;
}

.full-input {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-image: linear-gradient(to right, var(--linear-bg-primary), var(--linear-bg-secondary));
    padding-block: 20px;
    padding-inline: 16px;
    z-index: 1024;
}

.header .logo {
    width: 150px;
    object-fit: contain;
}


@media (min-width: 821px) {
    .header {
        padding-inline: 32px;
    }

    .header .search-input {
        width: auto;
    }

    .navbar .navbar-brand {
        margin-inline-end: 100px;
    }
}

@media (min-width: 1200px) {
    .header {
        padding-inline: 48px;
    }

    .navbar .navbar-brand {
        margin-inline-end: 150px;
    }
}

.select2-container .selection {
    display: block;
    height: 100%;
}

.select2-container--default .select2-selection--single {
    border: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--bs-primary) transparent transparent transparent;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.header .operations-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 820px) {
    [dir="rtl"] .operations-container .dropdown-menu {
        left: unset;
        right: 0;
    }
}

@media (min-width: 821px) {
    .header .operations-container {
        margin-inline-start: auto;
    }

    .header .operations-container .dropdown-menu {
        left: unset;
        right: 0;
    }

    [dir="rtl"] .header .operations-container .dropdown-menu {
        right: unset;
        left: 0;
    }
}

.navbar-collapse.show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.notification-badge {
    transition: 0.2s all;
    position: absolute;
    min-width: 17px;
    min-height: 17px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #e23535;
    color: #fff;
    top: 0;
    right: 0;
    transform: translateY(-10px);
    z-index: 1024;
}

.operations-container .dropdown-toggle {
    display: flex;
    align-items: center;
    background-color: var(--widget-bg);
    border-radius: 6px;
    gap: 10px;
    padding-inline-end: 10px;
    height: 100%;
}

:is(.notification-container, .dropdown-shortcuts) .dropdown-toggle {
    padding: 2px;
}

.notification-container .dropdown-toggle::after {
    display: none;
}

.operations-container .icon-container {
    padding: 12px;
    background-color: rgba(42, 111, 219, 0.2);
    color: var(--bs-primary);
    border-radius: 6px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-section {
    flex: 1;
    display: grid;
    align-items: start;
}

.content-section .sidebar {
    transition: 0.2s all;
    background-color: var(--widget-bg);
    padding-block: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: auto;
    position: sticky;
    top: 140px;
}

@media (max-width: 991px) {
    .content-section .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100%;
        max-width: 100%;
        border-start-start-radius: 0;
        border-end-start-radius: 0;
        box-shadow: var(--box-shadow);
        z-index: 1024;
        min-width: 275px;
    }

    .content-section .sidebar.show {
        left: 0;
    }

    :root[dir="rtl"] .content-section .sidebar {
        left: unset;
        right: -100%;
    }

    :root[dir="rtl"] .content-section .sidebar.show {
        left: unset;
        right: 0;
    }

}

@media (min-width: 992px) {
    .content-section .sidebar {
        margin-inline-start: 20px;
        height: fit-content;
        max-height: calc(100vh - 140px - 32px);
    }
}

.sidebar .sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px;
    text-decoration: none;
    color: var(--bs-black);
    transition: 0.2s all;
    cursor: pointer;
    font-size: 18px;
}

.sidebar .sidebar-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.sidebar .sidebar-link.active {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.sidebar .sidebar-link.active::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    border-start-start-radius: 10px;
    border-end-start-radius: 10px;
    background-image: linear-gradient(to bottom, var(--sidebar-link_bar-active-first-bg), var(--sidebar-link_bar-active-second-bg));
}

:root[dir="rtl"] .sidebar .sidebar-link.active::after {
    right: unset;
    left: 0;
}

.sidebar .sidebar-link .sidebar-link_icon {
    color: var(--bs-primary);
    font-size: 28px;
}

.menu-sub {
    padding: 0;
    padding-top: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.menu-sub .sidebar-link {
    position:relative;
    padding-inline-start: 36px;
}
.menu-sub .sidebar-link::before{
    content:"";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--bs-primary);
}
@media (min-width: 992px) {
    .content-section {
        grid-template-columns: 300px 1fr;
    }
}

@media (min-width: 1200px) {
    .content-section {
    }
}

.widget-box {
    width: 100%;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.widget-box .widget-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.widget-box .widget-header .widget-title {
    position: relative;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-box .widget-header .widget-title::before {
    content: "";
    display: block;
    width: 6px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--bs-primary);
}

.widget-box .widget-header .buttons {
    margin-inline-start: auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.widget-box .widget-header .buttons .btn {
    --bs-btn-padding-x: 30px;
    --bs-btn-padding-y: 10px;
}

.widget-box .widget-body {
    flex: 1;
}

/* Ripple effect styles */
.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    /* Circular ripple */
    transform: scale(0);
    /* Start small */
    animation: ripple-animation 0.6s ease-out;
    /* Smooth scaling animation */
    pointer-events: none;
    /* Prevent interfering with button click */
}

/* Ripple animation */
@keyframes ripple-animation {
    to {
        transform: scale(10);
        /* Expand outward */
        opacity: 0;
        /* Fade out */
    }
}

.grid {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.span1 {
    grid-column: span 1;
}

@media (min-width: 821px) {

    .span2,
    .span3,
    .span4,
    .span5 {
        grid-column: span 2;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {

    .span3,
    .span4,
    .span5 {
        grid-column: span 3;
    }

    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .span4 {
        grid-column: span 4;
    }

    .span5 {
        grid-column: span 5;
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }
}


.dropdown-shortcuts .dropdown-toggle::after {
    display: none;
}

.dropdown-item.active,
.dropdown-item:active {
    --bs-dropdown-link-active-bg: rgba(var(--bs-primary-rgb), 0.2)
}

.breadcrumb-wrapper {
    display: block;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    font-size: 18px;
    font-weight:bold;
    color: var(--bs-primary);
    margin-bottom: 16px;
    text-decoration: none;
}



.sidebar .sidebar-link[data-bs-toggle]::before {
    position: absolute;
    right: 15px;
    display: block;
    margin-inline-start: auto;
    border-style: solid;
    border-width: 0.15em 0.15em 0 0;
    content: '';
    height: 0.45em;
    width: 0.45em;
    transform: rotate(135deg);
    transition: 0.2s all;
}

[dir="rtl"] .sidebar .sidebar-link[data-bs-toggle]::before {
    right: unset;
    left: 15px;
}

.sidebar .sidebar-link[data-bs-toggle][aria-expanded="true"]::before {
    transform: rotate(-45deg);
}

.hide-arrow::after {
    display: none;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: none;
}

.breadcrumb-item:not(.breadcrumb-item:last-child) {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item:not(.breadcrumb-item:last-child)::after {
    display: block;
    margin-inline-start: auto;
    border-style: solid;
    border-width: 0.15em 0.15em 0 0;
    content: '';
    height: 0.45em;
    width: 0.45em;
    margin-inline: 1rem;
    transform: rotate(45deg);
}

:root[dir="rtl"] .breadcrumb-item:not(.breadcrumb-item:last-child)::after {
    transform: rotate(-135deg);
}

.table {
    margin-bottom: 0px;
    --bs-table-bg: transparent;
    border-radius: 8px;
    border-collapse: separate !important;
    border-spacing: 0px;
}

.table-responsive::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.table-responsive::-webkit-scrollbar-track {
    background-color: #ccc;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: var(--bs-primary);
}

table.dataTable {
    border-collapse: separate !important;
}

.table :is(td, th) {
    border-inline-end: 1px solid #707070;
    border-bottom: 1px solid #707070;
    vertical-align: middle;
    padding: 15px;
}

.table th:last-child {
    border-inline-end: unset;
}

.table tbody tr td:first-child {
    border-inline-start: 1px solid #707070;
}

.table thead {
    background-color: #4F398B;
}

.table thead th {
    color: #fff;
    font-weight: 500;
    border-width: 1px;
}

.table thead th:first-child {
    border-inline-start: 1px solid var(--bs-primary);
}

.table thead th:last-child {
    border-inline-end: 1px solid var(--bs-primary);
}

.table tbody tr {
    border: 0;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: calc(100% - 90px);
    }
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-link {
    text-align: center;
    color: #4F398B;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination .page-item.active .page-link {
    background-color: #4F398B;
    border-color: #4F398B;
    color: #fff;
}

.select2.select2-container {
    border: 1px solid #0D3735;
    padding: 2px;
    width: -webkit-fill-available !important;
    max-width: 100% !important;
}

.select2-container--default .select2-selection--single,
.select2-container .selection,
.select2.select2-container {
    border-radius: 8px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: unset;
    margin-inline-start: 26px;
}
    /* Modefied By Eryani 12-03-2025 */
.select2-container--default .select2-selection--single .select2-selection__rendered,.select2-selection__choice {
    /*background-color: #ddd;*/
    background-color: inherit !important;
    border-radius: 8px;
    padding: 2px 8px;
}
/* Added By Eryani 12-03-2025 */
.select2-container--disabled .selection .select2-selection .select2-selection__arrow {
    display: none;
}

.nav-tabs {
    gap: 10px;
    border-bottom: 0;
}

.nav-tabs .nav-item .nav-link {
    color: var(--bs-primary) !important;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border-radius: 8px;
    border-color: var(--bs-border-color);
}

.tab-content {
    padding-top: 16px;
}

.table tbody tr {
    transition: 0.2s all;
}

.table tbody tr[data-bs-toggle="tooltip"] {
    cursor: pointer;
}

.table tbody tr:hover {
    background-color: #ddd;
}

.btn-primary:not(:disabled):not(.disabled):focus:active,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: var(--bs-primary-active-shadow)
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle,
.btn-primary.focus,
.btn-primary:focus {
    border-color: var(--bs-primary);
}

.form-control:focus {
    border-color: var(--bs-primary);
}

.breadcrumb-item+.breadcrumb-item::before {
    float: unset;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.buttons-container {
    display: flex;
    justify-content:center;
    gap: 8px;
    margin-top: 16px;
}

/*---------- 6/1/2025 ----------*/

.select2-container--default .select2-selection--single {
    display: grid;
}

.table thead th {
    border-top: unset
}

.table thead tr:first-child :is(td, th):first-child {
    border-start-start-radius: 8px;
}

.table thead tr:first-child :is(td, th):last-child {
    border-start-end-radius: 8px;
}

.table tbody,
.table tbody tr:last-child {
    border-end-start-radius: 8px;
    border-end-end-radius: 8px;
}

.table tbody tr:last-child :is(td, th):first-child {
    border-end-start-radius: 8px;
}

.table tbody tr:last-child :is(td, th):last-child {
    border-end-end-radius: 8px;
}

table.dataTable td,
table.dataTable th {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.breadcrumb-item.active {
    color: #242424;
}

.form-select {
    border-color: #0D3735;
}

td>[class*="bx-"],
.edit-icon {
    font-size: 20px;
    width: fit-content;
    padding: 4px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-inline: auto !important;
    margin-block: 8px;
}

@media (hover:hover) {

    td>[class*="bx-"]:hover,
    .edit-icon:hover {
        transform: translateY(-0.25em);
    }

    td>[class*="bx-"]:active,
    .edit-icon:active {
        transform: translateY(0em);
    }
}

td>[class*="bx-edit"],
.edit-icon {
    color: #4F398B;
    background-color: rgba(79, 57, 139, 0.1);
}

td>[class*="bx-trash"] {
    color: rgb(226, 53, 53);
    background-color: rgba(226, 53, 53, 0.1);
}

/* 8/1/2025 */
#close-sidebar {
    padding: 25px;
    position: sticky;
    top: 0;
    z-index: 1024;
}

.content-section .sidebar {
    overscroll-behavior: none;
}

.content-section .sidebar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.content-section .sidebar::-webkit-scrollbar-track {
    background-color: #ccc;
    border-radius: 10px;
}

.content-section .sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(var(--bs-primary-rgb), 0.7);
    border-radius: 10px;
}

@media (max-width: 991px) {
    .content-section .sidebar {
        padding-block: 0px;
    }
}

/* 12/1/2025 */

.form-control {
    --bs-border-color: #0D3735;
}

/* 13/1/2025 */

.grid .buttons-container {
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: 0;
}

.chart-container {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 350px;
    overflow: auto;
}

.chart-container canvas {
    max-height: 100%;
}

.grid .widget-box {
    margin-bottom: 0;
}

/* 14/1/2025 */

.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1023;
    cursor: pointer;
    margin-right: unset;
    margin-inline-start: 26px;
}
:root[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__clear{
    right: unset;
    left: 25px;
}
/* 16/1/2025 */
.select2-container--default .select2-selection--multiple {
    border: 0;
    height: 100%;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 0;
}

.toast {
    width: 100%;
}

.select2-container--disabled {
    border: 0 !important;
}

.select2-container--default.select2-container--disabled :is(.select2-selection--single, .select2-selection__rendered, .select2-selection--multiple) {
    background-color: transparent;
}

.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    color: #000;
    padding-inline: 0px;
}

.select2-container--disabled .select2-selection__choice {
    padding-left: 0 !important;
}

.form-control:not(.flatpickr-input):disabled,
.form-control[readonly]:not(.flatpickr-input) {
    pointer-events: none;
    background-color: transparent !important;
    border: 0 !important;
    padding-inline: 0;
    resize: none;
}

/* Tooltip Styles */
.custom-tooltip {
    position: absolute;
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -5px);
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.custom-tooltip::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgb(0, 0, 0) transparent transparent transparent;
}

.custom-tooltip.show {
    opacity: 1;
    transform: translate(-50%, 0);
}


.tooltip {
    display: none;
}

/* 28/1/2025 */

.tooltip-primary {
    background-color: #0d6efd;
    color: #fff !important;
}

.tooltip-success {
    background-color: #198754;
    color: #fff;
}

.tooltip-danger {
    background-color: #dc3545;
    color: #fff;
}

.tooltip-info {
    background-color: #0dcaf0;
    color: #000;
}

.tooltip-warning {
    background-color: #ffc107;
    color: #000;
}
.tooltip-purple {
    background-color: #4F398B;
    color: #fff;
}
.tooltip-purple-light {
    background-color: #7264DC;
    color: #fff;
}
.nav-link {
    --bs-nav-link-color: var(--bs-primary);
}

.nav-link:focus,
.nav-link:hover {
    color: var(--bs-primary-hover);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--bs-primary)
}

/* Added By Eryani For DataTable Highlight 19-03-2025 */

table.dataTable span.highlight {
    background-color: #FFFF88 !important;
    border-radius: 0.28571429rem !important;
}

table.dataTable span.column_highlight {
    background-color: #ffcc99 !important;
    border-radius: 0.28571429rem !important;
}

/* 25/2/2025 */
.dropdown-item {
    text-align: start;
    display: flex;
    align-items: center;
    gap: 10px;
}

[dir="rtl"] :is(.fa-chevron-right, .fa-chevron-left) {
    transform: rotate(180deg);
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 95%;
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 95%;
    }
}

div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter{
    margin-top: 0;
}

.btn-group > .btn-group:not(:last-child) > .btn, .btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-start-end-radius: 0px;
    border-end-end-radius: 0px;
}

.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:nth-child(n+3), .btn-group > :not(.btn-check) + .btn {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-start-start-radius: 0px;
    border-end-start-radius: 0px;
}

.widget-box .widget-header .buttons .btn.btn-primary.dropdown-toggle {
    --bs-btn-padding-x: 10px;
    --bs-btn-padding-y: 10px;
}
.datatables-basicM thead {
    background-image: linear-gradient(to right, var(--linear-bg-primary), var(--linear-bg-secondary));
}
.table thead {
    background-image: linear-gradient(to right, var(--linear-bg-primary), var(--linear-bg-secondary));
}