/* Woo Multistore Hub - small overrides on top of Bootstrap 5 (CDN).
   Deliberately tiny: no build step, no preprocessor. */

body {
  font-size: 0.95rem;
}

.navbar-brand {
  letter-spacing: -0.01em;
}

/* Cards: flatter, tighter look for a data-dense admin panel. */
.card {
  border-radius: 0.6rem;
}

.card-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.table > :not(caption) > * > * {
  padding: 0.55rem 0.6rem;
}

.table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: #6c757d;
  white-space: nowrap;
}

.badge {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Order-status badges keep the same width so columns do not jitter. */
td .badge {
  min-width: 4.5rem;
}

.font-monospace {
  font-size: 0.85em;
}

/* Notes timeline on the order detail page. */
.timeline > li {
  border-left-width: 2px !important;
  border-left-color: rgba(13, 110, 253, 0.25) !important;
  position: relative;
}

.timeline > li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d6efd;
}

/* Buttons that are mid-request. */
button[disabled] {
  cursor: progress;
}

/* Keep filter bars from wrapping awkwardly on small screens. */
@media (max-width: 575.98px) {
  h1.h4 {
    font-size: 1.15rem;
  }
  .table {
    font-size: 0.85rem;
  }
}

/* Dark mode, if the browser asks for it. */
@media (prefers-color-scheme: dark) {
  html[data-bs-theme="light"] .table thead th {
    color: #6c757d;
  }
}
