/* OperHub — Custom styles */

/* Sidebar active link highlight */
#sidebar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

#sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Table improvements */
.table th {
  white-space: nowrap;
}

/* Status badges — using .status-{value} class pattern */
.badge.status-created     { background-color: #6c757d; }
.badge.status-confirmed   { background-color: #0d6efd; }
.badge.status-finished    { background-color: #198754; }
.badge.status-draft       { background-color: #adb5bd; color: #212529; }
.badge.status-scheduled   { background-color: #0dcaf0; color: #212529; }
.badge.status-delivering  { background-color: #ffc107; color: #212529; }
.badge.status-delivered   { background-color: #198754; }
.badge.status-cancelled   { background-color: #dc3545; }
.badge.status-paid        { background-color: #198754; }

/* Legacy class names (kept for compatibility) */
.badge-status-created     { background-color: #6c757d; }
.badge-status-confirmed   { background-color: #0d6efd; }
.badge-status-finished    { background-color: #198754; }
.badge-status-draft       { background-color: #adb5bd; color: #212529; }
.badge-status-scheduled   { background-color: #0dcaf0; color: #212529; }
.badge-status-delivering  { background-color: #ffc107; color: #212529; }
.badge-status-delivered   { background-color: #198754; }
.badge-status-cancelled   { background-color: #dc3545; }
.badge-status-paid        { background-color: #198754; }

/* HTMX loading indicator */
.htmx-indicator {
  display: none;
}
.htmx-request .htmx-indicator {
  display: inline-block;
}