/* DataTable Top Buttons */
.dt-buttons {
  margin-top: 7px !important;
}

.dt-button {
  font-size: 10px !important;
  padding: 4px 10px 4px 10px !important;
}

.buttons-copy {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #343a40 !important;
}

.buttons-csv {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #343a40 !important;
}

.buttons-print {
  background-color: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  color: #343a40 !important;
}

/* DataTable */
.dataTables_filter,
.dataTables_length {
  margin-bottom: 0px !important;
  margin-top: -27px !important;
  text-align: right !important;
}

.table-responsive::-webkit-scrollbar {
  -webkit-appearance: none;
}

/* Select 2 */
/* .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #539bff !important;
    border-color: #539bff !important;
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #539bff !important;
    border-color: #539bff !important;
    color: #fff !important;
} */

.sidebar-nav ul .sidebar-item.selected > .sidebar-link,
.sidebar-nav ul .sidebar-item.selected > .sidebar-link.active,
.sidebar-nav ul .sidebar-item > .sidebar-link.active {
  background-color: #ff7800 !important;
  color: #fff !important;
}

.sidebar-nav ul .sidebar-item .sidebar-link:hover {
  background-color: #03133f1a;
  color: #ffaa60 !important;
}

.btn-primary {
  background-color: #ff7800 !important;
  border-color: #ff7800 !important;
}

.btn-primary:hover {
  background-color: #e66e00 !important;
  border-color: #e66e00 !important;
}

/* use brown shade */
.btn-secondary {
  background-color: #9b6e2d !important;
  border-color: #9b6e2d !important;
}

.btn-outline-primary {
  color: #ff7800 !important;
  border-color: #ff7800 !important;
}

/* .btn:hover {
    color: #fff !important;
    background-color: #ff7800 !important;
    text-decoration: none !important;
} */

.form-check-input:checked {
  background-color: #ff7800 !important;
  border-color: #ff7800 !important;
}

.buttons-copy,
.buttons-csv,
.buttons-print {
  color: #ffffff !important;
}

.table-responsive
  .dataTables_wrapper
  .dataTables_paginate
  .paginate_button.current {
  background-color: #ff7800 !important;
  border-color: #ff7800 !important;
  color: #fff !important;
}

a {
  color: #ff7800;
}

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

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: #ff7800 !important;
  color: #fff !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  color: #fff !important;
}

.text-primary {
  color: #ff7800 !important;
}

.text-secondary {
  color: #9b6e2d !important;
}

.btn-download-icon {
  --bs-btn-color: #b17c2c;
  --bs-btn-border-color: #b17c2c;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b17c2c;
  --bs-btn-hover-border-color: #b17c2c;
  --bs-btn-focus-shadow-rgb: 73, 190, 255;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #b17c2c;
  --bs-btn-active-border-color: #b17c2c;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #b17c2c;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #b17c2c;
  --bs-gradient: none;
}

.bg-light-card {
  background-color: #eee9e2 !important;
  border-color: #dee2e6 !important;
}
.simplebar-content-wrapper {
  padding-bottom: 100px;
}

.user-profile-tab .nav-item .nav-link.active {
  color: #9b6e2d;
  border-bottom: 2px solid #9b6e2d;
}

/* When NOT current financial year → override sidebar active highlight */
.not-current-fy .sidebar-nav ul .sidebar-item > .sidebar-link.active,
.not-current-fy .sidebar-nav ul .sidebar-item.selected > .sidebar-link,
.not-current-fy .sidebar-nav ul .sidebar-item.selected > .sidebar-link.active {
  background-color: #9b6e2d !important; /* new color in old FY */
  color: #fff !important;
}

.not-current-fy .sidebar-nav ul .sidebar-item .sidebar-link:hover {
  background-color: #03133f1a;
  color: #bc9c73 !important;
}

/* OLD FY → Brown Theme */
.not-current-fy
  .select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #9b6e2d !important;
  color: #fff !important;
}
