/* ═══════════════════════════════════════════════════════════════════
   Extracted from resources/views/fares/operator.blade.php
   Previously 3 inline <style> blocks, re-sent on every render and
   uncacheable. Blocks are concatenated in their original source order,
   so the cascade within the page is unchanged.
   ═══════════════════════════════════════════════════════════════════ */

/* ── block 1 of 3 ───────────────────────────────── */
/* Operator Fares Page - Mobile */
@media (max-width: 768px) {
  /* Card header: stack title and search on mobile */
  .card-fare-group .card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .card-fare-search-wrapper {
    width: 100% !important;
  }
  /* Fare result table on mobile */
  .fare-result-table td,
  .fare-result-table th {
    padding: 0.75rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
  /* Data/bus-category table */
  .data-table td,
  .data-table th {
    padding: 0.65rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
}
@media (max-width: 480px) {
  .fare-result-table td,
  .fare-result-table th,
  .data-table td,
  .data-table th {
    padding: 0.5rem 0.5rem !important;
    font-size: 0.78rem !important;
  }
  /* Route cell: wrap city names */
  .fare-result-table td:first-child {
    min-width: 120px;
    word-break: break-word;
  }
}

/* ── block 2 of 3 ───────────────────────────────── */
.bus-categories-section summary::-webkit-details-marker { display: none; }
    .bus-categories-section[open] summary span:last-child { transform: rotate(45deg); display: inline-block; transition: transform 0.2s; }

/* ── block 3 of 3 ───────────────────────────────── */
.sr-only {
          position: absolute;
          width: 1px;
          height: 1px;
          padding: 0;
          margin: -1px;
          overflow: hidden;
          clip: rect(0, 0, 0, 0);
          white-space: nowrap;
          border-width: 0;
        }
        .routes-list {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;
          padding: 1rem;
        }
        .route-card {
          background: rgba(255,255,255,0.015);
          border: 1px solid rgba(255,255,255,0.04);
          border-radius: var(--radius-sm);
          padding: 0.75rem 1rem;
          display: flex;
          flex-direction: column;
          gap: 0.75rem;
          transition: transform 0.2s, background 0.2s;
        }
        .route-card:hover {
          background: rgba(255,255,255,0.03);
          border-color: rgba(255,255,255,0.08);
        }
        .route-card-header {
          border-bottom: 1px solid rgba(255,255,255,0.05);
          padding-bottom: 0.5rem;
        }
        .route-card-title {
          font-size: 0.95rem;
          font-weight: 700;
          color: var(--color-text);
          margin: 0;
          line-height: 1.3;
        }
        .route-card-fares {
          display: flex;
          flex-wrap: wrap;
          gap: 0.5rem;
        }
        .fare-badge {
          background: rgba(255,255,255,0.03);
          border: 1px solid rgba(255,255,255,0.06);
          padding: 0.35rem 0.6rem;
          border-radius:var(--radius-sm);
          display: flex;
          flex-direction: row;
          align-items: center;
          gap: 0.4rem;
        }
        .fare-class-name {
          color: var(--color-text-muted);
          font-size: 0.65rem;
          text-transform: uppercase;
          letter-spacing: 0.5px;
          font-weight: 700;
          margin: 0;
        }
        .fare-price {
          color: var(--color-primary);
          font-weight: 800;
          font-size: 0.85rem;
        }
        @media (min-width: 768px) {
          .route-card {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            padding: 0.75rem 1rem;
            gap: 1rem;
          }
          .route-card-header {
            border-bottom: none;
            padding-bottom: 0;
            flex: 0 0 35%;
          }
          .route-card-fares {
            flex: 1;
            justify-content: flex-end;
          }
        }

