:root {
  /* Enterprise palette */
  --brand-primary: #1e3a8a; /* indigo-800 */
  --brand-primary-accent: #0ea5e9; /* sky-500 */
  --brand-surface: #f5f7fb; /* soft background */
  --brand-text: #0f172a; /* slate-900 */
  --brand-muted: #64748b; /* slate-500 */

  /* Bootstrap CSS variables override */
  --bs-primary: #2563eb; /* blue-600 */
  --bs-secondary: #64748b;
  --bs-success: #22c55e;
  --bs-info: #06b6d4;
  --bs-warning: #f59e0b;
  --bs-danger: #ef4444;
  --bs-body-bg: var(--brand-surface);
  --bs-body-color: var(--brand-text);
  --bs-link-color: #1d4ed8;
  --bs-link-hover-color: #1e40af;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html { font-size: 16px; }
}

body {
  margin-bottom: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  /* Modern gradient background with subtle pattern */
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(99,102,241,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(14,165,233,0.06) 0%, transparent 50%),
    linear-gradient(135deg, #e0e7ff 0%, #f1f5f9 25%, #f8fafc 50%, #f1f5f9 75%, #dbeafe 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =====================================================
   MODERN BOXED LAYOUT
   ===================================================== */

/* Main wrapper that holds the content box */
.app-wrapper {
  flex: 1;
  padding: 0 1rem 2rem 1rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .app-wrapper {
    padding: 0 2rem 2.5rem 2rem;
  }
}

/* The boxed content area */
.app-content-box {
  width: 100%;
  max-width: 1400px;
  background: #ffffff;
  border-radius: 0 0 20px 20px;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Subtle top accent line */
.app-content-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-accent), var(--brand-primary));
  opacity: 0.8;
}

/* Inner glow effect for depth */
.app-content-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(180deg, rgba(99,102,241,0.03), transparent);
  pointer-events: none;
}

/* Ensure content is above pseudo-elements */
.app-content-box > * {
  position: relative;
  z-index: 1;
}

/* =====================================================
   MODERN FOOTER
   ===================================================== */

.app-footer {
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-accent) 100%);
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.app-footer a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.app-footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.app-footer .footer-separator {
  margin: 0 0.75rem;
  opacity: 0.5;
}

/* Auth page (futuristic secure look) */
.auth-hero {
  min-height: 100vh;
  /* Auth hero background: inspection-themed image with dark overlay; gradients and animated orbs remain */
  background: linear-gradient(0deg, rgba(5,10,20,0.45), rgba(5,10,20,0.45)),
              url('/uploads/Login-Background.png') center / cover no-repeat,
              radial-gradient(1200px 600px at 10% 0%, rgba(14,165,233,0.10), transparent 60%),
              radial-gradient(1200px 600px at 90% 30%, rgba(99,102,241,0.12), transparent 60%),
              linear-gradient(180deg, #0b1020, #0e1326 30%, #0b1020 100%);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}
.auth-container { min-height: 100vh; }
.auth-wrap { width: 100%; max-width: 460px; }

/* Subtle animated background orbs */
.auth-hero:before, .auth-hero:after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .18;
  will-change: transform;
}
.auth-hero:before {
  top: -120px; left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.35), rgba(99,102,241,.15));
  animation: orbFloat1 22s ease-in-out infinite alternate;
}
.auth-hero:after {
  bottom: -140px; right: -160px;
  background: radial-gradient(circle at 60% 40%, rgba(99,102,241,.35), rgba(34,211,238,.12));
  animation: orbFloat2 28s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}
@keyframes orbFloat2 {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-50px, -40px, 0) scale(1.06); }
}

.neon-card {
  position: relative;
  background: rgba(13,18,33,0.7);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 16px;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.6), inset 0 0 0 1px rgba(14,165,233,0.12);
  backdrop-filter: blur(10px);
}
.neon-card:before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14,165,233,0.25), rgba(99,102,241,0.25));
  filter: blur(12px);
  z-index: 0;
}
.neon-card-body { position: relative; z-index: 1; padding: 28px; }

.btn-neon {
  background: linear-gradient(90deg, #22d3ee, #6366f1);
  border: 0;
  color: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px -8px rgba(99,102,241,.7);
}
.btn-neon:hover { filter: brightness(1.05); }

.password-toggle {
  border-color: rgba(148,163,184,0.35);
  color: #cbd5e1;
}
.password-toggle:hover {
  background: rgba(255,255,255,0.08);
  color: #e2e8f0;
}

.lock-badge {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  margin-bottom: 8px;
  color: #a5b4fc;
  background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.12));
  box-shadow: inset 0 0 0 1px rgba(99,102,241,0.25);
}

.captcha-display {
  user-select: none;
  letter-spacing: .4rem;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 12px 16px;
  border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0 8px, rgba(255,255,255,0.12) 8px 16px),
              linear-gradient(90deg, rgba(34,197,94,0.08), rgba(99,102,241,0.08));
  color: #e2e8f0;
  text-shadow: 0 1px 0 rgba(0,0,0,.5), 0 0 10px rgba(99,102,241,.6);
  transform: skewX(-6deg) rotate(-0.5deg);
  border: 1px dashed rgba(148,163,184,0.4);
}

.captcha-img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(99,102,241,0.35);
  background: rgba(15,23,42,0.4);
  box-shadow: 0 10px 30px -12px rgba(99,102,241,.45);
}

/* Inputs on dark auth page */
.auth-hero .form-label { color: #c7d2fe; font-weight: 600; }
.auth-hero .form-control {
  background: rgba(255,255,255,0.06);
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.25);
}
.auth-hero .form-control::placeholder { color: rgba(226,232,240,0.6); }
.auth-hero .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: #6366f1;
  box-shadow: 0 0 0 .25rem rgba(99,102,241,.25);
}
.auth-hero .input-group-text {
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  border-color: rgba(148,163,184,0.25);
}
.auth-hero .text-secondary { color: #94a3b8 !important; }

/* Breadcrumbs */
.app-breadcrumbs {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-bottom: 1px solid rgba(2,6,23,0.06);
  padding: 0 1rem;
}
.app-breadcrumbs .breadcrumb {
  margin: 0;
  padding: .75rem 0;
}

@media (min-width: 992px) {
  .app-breadcrumbs {
    padding: 0 1.5rem;
  }
}

.navbar-gradient {
  background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-primary-accent) 100%);
  box-shadow: 0 4px 20px -5px rgba(30, 58, 138, 0.4);
  border: none !important;
  margin-bottom: 0 !important;
}

/* Dropdown menu enhancement */
.navbar .dropdown-menu {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 10px 40px -10px rgba(15,23,42,0.25);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.navbar .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: background-color 0.15s ease;
}

.navbar .dropdown-item:hover {
  background: linear-gradient(90deg, rgba(99,102,241,0.1), rgba(14,165,233,0.08));
}

.navbar .dropdown-item i {
  margin-right: 0.5rem;
  color: var(--brand-muted);
}

.navbar .dropdown-item:hover i {
  color: var(--brand-primary);
}

.navbar .nav-link {
  color: rgba(255,255,255,0.9) !important;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
  color: #ffffff !important;
}

.card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 4px 18px -6px rgba(15,23,42,0.15);
  background: #ffffff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 8px 25px -8px rgba(15,23,42,0.20);
}

/* Card header enhancement */
.card-header {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 600;
}

/* Page title styling */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(99,102,241,0.1);
}

.page-header h4,
.page-header h3,
.page-header h2 {
  margin: 0;
  color: var(--brand-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-header h4 i,
.page-header h3 i,
.page-header h2 i {
  color: var(--brand-primary-accent);
}

.card-kpi {
  color: #fff;
  border: 0;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.3);
}
.kpi-1 { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.kpi-2 { background: linear-gradient(135deg, #22c55e, #86efac); }
.kpi-3 { background: linear-gradient(135deg, #f59e0b, #fde68a); }
.kpi-4 { background: linear-gradient(135deg, #ef4444, #fb7185); }
.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.18);
  color: #fff;
}

.btn-primary {
  border-radius: .5rem;
  box-shadow: 0 6px 16px -6px rgba(37,99,235,0.6);
}
.btn-outline-primary {
  border-radius: .5rem;
}

.table thead th {
  background: linear-gradient(180deg, #eef2ff, #e0e7ff);
  color: #1e3a8a;
  border-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.875rem 1rem;
}

.table tbody tr {
  transition: background-color 0.15s ease;
}

.table tbody tr:hover {
  background: rgba(99,102,241,0.04);
}

.table tbody td {
  padding: 0.875rem 1rem;
  vertical-align: middle;
}

/* Table responsive container */
.table-responsive {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
}

.table-responsive .table {
  margin-bottom: 0;
}

.form-label {
  font-weight: 600;
  color: var(--brand-muted);
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.form-control, .form-select {
  border-radius: .5rem;
  border-color: rgba(2,6,23,0.12);
  padding: 0.625rem 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.form-control::placeholder {
  color: rgba(100, 116, 139, 0.6);
}

/* Form section styling */
.form-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0,0,0,0.04);
}

.form-section-title {
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(99,102,241,0.15);
  font-size: 0.9375rem;
}

/* Legacy footer class (replaced by .app-footer) */
.footer { background: #ffffff; display: none; }

/* =====================================================
   SUMMARY STAT BOXES (KPI Cards)
   ===================================================== */

.stat-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  flex: 1;
  min-width: 140px;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 8px -2px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(0,0,0,0.12);
}

/* Top colored accent bar */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.stat-card.stat-primary::before { background: linear-gradient(90deg, #6366f1, #818cf8); }
.stat-card.stat-success::before { background: linear-gradient(90deg, #22c55e, #4ade80); }
.stat-card.stat-warning::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.stat-card.stat-danger::before { background: linear-gradient(90deg, #ef4444, #f87171); }
.stat-card.stat-info::before { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.stat-card.stat-secondary::before { background: linear-gradient(90deg, #64748b, #94a3b8); }

.stat-card-content {
  display: flex;
  flex-direction: column;
}

.stat-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-muted);
  margin-bottom: 0.25rem;
}

.stat-card-value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.stat-card.stat-primary .stat-card-value { color: #6366f1; }
.stat-card.stat-success .stat-card-value { color: #22c55e; }
.stat-card.stat-warning .stat-card-value { color: #f59e0b; }
.stat-card.stat-danger .stat-card-value { color: #ef4444; }
.stat-card.stat-info .stat-card-value { color: #06b6d4; }
.stat-card.stat-secondary .stat-card-value { color: #64748b; }

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.stat-card.stat-primary .stat-card-icon { background: rgba(99,102,241,0.12); color: #6366f1; }
.stat-card.stat-success .stat-card-icon { background: rgba(34,197,94,0.12); color: #22c55e; }
.stat-card.stat-warning .stat-card-icon { background: rgba(245,158,11,0.12); color: #f59e0b; }
.stat-card.stat-danger .stat-card-icon { background: rgba(239,68,68,0.12); color: #ef4444; }
.stat-card.stat-info .stat-card-icon { background: rgba(6,182,212,0.12); color: #06b6d4; }
.stat-card.stat-secondary .stat-card-icon { background: rgba(100,116,139,0.12); color: #64748b; }

/* =====================================================
   ROUND ICON BUTTONS FOR GRID ACTIONS
   ===================================================== */

.action-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-decoration: none;
}

.action-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* View button - Blue */
.action-icon-btn.btn-view {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}
.action-icon-btn.btn-view:hover {
  background: #3b82f6;
  color: #ffffff;
}

/* Edit button - Indigo */
.action-icon-btn.btn-edit {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}
.action-icon-btn.btn-edit:hover {
  background: #6366f1;
  color: #ffffff;
}

/* Approve/Activate button - Green */
.action-icon-btn.btn-approve {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}
.action-icon-btn.btn-approve:hover {
  background: #22c55e;
  color: #ffffff;
}

/* Warning/Conditional button - Orange */
.action-icon-btn.btn-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}
.action-icon-btn.btn-warning:hover {
  background: #f59e0b;
  color: #ffffff;
}

/* Delete/Reject button - Red */
.action-icon-btn.btn-delete {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.action-icon-btn.btn-delete:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Deactivate button - Gray */
.action-icon-btn.btn-deactivate {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}
.action-icon-btn.btn-deactivate:hover {
  background: #64748b;
  color: #ffffff;
}

/* Action buttons container */
.grid-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* =====================================================
   SEARCH BOX COMPONENT
   ===================================================== */

.search-box {
  position: relative;
}

.search-box .form-control {
  padding-left: 2.5rem;
  border-radius: 8px;
}

.search-box .search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-muted);
  pointer-events: none;
}

/* Filter card styling */
.filter-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

/* Utility */
.shadow-soft { box-shadow: 0 8px 30px -10px rgba(0,0,0,.2); }

/* Enhanced button styling */
.btn {
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(37,99,235,0.7);
}

.btn-outline-primary:hover {
  transform: translateY(-1px);
}

/* Action buttons group */
.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.action-buttons .btn {
  padding: 0.375rem 0.75rem;
}

/* Alert enhancements */
.alert {
  border-radius: 12px;
  border-left-width: 4px;
}

/* Badge enhancements */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 6px;
}

/* Input group styling */
.input-group-text {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-color: rgba(2,6,23,0.1);
}

/* Empty state styling */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--brand-muted);
}

.empty-state i {
  font-size: 3rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}

/* Loading overlay */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  z-index: 10;
}

/* Chart containers */
canvas { filter: drop-shadow(0 6px 18px rgba(2,6,23,.08)); border-radius: 8px; }

/* =====================================================
   DASHBOARD TAB NAVIGATION
   ===================================================== */

#dashboardTabs {
  border-bottom: 2px solid rgba(99,102,241,0.1);
  gap: 0.5rem;
}

#dashboardTabs .nav-link {
  border: none;
  border-radius: 10px 10px 0 0;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: var(--brand-muted);
  background: rgba(99,102,241,0.05);
  transition: all 0.2s ease;
}

#dashboardTabs .nav-link:hover {
  color: var(--brand-primary);
  background: rgba(99,102,241,0.1);
}

#dashboardTabs .nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-accent));
  box-shadow: 0 4px 12px -4px rgba(99,102,241,0.4);
}

#dashboardTabs .nav-link i {
  font-size: 1rem;
}

/* Dashboard metric cards */
.metric-highlight {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(14,165,233,0.05));
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 12px;
  padding: 1.5rem;
}

/* Pipeline bars animation */
.pipeline-bar-animated {
  animation: slideIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pipeline-bar-animated:nth-child(1) { animation-delay: 0.1s; }
.pipeline-bar-animated:nth-child(2) { animation-delay: 0.2s; }
.pipeline-bar-animated:nth-child(3) { animation-delay: 0.3s; }
.pipeline-bar-animated:nth-child(4) { animation-delay: 0.4s; }
.pipeline-bar-animated:nth-child(5) { animation-delay: 0.5s; }

/* Rate badge styling */
.rate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.rate-badge.rate-success { background: rgba(34,197,94,0.15); color: #16a34a; }
.rate-badge.rate-warning { background: rgba(245,158,11,0.15); color: #d97706; }
.rate-badge.rate-danger { background: rgba(239,68,68,0.15); color: #dc2626; }

/* Geographic card hover effect */
.geo-hover-card {
  transition: all 0.2s ease;
  cursor: pointer;
}

.geo-hover-card:hover {
  background: rgba(99,102,241,0.04);
  transform: translateX(4px);
}

/* Dashboard summary stat */
.summary-stat-lg {
  text-align: center;
  padding: 1.5rem;
}

.summary-stat-lg .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.summary-stat-lg .stat-label {
  color: var(--brand-muted);
  font-size: 0.875rem;
}

/* Breadcrumbs */
.app-breadcrumb {
  background: linear-gradient(90deg, rgba(99,102,241,.08), rgba(14,165,233,.06));
  border: 1px solid rgba(2,6,23,.06);
  border-radius: 12px;
  padding: .6rem .9rem;
}
.breadcrumb { --bs-breadcrumb-divider: '›'; }
.breadcrumb .breadcrumb-item { display: flex; align-items: center; gap: .4rem; color: var(--brand-muted); }
.breadcrumb .breadcrumb-item a.crumb-link {
  text-decoration: none;
  color: #1d4ed8;
  background: #eef2ff;
  padding: .25rem .55rem;
  border-radius: 10px;
}
.breadcrumb .breadcrumb-item a.crumb-link:hover { background: #e0e7ff; }
.breadcrumb .breadcrumb-item.active span { font-weight: 600; color: var(--brand-text); }
