/**
 * BKN Layanan Theme - Standard Color Override
 * ============================================
 * Standar warna resmi untuk layanan BKN:
 * - Primary & Info: #269DD8 (Biru BKN - segar, profesional)
 * - Warning: #FBB92E (Kuning cerah)
 * - Danger: #DE1D5E (Magenta/Pink bold)
 * - Success: #77CE94 (Hijau segar)
 * 
 * Dark scale dan background mengikuti standar elegan BKN
 */

:root,
[data-bs-theme="light"] {
  /* ==========================================
   * PRIMARY COLORS - BKN Standard
   * ========================================== */
  
  /* Primary (Biru BKN) */
  --bs-primary: #269DD8;
  --bs-primary-rgb: 38, 157, 216;
  --bs-primary-text-emphasis: #0f4f6d;
  --bs-primary-bg-subtle: #d4edf8;
  --bs-primary-border-subtle: #a9dbf1;
  
  /* Info (sama dengan Primary) */
  --bs-info: #269DD8;
  --bs-info-rgb: 38, 157, 216;
  --bs-info-text-emphasis: #0f4f6d;
  --bs-info-bg-subtle: #d4edf8;
  --bs-info-border-subtle: #a9dbf1;
  
  /* Warning (Kuning BKN) */
  --bs-warning: #FBB92E;
  --bs-warning-rgb: 251, 185, 46;
  --bs-warning-text-emphasis: #644a12;
  --bs-warning-bg-subtle: #fef1d5;
  --bs-warning-border-subtle: #fde3ab;
  
  /* Danger (Magenta BKN) */
  --bs-danger: #DE1D5E;
  --bs-danger-rgb: 222, 29, 94;
  --bs-danger-text-emphasis: #590c26;
  --bs-danger-bg-subtle: #f9d2df;
  --bs-danger-border-subtle: #f3a5bf;
  
  /* Success (Hijau BKN) */
  --bs-success: #77CE94;
  --bs-success-rgb: 119, 206, 148;
  --bs-success-text-emphasis: #30533b;
  --bs-success-bg-subtle: #e3f5ea;
  --bs-success-border-subtle: #c7ead4;
  
  /* ==========================================
   * DARK SCALE - BKN Elegant
   * ========================================== */
  --bs-dark: #111928;
  --bs-dark-rgb: 17, 25, 40;
  
  /* ==========================================
   * BACKGROUND COLORS
   * ========================================== */
  --bs-body-bg: #F8F7F7;
  --bs-body-bg-rgb: 248, 247, 247;
  
  /* ==========================================
   * LINK COLORS
   * ========================================== */
  --bs-link-color: #269DD8;
  --bs-link-color-rgb: 38, 157, 216;
  --bs-link-hover-color: #1e7db0;
  --bs-link-hover-color-rgb: 30, 125, 176;
  
  /* ==========================================
   * FORM VALIDATION COLORS
   * ========================================== */
  --bs-form-valid-color: #77CE94;
  --bs-form-valid-border-color: #77CE94;
  --bs-form-invalid-color: #DE1D5E;
  --bs-form-invalid-border-color: #DE1D5E;
  
  /* ==========================================
   * BORDER & SHADOW ADJUSTMENTS
   * ========================================== */
  --bs-border-color: #E5E7EB;
}

/* ============================================
 * BKN CUSTOM COLOR UTILITIES
 * ============================================ */

/* Primary */
.text-primary {
  color: #269DD8 !important;
}

.bg-primary {
  background-color: #269DD8 !important;
}

a.bg-primary:hover,
a.bg-primary:focus {
  background-color: #1e7db0 !important;
}

.bg-label-primary {
  background-color: #d4edf8 !important;
  color: #269DD8 !important;
}

.bg-gradient-primary {
  background-image: linear-gradient(45deg, #269DD8, #7bcbf0) !important;
}

.border-primary {
  border-color: #269DD8 !important;
}

/* Info */
.text-info {
  color: #269DD8 !important;
}

.bg-info {
  background-color: #269DD8 !important;
}

a.bg-info:hover,
a.bg-info:focus {
  background-color: #1e7db0 !important;
}

.bg-label-info {
  background-color: #d4edf8 !important;
  color: #269DD8 !important;
}

.bg-gradient-info {
  background-image: linear-gradient(45deg, #269DD8, #7bcbf0) !important;
}

.border-info {
  border-color: #269DD8 !important;
}

/* Warning */
.text-warning {
  color: #FBB92E !important;
}

.bg-warning {
  background-color: #FBB92E !important;
}

a.bg-warning:hover,
a.bg-warning:focus {
  background-color: #e5a71e !important;
}

.bg-label-warning {
  background-color: #fef1d5 !important;
  color: #b38320 !important;
}

.bg-gradient-warning {
  background-image: linear-gradient(45deg, #FBB92E, #fdd583) !important;
}

.border-warning {
  border-color: #FBB92E !important;
}

/* Danger */
.text-danger {
  color: #DE1D5E !important;
}

.bg-danger {
  background-color: #DE1D5E !important;
}

a.bg-danger:hover,
a.bg-danger:focus {
  background-color: #b8174d !important;
}

.bg-label-danger {
  background-color: #f9d2df !important;
  color: #DE1D5E !important;
}

.bg-gradient-danger {
  background-image: linear-gradient(45deg, #DE1D5E, #eb7a9e) !important;
}

.border-danger {
  border-color: #DE1D5E !important;
}

/* Success */
.text-success {
  color: #77CE94 !important;
}

.bg-success {
  background-color: #77CE94 !important;
}

a.bg-success:hover,
a.bg-success:focus {
  background-color: #5fbf7c !important;
}

.bg-label-success {
  background-color: #e3f5ea !important;
  color: #4a9e64 !important;
}

.bg-gradient-success {
  background-image: linear-gradient(45deg, #77CE94, #b5e5c6) !important;
}

.border-success {
  border-color: #77CE94 !important;
}

/* ============================================
 * BKN DARK SCALE UTILITIES
 * ============================================ */
.dark-1 { color: #111928; }
.dark-2 { color: #1F2A37; }
.dark-3 { color: #374151; }
.dark-4 { color: #4B5563; }
.dark-5 { color: #6B7280; }
.dark-6 { color: #9CA3AF; }
.dark-7 { color: #D1D5DB; }
.dark-8 { color: #E5E7EB; }
.dark-9 { color: #f9f9f9; }

.bg-dark-1 { background-color: #111928 !important; }
.bg-dark-2 { background-color: #1F2A37 !important; }
.bg-dark-3 { background-color: #374151 !important; }
.bg-dark-4 { background-color: #4B5563 !important; }
.bg-dark-5 { background-color: #6B7280 !important; }
.bg-dark-6 { background-color: #9CA3AF !important; }
.bg-dark-7 { background-color: #D1D5DB !important; }
.bg-dark-8 { background-color: #E5E7EB !important; }
.bg-dark-9 { background-color: #f9f9f9 !important; }

/* Primary Background Scale */
.bg-primary-200 { background-color: #F8F7F7 !important; }
.bg-primary-300 { background-color: #F2f0f0 !important; }

/* ============================================
 * BUTTON STYLES - BKN Standard
 * Override colors.min.css and theme vendor CSS
 * ============================================ */

/* Primary Button - with !important to override vendor CSS */
.btn-primary,
.btn.btn-primary,
button.btn-primary,
a.btn-primary,
input.btn-primary,
.btn-primary.waves-effect,
.btn-primary.waves-effect.waves-float,
.btn-primary.waves-effect.waves-float.waves-light {
  color: #fff !important;
  background-color: #269DD8 !important;
  border-color: #269DD8 !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
.btn-primary.waves-effect:hover,
.btn-primary:hover:not(.disabled):not(:disabled) {
  color: #fff !important;
  background-color: #1e7db0 !important;
  border-color: #1e7db0 !important;
  box-shadow: 0 8px 25px -8px #269DD8 !important;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-primary.focus,
.btn.btn-primary:focus,
.btn-primary.waves-effect:focus {
  color: #fff !important;
  background-color: #1e7db0 !important;
  border-color: #1e7db0 !important;
  box-shadow: 0 0 0 0.2rem rgba(38, 157, 216, 0.35) !important;
}

.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show.dropdown-toggle,
.show > .btn-primary.dropdown-toggle {
  color: #fff !important;
  background-color: #1a6d9c !important;
  border-color: #1a6d9c !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: #fff !important;
  background-color: #269DD8 !important;
  border-color: #269DD8 !important;
  opacity: 0.65;
}

/* Button group with primary */
.btn-group .btn-primary,
.input-group .btn-primary {
  border-right-color: #1e7db0 !important;
  border-left-color: #1e7db0 !important;
}

.btn-group-vertical .btn-primary {
  border-top-color: #1e7db0 !important;
  border-bottom-color: #1e7db0 !important;
}

/* Waves effect ripple color for primary */
.btn-primary.waves-effect .waves-ripple {
  background: radial-gradient(rgba(38, 157, 216, 0.2) 0, rgba(38, 157, 216, 0.3) 40%, rgba(38, 157, 216, 0.4) 50%, rgba(38, 157, 216, 0.5) 60%, rgba(255, 255, 255, 0) 70%) !important;
}

.btn-outline-primary {
  color: #269DD8;
  border-color: #269DD8;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #269DD8;
  border-color: #269DD8;
}

.btn-label-primary {
  color: #269DD8;
  border-color: #d4edf8;
  background: #d4edf8;
}

.btn-label-primary:hover {
  border-color: #269DD8 !important;
  background: #269DD8 !important;
  color: #fff !important;
}

/* Info Button */
.btn-info {
  color: #fff;
  background-color: #269DD8;
  border-color: #269DD8;
}

.btn-info:hover {
  color: #fff !important;
  background-color: #1e7db0 !important;
  border-color: #1e7db0 !important;
}

.btn-outline-info {
  color: #269DD8;
  border-color: #269DD8;
}

.btn-outline-info:hover {
  color: #fff;
  background-color: #269DD8;
  border-color: #269DD8;
}

.btn-label-info {
  color: #269DD8;
  border-color: #d4edf8;
  background: #d4edf8;
}

.btn-label-info:hover {
  border-color: #269DD8 !important;
  background: #269DD8 !important;
  color: #fff !important;
}

/* Warning Button */
.btn-warning {
  color: #111928;
  background-color: #FBB92E;
  border-color: #FBB92E;
}

.btn-warning:hover {
  color: #111928 !important;
  background-color: #e5a71e !important;
  border-color: #e5a71e !important;
}

.btn-outline-warning {
  color: #b38320;
  border-color: #FBB92E;
}

.btn-outline-warning:hover {
  color: #111928;
  background-color: #FBB92E;
  border-color: #FBB92E;
}

.btn-label-warning {
  color: #b38320;
  border-color: #fef1d5;
  background: #fef1d5;
}

.btn-label-warning:hover {
  border-color: #FBB92E !important;
  background: #FBB92E !important;
  color: #111928 !important;
}

/* Danger Button */
.btn-danger {
  color: #fff;
  background-color: #DE1D5E;
  border-color: #DE1D5E;
}

.btn-danger:hover {
  color: #fff !important;
  background-color: #b8174d !important;
  border-color: #b8174d !important;
}

.btn-outline-danger {
  color: #DE1D5E;
  border-color: #DE1D5E;
}

.btn-outline-danger:hover {
  color: #fff;
  background-color: #DE1D5E;
  border-color: #DE1D5E;
}

.btn-label-danger {
  color: #DE1D5E;
  border-color: #f9d2df;
  background: #f9d2df;
}

.btn-label-danger:hover {
  border-color: #DE1D5E !important;
  background: #DE1D5E !important;
  color: #fff !important;
}

/* Success Button */
.btn-success {
  color: #fff;
  background-color: #77CE94;
  border-color: #77CE94;
}

.btn-success:hover {
  color: #fff !important;
  background-color: #5fbf7c !important;
  border-color: #5fbf7c !important;
}

.btn-outline-success {
  color: #4a9e64;
  border-color: #77CE94;
}

.btn-outline-success:hover {
  color: #fff;
  background-color: #77CE94;
  border-color: #77CE94;
}

.btn-label-success {
  color: #4a9e64;
  border-color: #e3f5ea;
  background: #e3f5ea;
}

.btn-label-success:hover {
  border-color: #77CE94 !important;
  background: #77CE94 !important;
  color: #fff !important;
}

/* ============================================
 * ALERT STYLES
 * ============================================ */

.alert-primary {
  background-color: #d4edf8;
  border-color: #a9dbf1;
  color: #0f4f6d;
}

.alert-primary .alert-link {
  color: #0a3a50;
}

.alert-info {
  background-color: #d4edf8;
  border-color: #a9dbf1;
  color: #0f4f6d;
}

.alert-info .alert-link {
  color: #0a3a50;
}

.alert-warning {
  background-color: #fef1d5;
  border-color: #fde3ab;
  color: #644a12;
}

.alert-warning .alert-link {
  color: #4a370d;
}

.alert-danger {
  background-color: #f9d2df;
  border-color: #f3a5bf;
  color: #590c26;
}

.alert-danger .alert-link {
  color: #42091c;
}

.alert-success {
  background-color: #e3f5ea;
  border-color: #c7ead4;
  color: #30533b;
}

.alert-success .alert-link {
  color: #233d2c;
}

/* ============================================
 * BADGE STYLES
 * ============================================ */

.badge.bg-primary {
  background-color: #269DD8 !important;
}

.badge.bg-info {
  background-color: #269DD8 !important;
}

.badge.bg-warning {
  background-color: #FBB92E !important;
  color: #111928 !important;
}

.badge.bg-danger {
  background-color: #DE1D5E !important;
}

.badge.bg-success {
  background-color: #77CE94 !important;
}

.badge.bg-label-primary {
  background-color: #d4edf8 !important;
  color: #269DD8 !important;
}

.badge.bg-label-info {
  background-color: #d4edf8 !important;
  color: #269DD8 !important;
}

.badge.bg-label-warning {
  background-color: #fef1d5 !important;
  color: #b38320 !important;
}

.badge.bg-label-danger {
  background-color: #f9d2df !important;
  color: #DE1D5E !important;
}

.badge.bg-label-success {
  background-color: #e3f5ea !important;
  color: #4a9e64 !important;
}

/* ============================================
 * FORM CONTROLS
 * ============================================ */

.form-control:focus,
.form-select:focus {
  border-color: #269DD8;
  box-shadow: 0 0 0 0.2rem rgba(38, 157, 216, 0.25);
}

.form-check-input:checked {
  background-color: #269DD8;
  border-color: #269DD8;
}

.form-check-input:focus {
  border-color: #269DD8;
  box-shadow: 0 0 0 0.2rem rgba(38, 157, 216, 0.25);
}

.form-switch .form-check-input:checked {
  background-color: #269DD8;
}

/* ============================================
 * PAGINATION
 * ============================================ */

.page-item .page-link:hover,
.page-item .page-link:focus {
  background-color: #d4edf8;
  color: #269DD8;
}

.page-item.active .page-link,
.page-item.active .page-link:hover,
.page-item.active .page-link:focus {
  border-color: #269DD8;
  background-color: #269DD8;
  color: #fff;
}

/* ============================================
 * NAV / TABS
 * ============================================ */

.nav-link {
  color: #4B5563;
}

.nav-link:hover,
.nav-link:focus {
  color: #269DD8;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #269DD8;
  border-color: #E5E7EB #E5E7EB #fff;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #269DD8;
  color: #fff;
}

/* ============================================
 * CARD ENHANCEMENTS
 * ============================================ */

.card {
  border-color: #E5E7EB;
  box-shadow: 0 0.125rem 0.5rem rgba(17, 25, 40, 0.08);
}

.card-header {
  background-color: #F8F7F7;
  border-bottom-color: #E5E7EB;
}

/* ============================================
 * TABLE STYLES
 * ============================================ */

.table-primary {
  --bs-table-bg: #d4edf8;
  --bs-table-striped-bg: #c5e4f2;
  --bs-table-striped-color: #111928;
  --bs-table-active-bg: #b8dced;
  --bs-table-active-color: #111928;
  --bs-table-hover-bg: #c5e4f2;
  --bs-table-hover-color: #111928;
  color: #111928;
  border-color: #a9dbf1;
}

/* ============================================
 * PROGRESS BAR
 * ============================================ */

.progress-bar {
  background-color: #269DD8;
}

.progress-bar.bg-success {
  background-color: #77CE94 !important;
}

.progress-bar.bg-warning {
  background-color: #FBB92E !important;
}

.progress-bar.bg-danger {
  background-color: #DE1D5E !important;
}

.progress-bar.bg-info {
  background-color: #269DD8 !important;
}

/* ============================================
 * SPINNER
 * ============================================ */

.spinner-border.text-primary,
.spinner-grow.text-primary {
  color: #269DD8 !important;
}

/* ============================================
 * SIDEBAR / MENU ENHANCEMENTS
 * ============================================ */

.menu-item.active > .menu-link,
.menu-item.active > .menu-link:hover {
  background-color: rgba(38, 157, 216, 0.1);
  color: #269DD8;
}

.menu-item > .menu-link:hover {
  color: #269DD8;
}

/* ============================================
 * DROPDOWN
 * ============================================ */

.dropdown-item.active,
.dropdown-item:active {
  background-color: #269DD8;
  color: #fff;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #d4edf8;
  color: #269DD8;
}

/* ============================================
 * MODAL
 * ============================================ */

.modal-header {
  border-bottom-color: #E5E7EB;
}

.modal-footer {
  border-top-color: #E5E7EB;
}

/* ============================================
 * SELECT2 OVERRIDE
 * ============================================ */

.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--multiple:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--multiple {
  border-color: #269DD8 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #269DD8 !important;
}

.select2-container--default .select2-results__option--selected {
  background-color: #d4edf8 !important;
}

/* ============================================
 * DATATABLE OVERRIDE
 * ============================================ */

table.dataTable thead th,
table.dataTable tfoot th {
  color: #374151;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: #269DD8 !important;
  border-color: #269DD8 !important;
  color: #fff !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #d4edf8 !important;
  border-color: #d4edf8 !important;
  color: #269DD8 !important;
}

/* ============================================
 * SWEETALERT2 OVERRIDE
 * ============================================ */

.swal2-confirm.swal2-styled {
  background-color: #269DD8 !important;
  border-color: #269DD8 !important;
}

.swal2-confirm.swal2-styled:focus {
  box-shadow: 0 0 0 3px rgba(38, 157, 216, 0.5) !important;
}

.swal2-cancel.swal2-styled {
  background-color: #DE1D5E !important;
  border-color: #DE1D5E !important;
}

/* ============================================
 * FLATPICKR OVERRIDE
 * ============================================ */

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: #269DD8 !important;
  border-color: #269DD8 !important;
}

.flatpickr-day.inRange {
  background: #d4edf8 !important;
  border-color: #d4edf8 !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: #269DD8;
}

/* ============================================
 * BODY BACKGROUND ELEGANT
 * ============================================ */

body {
  background-color: #F8F7F7;
}

.bg-body {
  background-color: #F8F7F7 !important;
}

/* ============================================
 * HEADER/NAVBAR POLISH
 * ============================================ */

.navbar-light .navbar-brand,
.navbar-light .navbar-nav .nav-link {
  color: #374151;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: #269DD8;
}

/* ============================================
 * SCROLL BAR STYLING (WEBKIT)
 * ============================================ */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F2f0f0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #9CA3AF;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6B7280;
}

/* ============================================
 * LIST GROUP
 * ============================================ */

.list-group-item-primary {
  color: #0f4f6d;
  background-color: #d4edf8;
}

a.list-group-item-primary:hover,
a.list-group-item-primary:focus,
button.list-group-item-primary:hover,
button.list-group-item-primary:focus {
  color: #0f4f6d;
  background-color: #c5e4f2;
}

.list-group-item.active {
  background-color: #269DD8;
  border-color: #269DD8;
}

/* ============================================
 * TOOLTIP & POPOVER
 * ============================================ */

.tooltip-primary .tooltip-inner {
  background-color: #269DD8;
}

.tooltip-primary.bs-tooltip-top .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  border-top-color: #269DD8;
}

.tooltip-primary.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  border-bottom-color: #269DD8;
}

.tooltip-primary.bs-tooltip-start .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  border-left-color: #269DD8;
}

.tooltip-primary.bs-tooltip-end .tooltip-arrow::before,
.tooltip-primary.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  border-right-color: #269DD8;
}

.popover-primary,
.popover-primary > .popover {
  background-color: #269DD8;
  border-color: #269DD8;
}

.popover-primary .popover-header {
  background-color: transparent;
  color: #fff;
}

.popover-primary .popover-body {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
 * ACCORDION
 * ============================================ */

.accordion-button:not(.collapsed) {
  color: #269DD8;
  background-color: #d4edf8;
}

.accordion-button:focus {
  border-color: #269DD8;
  box-shadow: 0 0 0 0.2rem rgba(38, 157, 216, 0.25);
}

/* ============================================
 * BREADCRUMB
 * ============================================ */

.breadcrumb-item a {
  color: #269DD8;
}

.breadcrumb-item a:hover {
  color: #1e7db0;
}

.breadcrumb-item.active {
  color: #6B7280;
}

/* ============================================
 * ADDITIONAL UTILITIES
 * ============================================ */

/* Text muted but readable */
.text-muted {
  color: #6B7280 !important;
}

/* Subtle shadows for elevation */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(17, 25, 40, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.25rem 0.5rem rgba(17, 25, 40, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 0.5rem 1rem rgba(17, 25, 40, 0.15) !important;
}

/* Hover effects */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(17, 25, 40, 0.12) !important;
}

/* Smooth transitions for interactive elements */
.btn,
.nav-link,
.page-link,
.dropdown-item,
.form-control,
.form-select,
.form-check-input {
  transition: all 0.15s ease-in-out;
}

/* ============================================
 * VUEXY SIDEBAR OVERRIDE - BKN Theme
 * ============================================ */

/* ============================================
 * MAIN MENU SIDEBAR OVERRIDE - BKN Theme
 * Override all #a1015f (pink) references
 * ============================================ */

/* Parent menu items - general link color */
.main-menu.menu-light .navigation > li > a {
  color: #4B5563;
}

.main-menu.menu-light .navigation > li > a i,
.main-menu.menu-light .navigation > li > a svg {
  color: #4B5563;
}

.main-menu.menu-light .navigation > li:hover > a,
.main-menu.menu-light .navigation > li:hover > a i,
.main-menu.menu-light .navigation > li:hover > a svg {
  color: #269DD8 !important;
}

/* Active Menu Item - Parent Level (exact match from components.css) */
.main-menu.menu-light .navigation > li.active > a {
  background: linear-gradient(118deg, #269DD8, rgba(38, 157, 216, 0.7)) !important;
  box-shadow: 0 0 10px 1px rgba(38, 157, 216, 0.7) !important;
  color: #fff !important;
  font-weight: 400;
  border-radius: 4px;
}

.main-menu.menu-light .navigation > li.active > a i,
.main-menu.menu-light .navigation > li.active > a svg {
  color: #fff !important;
}

/* ===== CRITICAL: Override #a1015f text color for active states ===== */

/* When submenu item is active, parent link text */
.main-menu.menu-light .navigation > li .active > a {
  color: #269DD8 !important;
  margin-bottom: 0;
}

/* Parent menu item when it's the sidebar group active (menu is open) */
.main-menu.menu-light .navigation > li.sidebar-group-active > a {
  color: #269DD8 !important;
  background: rgba(38, 157, 216, 0.08) !important;
  border-radius: 6px;
}

.main-menu.menu-light .navigation > li.sidebar-group-active > a i,
.main-menu.menu-light .navigation > li.sidebar-group-active > a svg {
  color: #269DD8 !important;
}

/* Parent menu with .open class */
.main-menu.menu-light .navigation > li.open:not(.menu-item-closing) > a {
  color: #269DD8 !important;
  background: rgba(38, 157, 216, 0.08) !important;
  border-radius: 6px;
}

.main-menu.menu-light .navigation > li.open:not(.menu-item-closing) > a i,
.main-menu.menu-light .navigation > li.open:not(.menu-item-closing) > a svg {
  color: #269DD8 !important;
}

/* has-sub class when sidebar-group-active */
.main-menu.menu-light .navigation > li.has-sub.sidebar-group-active > a,
.main-menu.menu-light .navigation > li.nav-item.has-sub.sidebar-group-active > a {
  color: #269DD8 !important;
  background: rgba(38, 157, 216, 0.08) !important;
}

.main-menu.menu-light .navigation > li.has-sub.sidebar-group-active > a i,
.main-menu.menu-light .navigation > li.has-sub.sidebar-group-active > a svg,
.main-menu.menu-light .navigation > li.nav-item.has-sub.sidebar-group-active > a i,
.main-menu.menu-light .navigation > li.nav-item.has-sub.sidebar-group-active > a svg {
  color: #269DD8 !important;
}

/* Active Background for submenu container */
.main-menu.menu-light .navigation > li .active {
  background: rgba(38, 157, 216, 0.08) !important;
}

/* Submenu UL Active Items - override #a1015f with BKN blue */
.main-menu.menu-light .navigation > li ul .active {
  background: linear-gradient(118deg, #269DD8, rgba(38, 157, 216, 0.7)) !important;
  box-shadow: 0 0 10px 1px rgba(38, 157, 216, 0.7) !important;
  border-radius: 4px;
  z-index: 1;
}

.main-menu.menu-light .navigation > li ul .active > a {
  color: #fff !important;
}

.main-menu.menu-light .navigation > li ul .active > a i,
.main-menu.menu-light .navigation > li ul .active > a svg {
  color: #fff !important;
}

/* Submenu sidebar-group-active */
.main-menu.menu-light .navigation > li ul .sidebar-group-active > a,
.main-menu.menu-light .navigation > li ul .open > a {
  color: #269DD8 !important;
  background: rgba(38, 157, 216, 0.08) !important;
  border-radius: 6px;
}

/* Menu Content (Submenu) */
.main-menu.menu-light .navigation .menu-content li a {
  color: #4B5563;
}

.main-menu.menu-light .navigation .menu-content li a:hover {
  color: #269DD8;
}

.main-menu.menu-light .navigation .menu-content li a:hover i,
.main-menu.menu-light .navigation .menu-content li a:hover svg {
  color: #269DD8 !important;
}

.main-menu.menu-light .navigation .menu-content li.active > a {
  color: #fff !important;
}

.main-menu.menu-light .navigation .menu-content li.active > a .menu-item {
  color: #fff !important;
}

.main-menu.menu-light .navigation .menu-content li.active > a i,
.main-menu.menu-light .navigation .menu-content li.active > a svg {
  color: #fff !important;
}

/* Submenu circle icon color */
.main-menu.menu-light .navigation .menu-content li a i[data-feather="circle"],
.main-menu.menu-light .navigation .menu-content li a svg.feather-circle {
  color: #9CA3AF;
}

.main-menu.menu-light .navigation .menu-content li:hover a i[data-feather="circle"],
.main-menu.menu-light .navigation .menu-content li:hover a svg.feather-circle {
  color: #269DD8 !important;
}

.main-menu.menu-light .navigation .menu-content li.active a i[data-feather="circle"],
.main-menu.menu-light .navigation .menu-content li.active a svg.feather-circle {
  color: #fff !important;
}

/* Hover state on active items */
.main-menu.menu-light .navigation > li .active .hover > a,
.main-menu.menu-light .navigation > li .active :hover > a {
  background: rgba(38, 157, 216, 0.15) !important;
}

/* Navigation Header */
.main-menu.menu-light .navigation-header {
  color: #9CA3AF;
}

/* Collapse Toggle Icon */
.main-menu .collapse-toggle-icon {
  color: #269DD8 !important;
}

.main-menu .nav-toggle i,
.main-menu .nav-toggle svg {
  color: #269DD8;
}

/* Menu Badge */
.main-menu .navigation .badge.badge-primary {
  background: #269DD8 !important;
}

/* ============================================
 * VERTICAL MENU MODERN OVERRIDE
 * ============================================ */

.vertical-layout.vertical-menu-modern .main-menu .navigation > li.active > a {
  background: linear-gradient(118deg, #269DD8, rgba(38, 157, 216, 0.7)) !important;
  box-shadow: 0 0 10px 1px rgba(38, 157, 216, 0.7) !important;
  color: #fff !important;
  border-radius: 4px;
}

.vertical-layout.vertical-menu-modern .main-menu .navigation > li ul .active {
  background: linear-gradient(118deg, #269DD8, rgba(38, 157, 216, 0.7)) !important;
  box-shadow: 0 0 10px 1px rgba(38, 157, 216, 0.7) !important;
}

.vertical-layout.vertical-menu-modern .main-menu .navigation li.sidebar-group-active > a {
  background: rgba(38, 157, 216, 0.12) !important;
  color: #269DD8 !important;
  border-radius: 4px;
}

.vertical-layout.vertical-menu-modern.menu-collapsed .main-menu:not(.expanded) .navigation li.active a {
  background: linear-gradient(118deg, #269DD8, rgba(38, 157, 216, 0.7)) !important;
  box-shadow: 0 0 10px 1px rgba(38, 157, 216, 0.7) !important;
}

/* ============================================
 * NAVBAR BRAND TEXT COLOR
 * ============================================ */

.main-menu .navbar-header .navbar-brand .brand-text {
  color: #269DD8 !important;
}

/* ============================================
 * SIMATA FOOTER OVERRIDE
 * ============================================ */

.simata-footer {
  color: #269DD8 !important;
  background: linear-gradient(-45deg, #d4edf8, #f2faff, #d4edf8) !important;
}

/* ============================================
 * VUEXY COLORS.CSS OVERRIDE
 * ============================================ */

/* Primary Color Class Override */
[class*="bg-primary"],
.bg-primary {
  background-color: #269DD8 !important;
}

[class*="bg-light-primary"],
.bg-light-primary {
  background: rgba(38, 157, 216, 0.12) !important;
  color: #269DD8 !important;
}

[class*="text-primary"],
.text-primary {
  color: #269DD8 !important;
}

[class*="border-primary"],
.border-primary {
  border-color: #269DD8 !important;
}

/* Info Color Class Override */
[class*="bg-info"],
.bg-info {
  background-color: #269DD8 !important;
}

[class*="bg-light-info"],
.bg-light-info {
  background: rgba(38, 157, 216, 0.12) !important;
  color: #269DD8 !important;
}

[class*="text-info"],
.text-info {
  color: #269DD8 !important;
}

[class*="border-info"],
.border-info {
  border-color: #269DD8 !important;
}

/* Success Color Class Override */
[class*="bg-success"],
.bg-success {
  background-color: #77CE94 !important;
}

[class*="bg-light-success"],
.bg-light-success {
  background: rgba(119, 206, 148, 0.12) !important;
  color: #4a9e64 !important;
}

[class*="text-success"],
.text-success {
  color: #77CE94 !important;
}

[class*="border-success"],
.border-success {
  border-color: #77CE94 !important;
}

/* Warning Color Class Override */
[class*="bg-warning"],
.bg-warning {
  background-color: #FBB92E !important;
}

[class*="bg-light-warning"],
.bg-light-warning {
  background: rgba(251, 185, 46, 0.12) !important;
  color: #b38320 !important;
}

[class*="text-warning"],
.text-warning {
  color: #FBB92E !important;
}

[class*="border-warning"],
.border-warning {
  border-color: #FBB92E !important;
}

/* Danger Color Class Override */
[class*="bg-danger"],
.bg-danger {
  background-color: #DE1D5E !important;
}

[class*="bg-light-danger"],
.bg-light-danger {
  background: rgba(222, 29, 94, 0.12) !important;
  color: #DE1D5E !important;
}

[class*="text-danger"],
.text-danger {
  color: #DE1D5E !important;
}

[class*="border-danger"],
.border-danger {
  border-color: #DE1D5E !important;
}

/* ============================================
 * AVATAR WITH STATUS
 * ============================================ */

.avatar .avatar-status-primary {
  border-color: #fff !important;
  background-color: #269DD8 !important;
}

.avatar .avatar-status-success {
  background-color: #77CE94 !important;
}

.avatar .avatar-status-danger {
  background-color: #DE1D5E !important;
}

.avatar .avatar-status-warning {
  background-color: #FBB92E !important;
}

/* ============================================
 * CHARTS & GRAPHS
 * ============================================ */

.apexcharts-tooltip.apexcharts-theme-light {
  border-color: #269DD8 !important;
}

/* ============================================
 * TAB NAVIGATION (VUEXY STYLE)
 * ============================================ */

.nav-tabs .nav-link.active {
  color: #269DD8 !important;
  border-bottom-color: #269DD8 !important;
}

.nav-tabs .nav-link:hover {
  color: #269DD8;
}

.nav-pills .nav-link.active {
  background-color: #269DD8 !important;
  color: #fff !important;
}

/* Tab Bordered */
.nav.nav-tabs.nav-bordered .nav-link.active {
  border-bottom: 2px solid #269DD8 !important;
  color: #269DD8 !important;
}

/* ============================================
 * TIMELINE
 * ============================================ */

.timeline .timeline-point-primary {
  background-color: #269DD8 !important;
  border-color: #269DD8 !important;
}

.timeline .timeline-point-success {
  background-color: #77CE94 !important;
  border-color: #77CE94 !important;
}

.timeline .timeline-point-warning {
  background-color: #FBB92E !important;
  border-color: #FBB92E !important;
}

.timeline .timeline-point-danger {
  background-color: #DE1D5E !important;
  border-color: #DE1D5E !important;
}

/* ============================================
 * STEPPER / WIZARD
 * ============================================ */

.bs-stepper .step.active .bs-stepper-circle {
  background-color: #269DD8 !important;
}

.bs-stepper .step.crossed .bs-stepper-circle {
  background-color: #77CE94 !important;
}

/* ============================================
 * HEADER/NAVBAR OVERRIDE
 * ============================================ */

.header-navbar .navbar-container ul.nav li.dropdown-user .dropdown-toggle::after {
  display: none;
}

.header-navbar.floating-nav {
  background: rgba(248, 247, 247, 0.95);
}

/* ============================================
 * ADDITIONAL LINK COLORS
 * ============================================ */

a {
  color: #269DD8;
}

a:hover {
  color: #1e7db0;
}

/* Links that look like primary */
a.text-body:hover {
  color: #269DD8 !important;
}

/* ============================================
 * CHIP / TAG COLORS
 * ============================================ */

.chip.chip-primary {
  background-color: #269DD8 !important;
}

.chip.chip-success {
  background-color: #77CE94 !important;
}

.chip.chip-warning {
  background-color: #FBB92E !important;
}

.chip.chip-danger {
  background-color: #DE1D5E !important;
}

/* ============================================
 * FEATHER ICONS IN BUTTONS
 * ============================================ */

.btn-primary .feather,
.btn-primary i {
  color: #fff;
}

.btn-outline-primary .feather,
.btn-outline-primary i {
  color: #269DD8;
}

.btn-outline-primary:hover .feather,
.btn-outline-primary:hover i {
  color: #fff;
}

/* ============================================
 * TOASTR NOTIFICATIONS
 * ============================================ */

.toast-primary {
  background-color: #269DD8 !important;
}

.toast-success {
  background-color: #77CE94 !important;
}

.toast-warning {
  background-color: #FBB92E !important;
}

.toast-error,
.toast-danger {
  background-color: #DE1D5E !important;
}

/* ============================================
 * MEDIA OBJECTS & ICONS
 * ============================================ */

.media-list .media-heading {
  color: #374151;
}

/* Icon color in cards */
.card .feather-icon.text-primary,
.card .avatar-content .feather {
  color: #269DD8 !important;
}

/* ============================================
 * CUSTOM SWITCH COLOR
 * ============================================ */

.custom-control-primary .custom-control-input:checked ~ .custom-control-label::before {
  border-color: #269DD8 !important;
  background-color: #269DD8 !important;
}

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

/* ============================================
 * LIST GROUP FLUSH
 * ============================================ */

.list-group-flush .list-group-item.active {
  background-color: #269DD8;
  border-color: #269DD8;
}

/* ============================================
 * WAVES EFFECT OVERRIDE
 * ============================================ */

.waves-effect.waves-primary .waves-ripple {
  background: radial-gradient(rgba(38, 157, 216, 0.2) 0, rgba(38, 157, 216, 0.3) 40%, rgba(38, 157, 216, 0.4) 50%, rgba(38, 157, 216, 0.5) 60%, rgba(255, 255, 255, 0) 70%);
}

/* ============================================
 * SIDEBAR FOOTER VERSION
 * ============================================ */

.main-menu .simata-footer {
  color: #269DD8 !important;
  background: linear-gradient(-45deg, #d4edf8, #f8fafb, #d4edf8) !important;
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite, fadeInBounce 1.2s ease-out;
}

@keyframes textGlowBKN {
  0%, 100% {
    text-shadow: 0 0 1px #269DD8, 0 0 4px rgba(38, 157, 216, 0.15);
  }
  50% {
    text-shadow: 0 0 3px #269DD8, 0 0 8px rgba(38, 157, 216, 0.25);
  }
}
