:root {
  --card-bg: #111317;
}

body {
  background: #0b0d10;
}

.navbar {
  backdrop-filter: blur(8px);
}

/* Ensure dropdown menus are never clipped by nav containers */
.navbar,
.navbar .container,
.navbar .container-fluid,
.navbar .navbar-collapse {
  overflow: visible !important;
}


.card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
}

.table {
  --bs-table-bg: transparent;
}

.table thead th {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

.table tbody td {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.form-control, .form-select {
  background-color: #0f1116;
  border: 1px solid rgba(255,255,255,0.14);
  color: #e8eaed;
}

.form-control:focus, .form-select:focus {
  border-color: rgba(13,110,253,0.8);
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
}

.btn {
  border-radius: 10px;
}

.badge {
  border-radius: 999px;
}

.small-muted {
  color: rgba(255,255,255,0.65);
}

.kpi {
  font-size: 2.1rem;
  font-weight: 700;
}

.kpi-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

@media print {
  .navbar, .no-print {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .card {
    background: transparent !important;
    border: none !important;
  }
  .table thead th, .table tbody td {
    color: #000 !important;
  }
}


/* --- Navigation reliability: keep dropdowns above page content --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1050; /* above cards/tables */
}

.navbar .dropdown-menu {
  z-index: 2000;
}

/* Slightly cleaner dark dropdown styling */
.dropdown-menu {
  background-color: rgba(17, 17, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.9);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.98);
}

/* --- Brand --- */
.brand-mark {
  display: block;
}


/* --- Footer --- */
.atlas-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 28px;
}
