/* fb.css - Freedom Brands additions on top of the copied FF/FC admin CSS. Wordmark, top bar filters, empty states.
   Everything else (sidebar, tables, cards, login, motion) is the FF CSS unchanged. */
.fb-wordmark { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.5px; color: var(--text-primary); white-space: nowrap; }
.unified-login .fb-wordmark { font-size: 28px; }
.fb-sidebar-wordmark { font-size: 19px; line-height: 30px; }
.fb-sidebar-mark { display: none; width: 32px; height: 32px; border-radius: 8px; background: var(--primary); color: var(--bg-card); font: 700 13px/32px Inter, sans-serif; text-align: center; }
.sidebar.collapsed .fb-sidebar-wordmark { display: none; }
.sidebar.collapsed .fb-sidebar-mark { display: block !important; margin: 0 auto; }
.fb-topbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fb-topbar select, .fb-topbar input[type=date] { height: 36px; border: 1px solid var(--border); border-radius: 999px; padding: 0 14px; font: 500 13px Inter, sans-serif; background-color: var(--bg-card); color: var(--text-primary); }
.fb-topbar select { min-width: 150px; }
.fb-topbar input[type=date] { padding: 0 10px; }
.fb-muted { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.card-title { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.fb-loading { padding: 28px; text-align: center; color: var(--text-muted); font-size: 13px; }
.fb-tc { overflow-x: auto; }
.fb-tc table { width: 100%; border-collapse: collapse; }
.data-table.fb-t th, .data-table.fb-t td { white-space: nowrap; }
.data-table.fb-t th[data-num], .data-table.fb-t td.n { text-align: right; font-variant-numeric: tabular-nums; }
.fb-frame { border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card); overflow: hidden; }
.fb-frame .fb-tc { border: 0; }
.fb-empty { border: 1px dashed var(--border); border-radius: 12px; padding: 40px 28px; text-align: center; color: var(--text-secondary); font-size: 13px; line-height: 1.6; background: var(--bg-card); max-width: 760px; margin: 8px auto; }
.fb-empty-t { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 6px; }
.fb-pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; white-space: nowrap; background: var(--bg-hover); color: var(--text-secondary); }
.fb-pill.g { background: #dcfce7; color: #166534; } .fb-pill.a { background: #fef3c7; color: #92400e; } .fb-pill.r { background: #fee2e2; color: #991b1b; } .fb-pill.b { background: #e0f2fe; color: #075985; }
:root.dark .fb-pill.g { background: #065f46; color: #6ee7b7; } :root.dark .fb-pill.a { background: #78350f; color: #fcd34d; } :root.dark .fb-pill.r { background: #7f1d1d; color: #fca5a5; } :root.dark .fb-pill.b { background: #1e3a5f; color: #93c5fd; }
.fb-bar { position: relative; height: 6px; border-radius: 999px; background: var(--bg-hover); min-width: 90px; overflow: hidden; }
.fb-bar > span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: var(--primary); }
.fb-filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 4px 0 14px; }
.fb-filters input[type=search], .fb-filters select { height: 36px; border: 1px solid var(--border); border-radius: 999px; padding: 0 14px; font: 13px Inter, sans-serif; background-color: var(--bg-card); color: var(--text-primary); }
.fb-filters input[type=search] { min-width: 240px; }
.fb-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.fb-kpis .card { padding: 18px 20px; margin: 0; }
.fb-kpis .metric { font-size: 24px; }
.fb-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.fb-form input, .fb-form select { height: 38px; border: 1px solid var(--border); border-radius: 10px; padding: 0 12px; font: 13px Inter, sans-serif; background-color: var(--bg-card); color: var(--text-primary); }
.fb-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; }
.has-token #invite-accept-screen { display: none !important; }
@media (max-width: 1100px) { .fb-grid2 { grid-template-columns: 1fr !important; } }
@media (max-width: 768px) { .fb-topbar select { min-width: 0; } #fb-custom { display: none !important; } }
