:root {
    --kt-app-sidebar-width: 265px;
    --kt-app-sidebar-width-actual: 265px;
    --kt-app-sidebar-gap-start: 0px;
    --kt-app-sidebar-gap-end: 0px;
    --kt-app-sidebar-gap-top: 0px;
    --kt-app-sidebar-gap-bottom: 0px;
    --primary-color: #1E1F2C;
    --secondary-color: #592A84;
}

@font-face {
    font-family: 'Almarai', sans-serif;
}

.primary-color {
    color: var(--primary-color) !important;
}
.secondary-color {
    color: var(--secondary-color) !important;
}

.primary-background-color {
    background-color: var(--primary-color) !important;
}
.secondary-background-color {
    background-color: var(--secondary-color) !important;
}

*:not([class^="fa"]){
    font-family: 'El Messiri','Cairo Play', sans-serif;
}

#laravel-notify{
    z-index: 999999;
}

.dataTables_wrapper .dt-buttons {
    display: inline-flex;
    justify-content: center;
    gap: 10px; /* Adjust the gap value as needed */
}

.dataTables_wrapper .buttons-excel,
.dataTables_wrapper .buttons-csv,
.dataTables_wrapper .buttons-print {
    border-radius: 0.475rem !important;
}
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_desc:before {
    display: none !important;
}

.dataTables_scroll {
    text-align: center !important;
}


.dataTables_wrapper{
    position: relative;
}

.dataTables_processing{

    position: absolute;
    top: 50%;
    right: 50%;
    left: 50%;
    width: max-content !important;
    background-color: transparent;
}
.select2-results__options{
    color:#000 !important;
}


  /* Make Select2 consistent with Bootstrap styles */
  .select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    height: 44px !important; /* Set height to 44px */
    padding: 0.375rem 0.75rem !important;
    background-color: #f8f9fa !important;
    color: #495057 !important;
    display: flex !important;
    align-items: center !important;
}

/* Focus state */
.select2-container--default .select2-selection--single:focus {
    border-color: #80bdff !important;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Placeholder color */
.select2-container--default .select2-selection__placeholder {
    color: #6c757d !important;
}

/* Dropdown */
.select2-dropdown {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
}

/* Search box inside dropdown */
.select2-search__field {
    border: 1px solid #dee2e6 !important;
    padding: 0.375rem 0.75rem !important;
}

/* Fix arrow icon alignment */
.select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
}
.select2-container{
    width: 100% !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    display: none;
}

.select2-container .select2-search--inline {
     float: unset !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-search .select2-search__field
 {
    border: unset !important;
 }

.select2-container--bootstrap-5 .select2-selection--multiple
.select2-selection__rendered
.select2-selection__choice .select2-selection__choice__remove {
    margin-left: .25rem;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear,
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear, .select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear
 {
    right: 2.0rem !important;
 }

 .select2-container--bootstrap-5 .select2-selection--single {
    padding: .375rem 2.25rem 2.775rem .75rem !important;
    background: #f5f8fa;
    border: unset;
    border-color: #f5f8fa;
    color: #f5f8fa;
    transition: color 0.2s ease;

 }
  .select2-container--bootstrap-5 .select2-selection--multiple{
        padding: .375rem 2.25rem 1.240rem .75rem !important;
        background: #f5f8fa;
        border: unset;
        border-color: #f5f8fa;
        color: #f5f8fa;
        transition: color 0.2s ease;
  }

  .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered .select2-selection__placeholder,
  .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered
   {
    line-height: 2.5;
}