/* ── Status badges (matching tracker.php) ────────────────────── */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}
.status-active { background: #dcfce7; color: #166534; }
.status-expired { background: #fee2e2; color: #991b1b; }
.status-fully_redeemed { background: #dbeafe; color: #1e40af; }
.status-cancelled { background: #f3f4f6; color: #6b7280; }

/* ── Expiry alert items ──────────────────────────────────────── */
.expiry-item {
    display:       flex;
    align-items:   center;
    gap:           0.75rem;
    padding:       0.6rem 0;
    border-bottom: 1px solid #eee;
    font-size:     0.875rem;
}
.expiry-item:last-child { border-bottom: none; }
.expiry-days {
    flex-shrink:   0;
    min-width:     56px;
    text-align:    center;
    padding:       2px 8px;
    border-radius: 10px;
    font-size:     11px;
    font-weight:   700;
}
.expiry-days.urgent  { background: #fee2e2; color: #991b1b; }
.expiry-days.warn    { background: #fef3c7; color: #92400e; }
.expiry-days.notice  { background: #d1fae5; color: #065f46; }

/* ── Performance table sort ──────────────────────────────────── */
th[data-sort] {
    cursor:      pointer;
    user-select: none;
    white-space: nowrap;
}
th[data-sort]:hover { background: rgba(0,0,0,0.02); }
.sort-indicator { margin-left: 4px; font-size: 10px; color: #9ca3af; }
.sort-indicator.active { color: var(--bs-primary); }
