/* ==============================================================
   SIRI GROUP – BRAND DESIGN SYSTEM  v1.0
   Applied globally across ALL ERP modules & dashboard
   Brand Colors:
     --sg-blue  : #29A0D8  (primary actions, links, accents)
     --sg-gold  : #F5A623  (highlights, CTAs, alerts)
     --sg-navy  : #0d2137  (sidebar, hero headers, dark surfaces)
   ============================================================== */

/* ================================================================
   1. GLOBAL CSS VARIABLE OVERRIDES
   ================================================================ */
:root {
  /* Siri Group brand palette */
  --sg-blue        : #29A0D8;
  --sg-blue-dark   : #1a7fae;
  --sg-blue-hover  : #1e90c3;
  --sg-blue-pale   : #e8f5fc;
  --sg-gold        : #F5A623;
  --sg-gold-dark   : #d4890e;
  --sg-gold-pale   : #fef6e4;
  --sg-navy        : #0d2137;
  --sg-navy-2      : #163352;
  --sg-navy-3      : #1c4268;
  --sg-white       : #ffffff;
  --sg-bg          : #f0f6fa;
  --sg-bg-alt      : #e7f2f9;
  --sg-card        : #ffffff;
  --sg-text        : #1e293b;
  --sg-text-2      : #475569;
  --sg-text-muted  : #94a3b8;
  --sg-border      : #dde8f0;
  --sg-border-light: #edf4f9;
  --sg-radius      : 14px;
  --sg-radius-sm   : 10px;
  --sg-radius-xs   : 6px;
  --sg-shadow      : 0 1px 3px rgba(13,33,55,.07), 0 4px 16px rgba(13,33,55,.05);
  --sg-shadow-card : 0 1px 3px rgba(13,33,55,.05), 0 0 0 1px rgba(13,33,55,.03);
  --sg-shadow-hover: 0 8px 32px rgba(41,160,216,.18);
  --sg-shadow-blue : 0 4px 14px rgba(41,160,216,.40);
  --sg-shadow-gold : 0 4px 14px rgba(245,166,35,.40);
  --sg-transition  : all .22s cubic-bezier(.4,0,.2,1);

  /* Override premium.css variables to Siri Group brand */
  --p-bg               : #f0f6fa !important;
  --p-bg-alt           : #e7f2f9 !important;
  --p-card             : #ffffff !important;
  --p-text             : #1e293b !important;
  --p-text-secondary   : #475569 !important;
  --p-border           : #dde8f0 !important;
  --p-border-light     : #edf4f9 !important;
  --p-sidebar-bg       : linear-gradient(180deg, #0d2137 0%, #163352 100%) !important;
  --p-sidebar-accent   : #29A0D8 !important;
  --p-gradient-primary : linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  --p-shadow-primary   : 0 4px 14px rgba(41,160,216,.40) !important;
}

/* ================================================================
   2. GLOBAL BASE OVERRIDES
   ================================================================ */
body {
  background: var(--sg-bg) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--sg-text) !important;
}

/* Blue selection highlight */
::selection { background: #29A0D8; color: #fff; }

/* ================================================================
   3. SIDEBAR – SIRI GROUP NAVY + BLUE ACCENT
   ================================================================ */
.main-sidebar,
.main-sidebar.sidebar-style-2 {
  background-color: var(--sg-navy) !important;
  background-image: linear-gradient(180deg, #0d2137 0%, #163352 100%) !important;
  box-shadow: 4px 0 30px rgba(13,33,55,.25) !important;
}

/* Active sidebar item uses brand BLUE */
body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu > li.active > a,
.main-sidebar .sidebar-menu li.active > a {
  background: rgba(41,160,216,.18) !important;
  background-color: rgba(41,160,216,.18) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: inset 3px 0 0 #29A0D8 !important;
}

.main-sidebar .sidebar-menu li.active > a i,
.main-sidebar .sidebar-menu li.active > a i.text-primary,
.main-sidebar .sidebar-menu li.active > a i.text-danger,
.main-sidebar .sidebar-menu li.active > a i.text-success,
.main-sidebar .sidebar-menu li.active > a i.text-warning,
.main-sidebar .sidebar-menu li.active > a i.text-info {
  color: #7dd3f5 !important;
}

/* Active sub-item */
.main-sidebar .sidebar-menu li ul.dropdown-menu li.active::after {
  background: #29A0D8 !important;
  border-color: #29A0D8 !important;
  box-shadow: 0 0 6px rgba(41,160,216,.5);
}

.main-sidebar .sidebar-menu li ul.dropdown-menu li.active > a,
body:not(.sidebar-mini) .sidebar-style-2 .sidebar-menu li.active ul.dropdown-menu li.active a {
  color: #7dd3f5 !important;
  background: rgba(41,160,216,.12) !important;
  background-color: rgba(41,160,216,.12) !important;
}

/* Hover state uses brand blue tint */
.main-sidebar .sidebar-menu li a:hover {
  background: rgba(41,160,216,.10) !important;
  background-color: rgba(41,160,216,.10) !important;
  color: #fff !important;
}

/* Sidebar logo brand area */
.main-sidebar .sidebar-brand {
  background: rgba(0,0,0,.25) !important;
  border-bottom: 1px solid rgba(41,160,216,.15) !important;
}

/* Gold line accent on top of sidebar */
.main-sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #F5A623 0%, #29A0D8 100%);
  z-index: 1;
}

/* Mini sidebar active override */
body.sidebar-mini .main-sidebar .sidebar-menu > li.active > a {
  background-color: rgba(41,160,216,.25) !important;
  background: rgba(41,160,216,.25) !important;
  box-shadow: 0 4px 8px rgba(41,160,216,.3) !important;
}

/* ================================================================
   4. TOP NAVBAR
   ================================================================ */
.navbar-bg {
  border-bottom: 1px solid var(--sg-border-light) !important;
}

/* Navbar action icons use brand blue on hover */
.navbar .nav-link.nav-link-lg:hover i { color: #29A0D8 !important; }
.navbar .nav-link[data-toggle="sidebar"]:hover i { color: #29A0D8 !important; }
.navbar .nav-link.nav-link-user:hover img,
.navbar .nav-link.nav-link-user:hover .avatar { border-color: #29A0D8 !important; }

/* Dropdown active item uses blue */
.navbar .dropdown-item:hover { color: #29A0D8 !important; }
.navbar .dropdown-item:hover i { color: #29A0D8 !important; }
.navbar .dropdown-item.active { color: #29A0D8 !important; background: var(--sg-blue-pale) !important; }

/* Top navbar gold accent line */
.navbar-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #29A0D8 35%, #F5A623 65%, transparent 100%);
  opacity: .45;
}
.navbar-bg { position: relative; }

/* Notification badge uses gold */
.beep::after,
.nav-link .badge-pill { background: #F5A623 !important; color: var(--sg-navy) !important; }

/* ================================================================
   5. GLOBAL SECTION HEADER → HERO STYLE (all modules)
   ================================================================ */
.section .section-header {
  background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-navy-2) 55%, #1d4e79 100%) !important;
  padding: 28px 32px 80px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  /* Remove original box-shadow/border from Stisla */
  box-shadow: none !important;
}

/* Decorative radial glow overlays */
.section .section-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at 85% -5%, rgba(41,160,216,.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at -5% 115%, rgba(245,166,35,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Curved bottom wave into page body */
.section .section-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 42px;
  background: var(--sg-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  pointer-events: none;
}

/* Section title */
.section .section-header h1 {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative;
  z-index: 1;
}

/* Gold accent bar before h1 */
.section .section-header h1::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, #F5A623 0%, #29A0D8 100%);
  border-radius: 3px;
  flex-shrink: 0;
}

/* Section header breadcrumb area */
.section .section-header .section-header-breadcrumb {
  position: relative;
  z-index: 1;
}

.section .section-header .breadcrumb-item,
.section .section-header .breadcrumb-item a {
  color: rgba(255,255,255,.50) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
}

.section .section-header .breadcrumb-item.active a,
.section .section-header .section-header-breadcrumb .breadcrumb-item.active a {
  color: rgba(255,255,255,.60) !important;
}

.section .section-header .breadcrumb-item a:hover { color: var(--sg-gold) !important; }

/* Back button in header */
.section .section-header .section-header-back { position: relative; z-index: 1; }
.section .section-header .section-header-back .btn {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  color: rgba(255,255,255,.80) !important;
  box-shadow: none !important;
}
.section .section-header .section-header-back .btn:hover {
  background: rgba(255,255,255,.22) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.4) !important;
}

/* Section header buttons (Add / Create etc.) */
.section .section-header h1 .btn,
.section .section-header h1 a.btn {
  background: linear-gradient(135deg, var(--sg-gold) 0%, #ffbb55 100%) !important;
  border: none !important;
  color: var(--sg-navy) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 14px rgba(245,166,35,.45) !important;
  border-radius: 50px !important;
  padding: 7px 18px !important;
  transition: var(--sg-transition) !important;
}
.section .section-header h1 .btn:hover,
.section .section-header h1 a.btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(245,166,35,.55) !important;
  color: var(--sg-navy) !important;
}

/* Section body sits below the hero */
.section .section-body {
  background: var(--sg-bg);
  padding: 24px 28px 32px !important;
  position: relative;
  z-index: 0;
}

/* ================================================================
   6. CARDS – REFINED WITH BRAND TOUCHES
   ================================================================ */
.card {
  background: var(--sg-card) !important;
  border: 1px solid var(--sg-border-light) !important;
  border-radius: var(--sg-radius) !important;
  box-shadow: var(--sg-shadow-card) !important;
}

.card:hover {
  box-shadow: 0 6px 24px rgba(41,160,216,.12) !important;
}

.card .card-header {
  border-bottom: 1px solid var(--sg-border-light) !important;
  background: transparent !important;
  padding: 16px 22px !important;
}

.card .card-header h4 {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  color: var(--sg-text) !important;
  letter-spacing: -.01em;
}

/* Blue left-border accent on primary cards */
.card-primary {
  border-left: 3px solid var(--sg-blue) !important;
  border-top: none !important;
}

.card-primary .card-header h4 { color: var(--sg-navy) !important; }

/* ================================================================
   7. DASHBOARD STAT CARDS (card-statistic-1 / card-statistic-2)
   ================================================================ */
.card.card-statistic-2::before,
.card.card-statistic-1::before {
  background: linear-gradient(180deg, #29A0D8 0%, #F5A623 100%) !important;
}

.card .card-stats .card-stats-title a,
.card .card-stats .card-stats-title .dropdown a {
  color: #29A0D8 !important;
}
.card .card-stats .card-stats-title a:hover { color: var(--sg-blue-dark) !important; }

.card .card-stats .card-stats-item {
  background: var(--sg-bg) !important;
  border-radius: var(--sg-radius-sm) !important;
  transition: var(--sg-transition);
}
.card .card-stats .card-stats-item:hover {
  background: var(--sg-blue-pale) !important;
}

/* Stat number colors */
.card .card-stats .card-stats-item.text-danger .card-stats-item-count { color: #ef4444 !important; }
.card .card-stats .card-stats-item.text-success .card-stats-item-count { color: #16a34a !important; }
.card .card-stats .card-stats-item.text-primary .card-stats-item-count { color: #29A0D8 !important; }
.card .card-stats .card-stats-item.text-warning .card-stats-item-count { color: #F5A623 !important; }

/* Icon cards */
.card.card-statistic-1 .card-icon,
.card.card-statistic-2 .card-icon {
  background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  box-shadow: 0 4px 14px rgba(41,160,216,.40) !important;
}

.card.card-statistic-1 .bg-primary { background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important; }
.card.card-statistic-1 .bg-success { background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important; }
.card.card-statistic-1 .bg-warning { background: linear-gradient(135deg, #F5A623 0%, #ffbb55 100%) !important; }
.card.card-statistic-1 .bg-danger  { background: linear-gradient(135deg, #ef4444 0%, #f97316 100%) !important; }
.card.card-statistic-1 .bg-info    { background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%) !important; }

.shadow-primary { box-shadow: 0 4px 14px rgba(41,160,216,.40) !important; }
.shadow-success { box-shadow: 0 4px 14px rgba(16,185,129,.35) !important; }
.shadow-warning { box-shadow: 0 4px 14px rgba(245,166,35,.40) !important; }
.shadow-danger  { box-shadow: 0 4px 14px rgba(239,68,68,.35) !important; }
.shadow-info    { box-shadow: 0 4px 14px rgba(6,182,212,.35) !important; }

/* ================================================================
   8. BUTTONS – SIRI GROUP BRAND
   ================================================================ */
/* Primary button = brand blue */
.btn-primary {
  background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  box-shadow: 0 4px 14px rgba(41,160,216,.40) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #1e90c3 0%, #166a92 100%) !important;
  box-shadow: 0 6px 20px rgba(41,160,216,.55) !important;
  color: #fff !important;
}

/* Warning/Gold button */
.btn-warning {
  background: linear-gradient(135deg, #F5A623 0%, #ffbb55 100%) !important;
  color: var(--sg-navy) !important;
  box-shadow: 0 4px 14px rgba(245,166,35,.40) !important;
}
.btn-warning:hover {
  box-shadow: 0 6px 20px rgba(245,166,35,.55) !important;
  color: var(--sg-navy) !important;
}

/* Outline primary → blue */
.btn-outline-primary {
  border: 2px solid #29A0D8 !important;
  color: #29A0D8 !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(41,160,216,.40) !important;
}

/* ================================================================
   9. BADGES
   ================================================================ */
.badge-primary { background: #29A0D8 !important; color: #fff !important; }
.badge-warning { background: #F5A623 !important; color: var(--sg-navy) !important; }
.badge-info    { background: #29A0D8 !important; color: #fff !important; }

.badge {
  font-weight: 600 !important;
  letter-spacing: .03em !important;
  border-radius: 50px !important;
  padding: 4px 10px !important;
}

/* ================================================================
   10. FORMS & INPUTS
   ================================================================ */
.form-control {
  border: 1.5px solid var(--sg-border) !important;
  border-radius: var(--sg-radius-sm) !important;
  font-size: 13.5px !important;
  color: var(--sg-text) !important;
  background: var(--sg-white) !important;
  transition: var(--sg-transition) !important;
  padding: 9px 14px !important;
  box-shadow: none !important;
}
.form-control:focus {
  border-color: #29A0D8 !important;
  box-shadow: 0 0 0 3px rgba(41,160,216,.15) !important;
  outline: none !important;
}

.form-group label {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: var(--sg-text-2) !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  margin-bottom: 6px !important;
}

/* ================================================================
   11. TABLES (Bootstrap Table)
   ================================================================ */
.table thead tr th {
  background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-navy-2) 100%) !important;
  color: rgba(255,255,255,.85) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .07em !important;
  border: none !important;
  padding: 13px 16px !important;
  white-space: nowrap;
}

.table thead tr th:first-child { border-radius: var(--sg-radius-sm) 0 0 0 !important; }
.table thead tr th:last-child  { border-radius: 0 var(--sg-radius-sm) 0 0 !important; }

.table tbody tr {
  border-bottom: 1px solid var(--sg-border-light) !important;
  transition: var(--sg-transition) !important;
}
.table tbody tr:hover {
  background-color: var(--sg-blue-pale) !important;
}
.table tbody tr td {
  font-size: 13.5px !important;
  color: var(--sg-text) !important;
  padding: 12px 16px !important;
  vertical-align: middle !important;
  border: none !important;
}
.table tbody tr:last-child { border-bottom: none !important; }

/* Bootstrap Table toolbar */
.fixed-table-toolbar .btn-group .btn,
.fixed-table-toolbar .search input {
  border-radius: var(--sg-radius-sm) !important;
  border-color: var(--sg-border) !important;
  font-size: 13px !important;
}
.fixed-table-toolbar .search input:focus {
  border-color: #29A0D8 !important;
  box-shadow: 0 0 0 3px rgba(41,160,216,.12) !important;
}

/* ================================================================
   12. MODALS
   ================================================================ */
.modal-content {
  border-radius: var(--sg-radius) !important;
  border: none !important;
  box-shadow: 0 25px 60px rgba(13,33,55,.22) !important;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-navy-2) 100%) !important;
  border-bottom: none !important;
  padding: 20px 24px !important;
  position: relative;
}
.modal-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #29A0D8 0%, #F5A623 100%);
}

.modal-title {
  color: #fff !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  letter-spacing: -.01em !important;
}

.modal-header .close { color: rgba(255,255,255,.7) !important; opacity: 1 !important; }
.modal-header .close:hover { color: #fff !important; }

.modal-body { padding: 24px !important; background: var(--sg-white); }
.modal-footer {
  background: var(--sg-bg) !important;
  border-top: 1px solid var(--sg-border-light) !important;
  padding: 14px 24px !important;
  border-radius: 0 0 var(--sg-radius) var(--sg-radius) !important;
}

/* ================================================================
   13. PAGINATION
   ================================================================ */
.pagination .page-item .page-link {
  border: 1.5px solid var(--sg-border) !important;
  border-radius: var(--sg-radius-xs) !important;
  color: var(--sg-text-2) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 2px !important;
  transition: var(--sg-transition) !important;
}
.pagination .page-item .page-link:hover {
  background: var(--sg-blue-pale) !important;
  border-color: #29A0D8 !important;
  color: #29A0D8 !important;
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(41,160,216,.40) !important;
}

/* ================================================================
   14. ALERTS & HERO SECTIONS
   ================================================================ */
.hero.bg-danger {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  border-radius: var(--sg-radius) !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(239,68,68,.25) !important;
  padding: 32px !important;
  margin-bottom: 24px;
}

.hero.bg-primary {
  background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  border-radius: var(--sg-radius) !important;
  border: none !important;
  box-shadow: var(--sg-shadow-blue) !important;
  padding: 32px !important;
}

/* ================================================================
   15. SELECT2 CUSTOMISATION
   ================================================================ */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  border: 1.5px solid var(--sg-border) !important;
  border-radius: var(--sg-radius-sm) !important;
  background: var(--sg-white) !important;
  min-height: 40px !important;
}
.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: #29A0D8 !important;
  box-shadow: 0 0 0 3px rgba(41,160,216,.15) !important;
}

.select2-dropdown {
  border: 1.5px solid var(--sg-border) !important;
  border-radius: var(--sg-radius-sm) !important;
  box-shadow: 0 10px 40px rgba(13,33,55,.12) !important;
}

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

/* ================================================================
   16. NAVIGATION TABS & PILLS
   ================================================================ */
.nav-tabs .nav-link.active {
  color: #29A0D8 !important;
  border-bottom: 2px solid #29A0D8 !important;
  font-weight: 700 !important;
}
.nav-tabs .nav-link:hover { color: #29A0D8 !important; }

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #29A0D8 0%, #1a7fae 100%) !important;
  box-shadow: var(--sg-shadow-blue) !important;
  color: #fff !important;
}

/* ================================================================
   17. PROGRESS BARS
   ================================================================ */
.progress { background-color: var(--sg-border) !important; border-radius: 50px !important; height: 8px !important; }
.progress-bar { background: linear-gradient(90deg, #29A0D8 0%, #F5A623 100%) !important; border-radius: 50px !important; }
.progress-bar.bg-primary { background: linear-gradient(90deg, #29A0D8 0%, #1a7fae 100%) !important; }
.progress-bar.bg-success { background: linear-gradient(90deg, #10b981 0%, #34d399 100%) !important; }
.progress-bar.bg-danger  { background: linear-gradient(90deg, #ef4444 0%, #f97316 100%) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg, #F5A623 0%, #ffbb55 100%) !important; }

/* ================================================================
   18. LINKS GLOBAL
   ================================================================ */
a { color: #29A0D8; }
a:hover { color: var(--sg-blue-dark); text-decoration: none; }

/* ================================================================
   19. TEXT COLOUR UTILITIES → BRAND MAPPED
   ================================================================ */
.text-primary { color: #29A0D8 !important; }
.text-warning  { color: #F5A623 !important; }
.bg-primary    { background-color: #29A0D8 !important; }
.bg-warning    { background-color: #F5A623 !important; }
.border-primary { border-color: #29A0D8 !important; }

/* ================================================================
   20. DASHBOARD – CHART CARDS ENHANCEMENT
   ================================================================ */
.card .card-header h4 i { color: #29A0D8; margin-right: 8px; }

/* Chart card top accent */
.card .card-header {
  position: relative;
}
.card-primary .card-header::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #29A0D8 0%, #F5A623 100%);
  border-radius: 0;
}

/* ================================================================
   21. KANBAN / PROJECT STATUS CARDS
   ================================================================ */
.card-project .card-header { border-left: 3px solid #29A0D8 !important; }

/* ================================================================
   22. IZITOAST NOTIFICATION OVERRIDES
   ================================================================ */
.iziToast-wrapper .iziToast-body .iziToast-icon.ico-info { background: #29A0D8 !important; }

/* ================================================================
   23. UTILITY STRIPS / STAT ROWS
   ================================================================ */
.activity-item .activity-icon { background: var(--sg-blue-pale) !important; color: #29A0D8 !important; }

/* ================================================================
   24. SECTION BODY SPACING CLEANUP
   ================================================================ */
.section-body .card { margin-bottom: 20px !important; }

/* ================================================================
   25. RESPONSIVE TWEAKS
   ================================================================ */
@media (max-width: 768px) {
  .section .section-header { padding: 20px 16px 70px !important; }
  .section .section-header h1 { font-size: 19px !important; }
  .section .section-body { padding: 16px !important; }
  .card .card-body { padding: 16px !important; }
  .card .card-header { padding: 14px 16px !important; }
  .modal-body { padding: 16px !important; }
  .modal-footer { padding: 12px 16px !important; }
}

/* ================================================================
   26. SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-thumb { background: #29A0D8; border-radius: 10px; opacity: .6; }
::-webkit-scrollbar-thumb:hover { background: var(--sg-blue-dark); }
::-webkit-scrollbar-track { background: transparent; }

/* ================================================================
   27. REPORT SUMMARY STAT TILES
   ================================================================ */
.rpt-stat-row { margin-bottom: 22px; }
.rpt-stat-tile {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2edf7;
  box-shadow: 0 2px 12px rgba(13,33,55,.06);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.rpt-stat-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(41,160,216,.15);
  border-color: rgba(41,160,216,.35);
}
.rpt-stat-ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
  flex-shrink: 0;
}
.rpt-stat-body { min-width: 0; }
.rpt-stat-val {
  font-size: 26px;
  font-weight: 800;
  color: #0d2137;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}
.rpt-stat-lbl {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rpt-stat-sub {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
@media (max-width: 768px) {
  .rpt-stat-tile { padding: 14px 16px; gap: 12px; }
  .rpt-stat-val { font-size: 22px; }
  .rpt-stat-ico { width: 42px; height: 42px; font-size: 17px; border-radius: 11px; }
}
