/* 
   ==========================================================================
   Premium Custom Theme for Vigil Super Admin Panel 
   Tailored Navy Blue (#062152) & Emerald Green Accent (#22c55e)
   v2.0 — Premium Overhaul
   ==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Global Font Override */
body, 
button, 
input, 
select, 
textarea, 
.form-control, 
.form-select, 
.btn, 
.badge,
.card-title, 
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif !important;
}

/* ── CSS Variables ──────────────────────────────────────────── */
:root,
[data-bs-theme="light"] {
  /* Navy Blue for Primary */
  --bs-primary: #062152;
  --bs-primary-rgb: 6, 33, 82;
  
  /* Green for Secondary (Accent) */
  --bs-secondary: #22c55e;
  --bs-secondary-rgb: 34, 197, 94;

  --bs-link-color: #062152;
  --bs-link-hover-color: #0b3d91;
  --bs-link-color-rgb: 6, 33, 82;
  --bs-link-hover-color-rgb: 11, 61, 145;

  --bs-primary-bg-subtle: rgba(6, 33, 82, 0.08);
  --bs-secondary-bg-subtle: rgba(34, 197, 94, 0.08);
  
  --bs-primary-border-subtle: rgba(6, 33, 82, 0.15);
  --bs-secondary-border-subtle: rgba(34, 197, 94, 0.15);
  
  --bs-form-valid-color: #22c55e;
  --bs-form-valid-border-color: #22c55e;

  /* Vigil custom tokens */
  --vigil-glass-bg: rgba(255, 255, 255, 0.72);
  --vigil-glass-border: rgba(6, 33, 82, 0.08);
  --vigil-surface: #f8f9fc;
  --vigil-text: #1e293b;
  --vigil-text-muted: #64748b;
  --vigil-shadow-sm: 0 1px 3px rgba(6, 33, 82, 0.04);
  --vigil-shadow-md: 0 8px 24px -4px rgba(6, 33, 82, 0.06);
  --vigil-shadow-lg: 0 16px 48px -8px rgba(6, 33, 82, 0.08);
  --vigil-radius: 14px;
  --vigil-radius-sm: 8px;
  --vigil-radius-lg: 20px;
}

[data-bs-theme="dark"] {
  --bs-primary: #0e449c;
  --bs-primary-rgb: 14, 68, 156;
  
  --bs-secondary: #22c55e;
  --bs-secondary-rgb: 34, 197, 94;

  --bs-link-color: #3b82f6;
  --bs-link-hover-color: #60a5fa;
  --bs-link-color-rgb: 59, 130, 246;
  --bs-link-hover-color-rgb: 96, 165, 250;

  --bs-primary-bg-subtle: rgba(14, 68, 156, 0.15);
  --bs-secondary-bg-subtle: rgba(34, 197, 94, 0.15);
  
  --bs-primary-border-subtle: rgba(14, 68, 156, 0.3);
  --bs-secondary-border-subtle: rgba(34, 197, 94, 0.3);

  --vigil-glass-bg: rgba(15, 23, 42, 0.75);
  --vigil-glass-border: rgba(255, 255, 255, 0.06);
  --vigil-surface: #0f172a;
  --vigil-text: #e2e8f0;
  --vigil-text-muted: #94a3b8;
  --vigil-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
  --vigil-shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.25);
  --vigil-shadow-lg: 0 16px 48px -8px rgba(0, 0, 0, 0.35);
}

/* ── Premium Scrollbars ──────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(6, 33, 82, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 33, 82, 0.3);
}
[data-bs-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Global Transition System ──────────────────────────────── */
.btn, 
.card, 
.form-control, 
.form-select, 
.dropdown-item, 
.badge,
.avatar-title,
.nav-link,
.page-link {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ── Page Content Area ──────────────────────────────────────── */
.page-content {
  animation: vigil-fadeIn 0.35s ease-out;
}
@keyframes vigil-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Premium Card System ──────────────────────────────────── */
.card {
  border-radius: var(--vigil-radius) !important;
  border: 1px solid var(--vigil-glass-border) !important;
  box-shadow: var(--vigil-shadow-md) !important;
  background-color: var(--bs-card-bg, #ffffff);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--vigil-shadow-lg) !important;
}
[data-bs-theme="dark"] .card {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.card-header {
  border-bottom: 1px solid rgba(6, 33, 82, 0.06) !important;
  padding: 1.25rem 1.5rem !important;
  background: transparent !important;
}
.card-header .card-title {
  font-weight: 650 !important;
  font-size: 1.05rem !important;
  letter-spacing: -0.01em;
}

/* ── Glass Topbar ─────────────────────────────────────────── */
.topbar {
  background: var(--vigil-glass-bg) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
  border-bottom: 1px solid var(--vigil-glass-border) !important;
  box-shadow: 0 1px 12px rgba(6, 33, 82, 0.04) !important;
}
.topbar .welcome-text span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
}
.topbar .nav-icon {
  width: 38px;
  height: 38px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
}
.topbar .nav-icon:hover {
  background: var(--bs-primary-bg-subtle) !important;
}
.topbar .top-search {
  border-radius: 10px !important;
  background: rgba(6, 33, 82, 0.03) !important;
  border: 1.5px solid rgba(6, 33, 82, 0.06) !important;
  font-size: 0.88rem;
}
.topbar .top-search:focus {
  background: #fff !important;
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 3px rgba(6, 33, 82, 0.08) !important;
}

/* ── Premium Sidebar ──────────────────────────────────────── */
.startbar {
  border-right: 1px solid var(--vigil-glass-border) !important;
  box-shadow: 2px 0 24px rgba(6, 33, 82, 0.03) !important;
}
.startbar .brand {
  border-bottom: 1px solid var(--vigil-glass-border) !important;
}
.startbar .menu-label span {
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--vigil-text-muted);
  opacity: 0.7;
}
.startbar .nav-item > .nav-link {
  border-radius: var(--vigil-radius-sm) !important;
  margin: 2px 8px !important;
  padding: 0.55rem 0.9rem !important;
  font-size: 0.88rem;
  font-weight: 450;
  color: var(--vigil-text-muted);
}
.startbar .nav-item > .nav-link:hover {
  background: var(--bs-primary-bg-subtle) !important;
  color: var(--bs-primary) !important;
  transform: translateX(3px);
}
.startbar .nav-item > .nav-link .menu-icon {
  font-size: 1.15rem;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}
.startbar .nav-item > .nav-link:hover .menu-icon {
  opacity: 1;
  transform: scale(1.05);
}
/* Nested sub-items */
.startbar .collapse .nav-link {
  font-size: 0.84rem !important;
  padding: 0.4rem 0.9rem 0.4rem 2.4rem !important;
  border-radius: 6px !important;
  margin: 1px 12px !important;
  color: var(--vigil-text-muted);
  position: relative;
}
.startbar .collapse .nav-link::before {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  transition: all 0.2s;
}
.startbar .collapse .nav-link:hover::before,
.startbar .collapse .nav-link.active::before {
  opacity: 1;
  background: var(--bs-primary);
  box-shadow: 0 0 6px rgba(6, 33, 82, 0.3);
}
.startbar .collapse .nav-link:hover {
  background: var(--bs-primary-bg-subtle) !important;
  color: var(--bs-primary) !important;
}

/* Active nav states */
.active > .nav-link,
.nav-link.active {
  color: var(--bs-primary) !important;
  font-weight: 600 !important;
  background-color: var(--bs-primary-bg-subtle) !important;
  border-radius: var(--vigil-radius-sm);
  box-shadow: inset 3px 0 0 var(--bs-primary);
}

/* ── Input Fields ──────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: 10px !important;
  border: 1.5px solid rgba(6, 33, 82, 0.1) !important;
  padding: 0.6rem 0.95rem !important;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: var(--vigil-text);
}
[data-bs-theme="dark"] .form-control, 
[data-bs-theme="dark"] .form-select {
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  background-color: #1e2433;
  color: #e2e8f0;
}
.form-control:focus, .form-select:focus {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 3px rgba(6, 33, 82, 0.1) !important;
  outline: 0;
}
.input-group-text {
  border-radius: 10px !important;
  border: 1.5px solid rgba(6, 33, 82, 0.1) !important;
  background-color: rgba(6, 33, 82, 0.02) !important;
}
.form-label {
  font-weight: 550;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  color: var(--vigil-text);
  margin-bottom: 0.4rem;
}

/* ── Premium Buttons ──────────────────────────────────────── */
.btn {
  border-radius: 10px !important;
  padding: 0.55rem 1.15rem !important;
  font-weight: 550 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.btn-sm {
  border-radius: 8px !important;
  padding: 0.38rem 0.8rem !important;
  font-size: 0.82rem !important;
}

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, #062152 0%, #0c3a8a 100%) !important;
  box-shadow: 0 4px 14px rgba(6, 33, 82, 0.25), inset 0 1px 0 rgba(255,255,255,0.1) !important;
  border: none !important;
  color: #ffffff !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 33, 82, 0.35), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  background: linear-gradient(135deg, #092e6f 0%, #1048b0 100%) !important;
}
.btn-primary:active {
  transform: translateY(0.5px) scale(0.99);
  box-shadow: 0 2px 8px rgba(6, 33, 82, 0.2) !important;
}

/* Secondary */
.btn-secondary {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.25), inset 0 1px 0 rgba(255,255,255,0.15) !important;
  border: none !important;
  color: #ffffff !important;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.35) !important;
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}
.btn-secondary:active {
  transform: translateY(0.5px) scale(0.99);
}

/* Light / Ghost */
.btn-light {
  background-color: rgba(6, 33, 82, 0.04) !important;
  border: 1.5px solid rgba(6, 33, 82, 0.08) !important;
  color: var(--bs-primary) !important;
  box-shadow: none !important;
}
.btn-light::after { display: none; }
.btn-light:hover {
  background-color: rgba(6, 33, 82, 0.08) !important;
  border-color: rgba(6, 33, 82, 0.15) !important;
  transform: translateY(-1px);
  box-shadow: var(--vigil-shadow-sm) !important;
}
.btn-light:active {
  transform: translateY(0.5px);
}

/* Outline Primary */
.btn-outline-primary {
  border: 1.5px solid var(--bs-primary) !important;
  color: var(--bs-primary) !important;
  background: transparent !important;
}
.btn-outline-primary::after { display: none; }
.btn-outline-primary:hover {
  background: var(--bs-primary) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 33, 82, 0.2) !important;
}

/* Outline Secondary */
.btn-outline-secondary {
  border: 1.5px solid rgba(6, 33, 82, 0.15) !important;
  color: var(--vigil-text) !important;
  background: transparent !important;
}
.btn-outline-secondary::after { display: none; }
.btn-outline-secondary:hover {
  border-color: var(--bs-primary) !important;
  color: var(--bs-primary) !important;
  background: var(--bs-primary-bg-subtle) !important;
  transform: translateY(-1px);
}

/* Danger */
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25) !important;
  color: #fff !important;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.35) !important;
  background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}

/* Warning */
.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2) !important;
  color: #fff !important;
}
.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.3) !important;
}

/* Info */
.btn-info {
  background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.2) !important;
  color: #fff !important;
}
.btn-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.3) !important;
}

/* Success */
.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.2) !important;
  color: #fff !important;
}
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 197, 94, 0.3) !important;
}

/* Soft Buttons */
.btn-soft-primary,
[class*="btn-soft-"] {
  border: none !important;
  box-shadow: none !important;
}
[class*="btn-soft-"]::after { display: none; }
.btn-soft-primary {
  background: var(--bs-primary-bg-subtle) !important;
  color: var(--bs-primary) !important;
}
.btn-soft-primary:hover {
  background: rgba(6, 33, 82, 0.15) !important;
  transform: translateY(-1px);
}
.btn-soft-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
}
.btn-soft-danger:hover {
  background: rgba(239, 68, 68, 0.18) !important;
  transform: translateY(-1px);
}
.btn-soft-success {
  background: rgba(34, 197, 94, 0.1) !important;
  color: #16a34a !important;
}
.btn-soft-success:hover {
  background: rgba(34, 197, 94, 0.18) !important;
  transform: translateY(-1px);
}
.btn-soft-warning {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #d97706 !important;
}
.btn-soft-warning:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  transform: translateY(-1px);
}
.btn-soft-info {
  background: rgba(6, 182, 212, 0.1) !important;
  color: #0891b2 !important;
}
.btn-soft-info:hover {
  background: rgba(6, 182, 212, 0.18) !important;
  transform: translateY(-1px);
}

/* ── Dropdown Menu ──────────────────────────────────────────── */
.dropdown-menu {
  border-radius: 12px !important;
  border: 1px solid var(--vigil-glass-border) !important;
  box-shadow: 0 12px 36px rgba(6, 33, 82, 0.1), 0 4px 12px rgba(6, 33, 82, 0.04) !important;
  padding: 0.4rem !important;
  backdrop-filter: blur(12px);
  background: var(--vigil-glass-bg);
  animation: vigil-dropIn 0.18s ease-out;
}
@keyframes vigil-dropIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dropdown-item {
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.86rem;
  font-weight: 450;
}
.dropdown-item:hover {
  background-color: var(--bs-primary-bg-subtle) !important;
  color: var(--bs-primary) !important;
}

/* ── Table Polish ──────────────────────────────────────────── */
.table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
.table thead th {
  background-color: rgba(6, 33, 82, 0.025) !important;
  border: none !important;
  border-bottom: 2px solid rgba(6, 33, 82, 0.06) !important;
  font-weight: 650 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0.9rem 1rem !important;
  color: var(--vigil-text-muted);
}
.table tbody td {
  padding: 1rem !important;
  border-bottom: 1px solid rgba(6, 33, 82, 0.04) !important;
  font-size: 0.88rem;
  vertical-align: middle;
}
.table-hover tbody tr {
  cursor: pointer;
}
.table-hover tbody tr:hover td {
  background-color: rgba(6, 33, 82, 0.018) !important;
}
[data-bs-theme="dark"] .table thead th {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
[data-bs-theme="dark"] .table-hover tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  border-radius: 6px !important;
  padding: 0.35rem 0.7rem !important;
  font-weight: 600 !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.3px;
  text-transform: capitalize;
}
.bg-success-subtle {
  background-color: rgba(34, 197, 94, 0.12) !important;
  color: #15803d !important;
}
.bg-danger-subtle {
  background-color: rgba(239, 68, 68, 0.12) !important;
  color: #b91c1c !important;
}
.bg-warning-subtle {
  background-color: rgba(245, 158, 11, 0.12) !important;
  color: #b45309 !important;
}
.bg-primary-subtle {
  background-color: rgba(6, 33, 82, 0.08) !important;
  color: #062152 !important;
}
.bg-info-subtle {
  background-color: rgba(6, 182, 212, 0.1) !important;
  color: #0e7490 !important;
}

/* ── Avatars ───────────────────────────────────────────────── */
.avatar-title {
  border-radius: 50% !important;
  font-weight: 650 !important;
  box-shadow: inset 0 2px 4px rgba(6, 33, 82, 0.06);
  font-size: 0.85em;
}

/* ── Premium Pagination ───────────────────────────────────── */
.pagination .page-link {
  border-radius: 8px !important;
  margin: 0 2px;
  border: 1.5px solid rgba(6, 33, 82, 0.08) !important;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--vigil-text-muted);
}
.pagination .page-link:hover {
  background: var(--bs-primary-bg-subtle) !important;
  border-color: rgba(6, 33, 82, 0.15) !important;
  color: var(--bs-primary) !important;
  transform: translateY(-1px);
}
.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #062152, #0c3a8a) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(6, 33, 82, 0.25) !important;
}
.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Progress Bars ──────────────────────────────────────────── */
.progress {
  border-radius: 20px !important;
  background-color: rgba(6, 33, 82, 0.05) !important;
  overflow: hidden;
}
.progress-bar {
  border-radius: 20px !important;
  position: relative;
  overflow: hidden;
}
.progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: vigil-shimmer 2.5s ease-in-out infinite;
}
@keyframes vigil-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Premium Modals ────────────────────────────────────────── */
.modal-content {
  border-radius: var(--vigil-radius-lg) !important;
  border: 1px solid var(--vigil-glass-border) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(6, 33, 82, 0.06) !important;
  animation: vigil-modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes vigil-modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-backdrop.show {
  opacity: 0.35 !important;
  backdrop-filter: blur(8px) !important;
  background-color: #030e22 !important;
}
.modal-header {
  padding: 1.5rem 1.5rem 0.75rem !important;
  border-bottom: none !important;
}
.modal-header .modal-title {
  font-weight: 650;
  font-size: 1.1rem;
}
.modal-footer {
  padding: 0.75rem 1.5rem 1.5rem !important;
  border-top: none !important;
}

/* ── Alerts / Toasts ───────────────────────────────────────── */
.alert {
  border-radius: 12px !important;
  border: none !important;
  font-size: 0.88rem;
  font-weight: 450;
  padding: 0.85rem 1.2rem !important;
  box-shadow: var(--vigil-shadow-sm);
}
.alert-warning {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #92400e !important;
  border-left: 4px solid #f59e0b !important;
}
.alert-danger {
  background: rgba(239, 68, 68, 0.08) !important;
  color: #991b1b !important;
  border-left: 4px solid #ef4444 !important;
}
.alert-info {
  background: rgba(6, 182, 212, 0.08) !important;
  color: #155e75 !important;
  border-left: 4px solid #06b6d4 !important;
}
.alert-success {
  background: rgba(34, 197, 94, 0.08) !important;
  color: #14532d !important;
  border-left: 4px solid #22c55e !important;
}

/* ── Login / Auth Page ────────────────────────────────────── */
.auth-header-box {
  background: linear-gradient(135deg, #062152 0%, #0b3580 50%, #0c3a8a 100%) !important;
  position: relative;
  overflow: hidden;
}
.auth-header-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.08);
  animation: vigil-float 6s ease-in-out infinite;
}
.auth-header-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  animation: vigil-float 8s ease-in-out infinite reverse;
}
@keyframes vigil-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(15px, -10px); }
}
.auth-header-box h4 {
  position: relative;
  z-index: 1;
}
.auth-header-box p {
  position: relative;
  z-index: 1;
}
.auth-header-box .auth-logo {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

/* ── Loading / Spinner Enhancements ────────────────────────── */
.spinner-border {
  border-width: 2px !important;
}
.spinner-border-sm {
  border-width: 1.5px !important;
  width: 1rem;
  height: 1rem;
}

/* ── Nav Tabs ──────────────────────────────────────────────── */
.nav-tabs {
  border-bottom: 2px solid rgba(6, 33, 82, 0.06) !important;
}
.nav-tabs .nav-link {
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px;
  font-weight: 550;
  font-size: 0.86rem;
  color: var(--vigil-text-muted);
  padding: 0.65rem 1rem !important;
}
.nav-tabs .nav-link:hover {
  color: var(--bs-primary);
  border-bottom-color: rgba(6, 33, 82, 0.2) !important;
}
.nav-tabs .nav-link.active {
  color: var(--bs-primary) !important;
  border-bottom-color: var(--bs-primary) !important;
  background: transparent !important;
  box-shadow: none;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer .card {
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-top: 1px solid var(--vigil-glass-border) !important;
  background: transparent !important;
}

/* ── Utility Helpers ───────────────────────────────────────── */
.bg-primary {
  background-color: var(--bs-primary) !important;
}
.text-primary {
  color: var(--bs-primary) !important;
}
.border-primary {
  border-color: var(--bs-primary) !important;
}

/* Empty state styling for placeholder pages */
.card-body:only-child > .text-center:only-child {
  padding: 3rem 1rem;
  color: var(--vigil-text-muted);
  font-size: 0.92rem;
}

/* Tooltip improvements */
.tooltip-inner {
  border-radius: 8px !important;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  font-weight: 500;
}

/* Focus ring for accessibility */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--bs-primary) !important;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: rgba(6, 33, 82, 0.15);
  color: #062152;
}
