/* ────────────────────────────────────────────
   ORDERS HISTORY TAB
──────────────────────────────────────────── */
    .orders-list {
      padding: 16px 20px;
    }

    /* ── Mini progress strip on active order cards ── */
    .mini-progress-strip {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      margin: 10px 0 4px;
      padding: 10px 4px 2px;
      border-top: 1px solid var(--cream3);
      position: relative;
    }

    .mini-progress-strip::before {
      content: '';
      position: absolute;
      top: 22px;
      left: 20px;
      right: 20px;
      height: 2px;
      background: var(--cream3);
      z-index: 0;
    }

    .mps-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      flex: 1;
      position: relative;
      z-index: 1;
    }

    .mps-dot {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--cream3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      transition: background 0.3s, transform 0.3s;
      border: 2px solid var(--white);
    }

    .mps-dot.mps-done {
      background: var(--green, #22c55e);
      color: #fff;
      font-size: 10px;
      font-weight: 800;
    }

    .mps-dot.mps-active {
      background: var(--rust, #f97316);
      animation: mps-pulse 1.8s infinite;
      border: 2px solid rgba(200, 75, 47, 0.2);
    }

    @keyframes mps-pulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(200, 75, 47, 0.4);
      }

      50% {
        box-shadow: 0 0 0 5px rgba(200, 75, 47, 0);
      }
    }

    .mps-label {
      font-size: 9px;
      color: var(--ink4);
      text-align: center;
      font-weight: 600;
      line-height: 1.2;
      letter-spacing: 0.01em;
    }

    .mps-dot.mps-active~.mps-label,
    .mps-step:has(.mps-active) .mps-label {
      color: var(--rust, #f97316);
    }

    .mps-step:has(.mps-done) .mps-label {
      color: var(--green, #22c55e);
    }

    .order-hist-card {
      background: var(--white);
      border-radius: var(--radius);
      padding: 14px 16px;
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
      cursor: pointer;
      transition: box-shadow 0.2s;
    }

    .order-hist-card:hover {
      box-shadow: var(--shadow);
    }

    .order-hist-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 8px;
    }

    .order-hist-rest {
      font-size: 15px;
      font-weight: 700;
    }

    .order-hist-date {
      font-size: 11px;
      color: var(--ink4);
    }

    .order-hist-items {
      font-size: 13px;
      color: var(--ink3);
      margin-bottom: 10px;
    }

    .order-hist-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .order-hist-total {
      font-size: 15px;
      font-weight: 700;
      color: var(--rust);
      font-family: var(--serif);
    }

    .status-pill {
      padding: 4px 10px;
      border-radius: var(--radius-full);
      font-size: 11px;
      font-weight: 600;
    }

    .pill-pending {
      background: var(--amber-light);
      color: var(--amber);
    }

    .pill-cooking {
      background: rgba(200, 75, 47, 0.1);
      color: var(--rust);
    }

    .pill-delivered {
      background: var(--green-light);
      color: var(--green);
    }

    .pill-cancelled {
      background: rgba(200, 75, 47, 0.06);
      color: var(--ink3);
    }

    .pill-paid {
      background: var(--blue-light);
      color: var(--blue);
    }

    .pill-picked_up {
      background: rgba(139, 92, 246, 0.1);
      color: #7c3aed;
    }

    .pill-ready {
      background: var(--blue-light);
      color: var(--blue);
    }
