/* ============================================================
   Fleet TMS — Custom Styles
   ============================================================ */

/* Smooth transitions on cards */
.card {
  transition: box-shadow 0.2s ease;
}
.card:hover {
  box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.12) !important;
}

/* Status badge colors */
.badge-draft     { background-color: #6c757d; }
.badge-sent      { background-color: #0d6efd; }
.badge-accepted  { background-color: #198754; }
.badge-declined  { background-color: #dc3545; }
.badge-expired   { background-color: #fd7e14; }

/* Trip status colors */
.badge-open      { background-color: #6c757d; }
.badge-assigned  { background-color: #0dcaf0; color: #000; }
.badge-inprogress{ background-color: #ffc107; color: #000; }
.badge-complete  { background-color: #198754; }
.badge-cancelled { background-color: #dc3545; }

/* Vehicle status row colors (used in fleet table) */
.row-oos         { background-color: #fff0f0 !important; }
.row-in-service  { background-color: #fffbe6 !important; }
.row-active      { background-color: #f0fff4 !important; }

/* Dispatch board trip type colors */
.trip-spab       { border-left: 4px solid #ffc107 !important; }
.trip-airport    { border-left: 4px solid #0d6efd !important; }
.trip-transfer   { border-left: 4px solid #198754 !important; }
.trip-charter    { border-left: 4px solid #6f42c1 !important; }

/* Sidebar nav active state */
.nav-link.active-page {
  color: #ffc107 !important;
  font-weight: 600;
}

/* Table improvements */
.table th {
  background-color: #f8f9fa;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Make the whole card clickable feel */
a.card-link {
  text-decoration: none;
  color: inherit;
}
