body {
  min-height: 100vh;
  color: #1f2933;
  background-image: radial-gradient(circle at 10% -10%, rgba(50, 84, 111, 0.15), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(182, 112, 50, 0.15), transparent 35%);
}

.card {
  border-radius: 1rem;
  background: #ffffff;
}

.status-chip {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

#timeslot,
#venueFilter {
  min-width: 160px;
}

.small-status {
  border: 1px solid #9aa8b4;
  border-radius: 0.5rem;
  padding: 0.75rem;
  background: #f8fafc;
  color: #334155;
}

.table-wrap a {
  text-decoration: none;
}

.table-wrap a:hover {
  text-decoration: underline;
}

.matrix-table th,
.matrix-table td {
  min-width: 145px;
  vertical-align: top;
  border-color: #98a6b5;
}

.matrix-table thead th {
  background: #e8edf2 !important;
  color: #1f2933;
  font-weight: 700;
}

.matrix-table tbody tr:nth-child(even) {
  background: #f7fafc;
}

.matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
}

.matrix-table th:first-child,
.matrix-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #ffffff;
}

.matrix-table thead th:first-child {
  z-index: 4;
}

.status-label {
  text-transform: capitalize;
  font-size: 0.78rem;
}

.slot-links {
  margin-top: 0.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.slot-link {
  font-size: 0.72rem;
}

.slot-badge {
  text-decoration: none !important;
  text-transform: capitalize;
  min-width: 60px;
  text-align: center;
  font-weight: 700;
}

span.slot-badge {
  opacity: 1;
}

/* Higher-contrast badge colors than default theme shades. */
.text-bg-success {
  background-color: #1d7a44 !important;
  color: #ffffff !important;
}

.text-bg-danger {
  background-color: #b42318 !important;
  color: #ffffff !important;
}

.text-bg-secondary {
  background-color: #475467 !important;
  color: #ffffff !important;
}

@media (max-width: 991px) {
  .matrix-table th,
  .matrix-table td {
    min-width: 130px;
  }
}
