/*
 * SPY TV admin — small plain-CSS layer on top of Filament's compiled theme.
 * Loaded by AdminPanelProvider (no build step, so it deploys as-is on cPanel).
 * Colours come from the panel config: primary = SPY TV red (#D7141F), gray = Zinc.
 */

/* ── Brand block (sidebar / top bar) ───────────────────────────────────── */
.spytv-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    line-height: 1;
}
.spytv-brand img {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    flex: none;
}
.spytv-brand span {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgb(var(--gray-950));
    white-space: nowrap;
}
.dark .spytv-brand span {
    color: #fff;
}
.spytv-brand span b {
    color: rgb(var(--primary-600));
    font-weight: 800;
}

/* ── Navigation: active item gets a slim red marker, not a red fill ─────── */
.fi-sidebar-item-active > a {
    box-shadow: inset 3px 0 0 rgb(var(--primary-600));
}
.fi-sidebar-group-label {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.6875rem;
}

/* ── Tables: denser, readable operational lists ────────────────────────── */
.fi-ta-header-cell-label {
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.fi-ta-cell {
    font-variant-numeric: tabular-nums;
}

/* ── Accessibility: a visible focus ring everywhere ────────────────────── */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid rgb(var(--primary-600));
    outline-offset: 2px;
}

/* ── Utilities used by custom page views that Filament's compiled CSS does
      not include (resources/views/filament/pages/*). Keep this list to
      classes actually used there. ─────────────────────────────────────── */
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-500 { background-color: #f59e0b; }
.text-amber-800 { color: #92400e; }
.dark .dark\:border-gray-800 { border-color: rgb(var(--gray-800)); }
.gap-px { gap: 1px; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.min-w-\[4px\] { min-width: 4px; }
.rounded-t { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.tracking-wide { letter-spacing: 0.025em; }
.uppercase { text-transform: uppercase; }
@media (min-width: 768px) {
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
