/* True American Quiz — admin panel in the website's look (round 56, 01/11/2026).
   Loaded last in <head> by resources/views/admin/scripts.blade.php, so it only re-colours and re-shapes Filament:
   no markup, no logic. Same palette, fonts and finish as trueamericanquiz.com (concept "O · C+A finish"):
   navy #0A3161 + red #B31942 + cream, Fredoka titles + Nunito text, soft glossy cards instead of hairline borders.
   Light = the site's light theme, dark = the site's dark theme (Filament has no third mode).
   Rollback = remove the <link> line (or this file). */

@font-face { font-family: "TAQ Fredoka"; src: url("../fonts/taq/fredoka-latin-v1.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "TAQ Fredoka"; src: url("../fonts/taq/fredoka-latin-ext-v1.woff2") format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "TAQ Nunito"; src: url("../fonts/taq/nunito-latin-v1.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "TAQ Nunito"; src: url("../fonts/taq/nunito-latin-ext-v1.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- palette: Filament reads every colour from these variables ---------- */
html.fi:root {
  --font-family: "TAQ Nunito";
  /* primary = the site's red */
  --primary-50: #FDF2F5; --primary-100: #FBE4EA; --primary-200: #F6C6D3; --primary-300: #EE98AE; --primary-400: #E0607F;
  --primary-500: #CC2E57; --primary-600: #B31942; --primary-700: #961338; --primary-800: #7C1131; --primary-900: #68112D; --primary-950: #3D0616;
  /* gray: cream at the light end, the site's navy greys for text */
  --gray-50: #F8F4EC; --gray-100: #F0EADF; --gray-200: #E4DAC8; --gray-300: #D4C7B0; --gray-400: #9AA2B4;
  --gray-500: #5F687B; --gray-600: #46526A; --gray-700: #2E3C55; --gray-800: #1A2E52; --gray-900: #0F2248; --gray-950: #0A1A38;

  --taq-page: #F5F0E6;
  --taq-surface: #FFFCF7;
  --taq-text: #0A3161;
  --taq-text-2: #2E3C55;
  --taq-card-bg: radial-gradient(130% 100% at 50% 0%, #FFFFFF 0%, #FFFCF6 55%, #F8F1E4 100%);
  --taq-card-sh: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(10, 49, 97, .07), 0 14px 28px -18px rgba(10, 49, 97, .32);
  --taq-pearl: radial-gradient(120% 95% at 50% 0%, #FFFFFF 0%, #FFFDF8 42%, #F1E8D7 100%);
  --taq-pearl-sh: inset 0 1px 0 #FFFFFF, 0 1px 2px rgba(10, 49, 97, .10), 0 6px 14px -8px rgba(10, 49, 97, .30);
  --taq-red-gloss: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, #C6214F 0%, #AD1740 100%);
  --taq-red-gloss-sh: inset 0 1px 0 rgba(255, 255, 255, .26), 0 1px 2px rgba(70, 0, 20, .30), 0 10px 20px -12px rgba(90, 6, 30, .75);
  --taq-side: linear-gradient(180deg, #0D3A70 0%, #0A3161 40%, #082851 100%);
  --taq-line: rgba(10, 49, 97, .08);
}
html.fi.dark:root {
  --primary-400: #EF4A70; --primary-500: #D42A57;
  /* dark: the site's dark (navy) greys; the light end stays cool so text reads white-blue, not cream */
  --gray-50: #F3F6FC; --gray-100: #E6EBF5; --gray-200: #CDD6E8; --gray-300: #AFBAD1; --gray-400: #8B98B5;
  --gray-500: #6C7A99; --gray-600: #3E5383; --gray-700: #29467F; --gray-800: #1A3363; --gray-900: #0F2248; --gray-950: #050C1F;

  --taq-page: #050C1F;
  --taq-surface: #0F2248;
  --taq-text: #F3F6FC;
  --taq-text-2: #AFBAD1;
  --taq-card-bg: linear-gradient(180deg, #132A55 0%, #0F2248 100%);
  --taq-card-sh: inset 0 1px 0 rgba(255, 255, 255, .06), 0 1px 2px rgba(0, 0, 0, .35), 0 18px 30px -16px rgba(0, 0, 0, .7);
  --taq-pearl: radial-gradient(120% 95% at 50% 0%, #20407A 0%, #163262 46%, #10264F 100%);
  --taq-pearl-sh: inset 0 1px 0 rgba(255, 255, 255, .08), 0 1px 2px rgba(0, 0, 0, .4), 0 6px 14px -8px rgba(0, 0, 0, .6);
  --taq-red-gloss: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, #D42A57 0%, #B31942 100%);
  --taq-side: linear-gradient(180deg, #0A1834 0%, #071228 100%);
  --taq-line: rgba(255, 255, 255, .07);
}

/* ---------- type ---------- */
html.fi, .fi-body { font-family: "TAQ Nunito", ui-sans-serif, system-ui, sans-serif; }
.fi-header-heading, .fi-simple-header-heading, .fi-section-header-heading, .fi-modal-heading, .fi-ta-header-heading,
.fi-wi-stats-overview-stat-value, .fi-sidebar-header .fi-logo, .fi-topbar .fi-logo, .fi-ta-empty-state-heading, .fi-fo-wizard-header-step-label {
  font-family: "TAQ Fredoka", "TAQ Nunito", sans-serif !important; letter-spacing: -.005em;
}
.fi-header-heading { font-weight: 600 !important; color: var(--taq-text); }
.fi-section-header-heading, .fi-ta-header-heading, .fi-modal-heading { font-weight: 600 !important; }
.fi-wi-stats-overview-stat-value { font-weight: 600 !important; color: var(--taq-text); }

/* ---------- page + topbar ---------- */
.fi-body { background: var(--taq-page) !important; }
.fi-topbar, .fi-topbar > nav, .fi-topbar-ctn {
  background: color-mix(in srgb, var(--taq-page) 88%, transparent) !important;
  box-shadow: 0 1px 0 var(--taq-line), 0 10px 24px -22px rgba(10, 49, 97, .5) !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* ---------- sidebar: navy, like the site's art windows ---------- */
.fi-sidebar { background: var(--taq-side) !important; box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06) !important; }
.fi-sidebar-header { background: transparent !important; box-shadow: none !important; border: 0 !important; }
.fi-sidebar .fi-logo, .fi-sidebar-header a { color: #FFFFFF !important; }
.fi-sidebar-group-label, .fi-sidebar-group-btn .fi-sidebar-group-label { color: rgba(225, 233, 248, .62) !important; font-weight: 800 !important; letter-spacing: .04em; }
.fi-sidebar-group-btn svg, .fi-sidebar-group-collapse-btn, .fi-sidebar-group-collapse-btn svg { color: rgba(225, 233, 248, .55) !important; }
.fi-sidebar-item-label { color: rgba(240, 244, 252, .86) !important; font-weight: 700 !important; }
.fi-sidebar-item-icon, .fi-sidebar-item-btn > svg { color: rgba(225, 233, 248, .62) !important; }
.fi-sidebar-item-grouped-border, .fi-sidebar-item-grouped-border * { background-color: rgba(255, 255, 255, .14) !important; }
.fi-sidebar-item-btn { border-radius: 12px !important; }
.fi-sidebar-item-has-url > .fi-sidebar-item-btn:hover, .fi-sidebar-item-btn:hover { background: rgba(255, 255, 255, .08) !important; }
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn, .fi-sidebar-item-active > .fi-sidebar-item-btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .08)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 14px -10px rgba(0, 0, 0, .6) !important;
}
.fi-sidebar-item.fi-active .fi-sidebar-item-label, .fi-sidebar-item-active .fi-sidebar-item-label { color: #FFFFFF !important; }
.fi-sidebar-item.fi-active .fi-sidebar-item-icon, .fi-sidebar-item-active .fi-sidebar-item-icon,
.fi-sidebar-item.fi-active > .fi-sidebar-item-btn > svg { color: #FF8FA9 !important; }
.fi-sidebar .fi-badge { box-shadow: none !important; }
.fi-sidebar-nav:hover { scrollbar-color: rgba(255, 255, 255, .25) transparent !important; }
.fi-sidebar-nav:hover::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25) !important; }
.fi-sidebar-close-overlay { background: rgba(5, 12, 31, .5) !important; }

/* ---------- cards: sections, tables, widgets ---------- */
.fi-section:not(.fi-section-not-contained):not(.fi-aside), .fi-ta-ctn, .fi-wi-stats-overview-stat, .fi-wi-widget > .fi-section,
.fi-fo-wizard, .fi-in-entry-wrp.fi-section, .fi-tabs:not(.fi-contained-tabs-false) {
  background: var(--taq-card-bg) !important;
  border-radius: 20px !important;
  box-shadow: var(--taq-card-sh) !important;
  --tw-ring-shadow: 0 0 #0000 !important; --tw-ring-color: transparent !important;
}
.fi-section-header { border-color: var(--taq-line) !important; }
.fi-section-content-ctn { border-color: var(--taq-line) !important; }
.fi-ta-ctn { overflow: hidden; }
.fi-ta-header, .fi-ta-header-toolbar { border-color: var(--taq-line) !important; }
.fi-ta-table > thead > tr, .fi-ta-table thead { background: color-mix(in srgb, var(--gray-100) 70%, transparent) !important; }
html.dark .fi-ta-table > thead > tr, html.dark .fi-ta-table thead { background: rgba(255, 255, 255, .03) !important; }
.fi-ta-header-cell-label { font-weight: 800 !important; color: var(--taq-text-2) !important; }
.fi-ta-table > tbody > tr, .fi-ta-row { border-color: var(--taq-line) !important; }
.fi-ta-row:hover, .fi-ta-table > tbody > tr:hover { background: color-mix(in srgb, var(--primary-50) 55%, transparent) !important; }
html.dark .fi-ta-row:hover, html.dark .fi-ta-table > tbody > tr:hover { background: rgba(255, 255, 255, .035) !important; }
.fi-pagination { border-color: var(--taq-line) !important; }

/* ---------- buttons: pills, soft shadow, no lip ---------- */
.fi-btn { border-radius: 999px !important; font-weight: 800 !important; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease !important; }
.fi-btn:active { transform: translateY(1px); }
.fi-btn.fi-color-primary:not(.fi-outlined):not(.fi-btn-outlined), .fi-btn.fi-btn-color-primary:not(.fi-btn-outlined) {
  background: var(--taq-red-gloss) !important; color: #FFFFFF !important; box-shadow: var(--taq-red-gloss-sh) !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}
.fi-btn.fi-color-primary:not(.fi-outlined):hover { filter: brightness(1.05); }
.fi-btn.fi-color-gray:not(.fi-outlined), .fi-btn.fi-btn-color-gray {
  background: var(--taq-pearl) !important; box-shadow: var(--taq-pearl-sh) !important; --tw-ring-shadow: 0 0 #0000 !important;
}
.fi-btn.fi-color-danger:not(.fi-outlined) {
  background: var(--taq-pearl) !important; color: #B31942 !important; box-shadow: var(--taq-pearl-sh) !important; --tw-ring-shadow: 0 0 #0000 !important;
}
.fi-btn.fi-color-danger:not(.fi-outlined) svg { color: #B31942 !important; }
html.dark .fi-btn.fi-color-danger:not(.fi-outlined), html.dark .fi-btn.fi-color-danger:not(.fi-outlined) svg { color: #FF8FA9 !important; }
.fi-icon-btn { border-radius: 12px !important; }
.fi-link { font-weight: 800 !important; }

/* ---------- inputs ---------- */
.fi-input-wrp { border-radius: 12px !important; background: var(--taq-surface) !important; }
html.dark .fi-input-wrp { background: rgba(5, 12, 31, .45) !important; }
.fi-input-wrp:focus-within { --tw-ring-color: color-mix(in srgb, var(--primary-600) 55%, transparent) !important; }
.fi-select-input, .fi-input, .fi-fo-textarea, .fi-fo-rich-editor { font-family: inherit; }
.fi-checkbox-input, .fi-radio-input { color: var(--primary-600) !important; }
/* switches: on = green, like the site's (red 'on' read as an error next to Active / Has levels) */
.fi-toggle.fi-toggle-on.fi-color-primary { background-color: #2F8A5C !important; }
html.dark .fi-toggle.fi-toggle-on.fi-color-primary { background-color: #3BB27F !important; }
.fi-fo-field-label-content, .fi-fo-field-wrp-label span { font-weight: 800 !important; color: var(--taq-text-2); }

/* ---------- floating things: dropdowns, modals, notifications ---------- */
.fi-dropdown-panel { border-radius: 16px !important; background: var(--taq-surface) !important; box-shadow: var(--taq-card-sh), 0 24px 48px -24px rgba(10, 49, 97, .45) !important; }
.fi-modal-window { border-radius: 24px !important; background: var(--taq-card-bg) !important; box-shadow: var(--taq-card-sh), 0 40px 80px -30px rgba(5, 12, 31, .55) !important; }
.fi-modal-close-overlay { background: rgba(5, 12, 31, .45) !important; }
.fi-no-notification { border-radius: 16px !important; background: var(--taq-surface) !important; box-shadow: var(--taq-card-sh) !important; }
.fi-badge { border-radius: 999px !important; font-weight: 800 !important; }
.fi-tabs-item { border-radius: 999px !important; font-weight: 800 !important; }
.fi-tabs-item.fi-active { background: var(--taq-pearl) !important; box-shadow: var(--taq-pearl-sh) !important; }
.fi-breadcrumbs-item-label { font-weight: 700; }
.fi-avatar { box-shadow: 0 0 0 2px var(--taq-surface), 0 2px 6px rgba(10, 49, 97, .25); }

/* ---------- login: the site's golden-hour landscape with the eagle, glossy card (v2 03/11/2026: our tiles, 2x WebP) ---------- */
body > div.fi-body[style*="background-image"] {
  background-image: url("../img/taq-panel/login-light-v2.webp") !important;
  background-color: #F4E7CD !important; background-position: left center !important; background-size: cover !important;
}
html.dark body > div.fi-body[style*="background-image"] { background-image: url("../img/taq-panel/login-dark-v2.webp") !important; background-color: #0A1A3A !important; }
body > div.fi-body[style*="background-image"] > div > div {
  background: var(--taq-card-bg) !important; border-radius: 28px !important; box-shadow: var(--taq-card-sh), 0 40px 80px -36px rgba(70, 45, 10, .45) !important;
  --tw-ring-shadow: 0 0 #0000 !important;
}
html.dark body > div.fi-body[style*="background-image"] > div > div { box-shadow: var(--taq-card-sh), 0 40px 80px -30px rgba(0, 0, 0, .7) !important; }
body > div.fi-body[style*="background-image"] .fi-simple-header-heading { font-size: 30px !important; font-weight: 600 !important; color: var(--taq-text); }
body > div.fi-body[style*="background-image"] .fi-simple-header-subheading { color: var(--taq-text-2); font-size: 16px; }
body > div.fi-body[style*="background-image"] .fi-btn { min-height: 48px; font-size: 16px; }
/* taller login fields: pad the input itself, so the typed text stays centred (a taller wrapper left it at the top) */
body > div.fi-body[style*="background-image"] .fi-input-wrp .fi-input { padding-top: .72rem !important; padding-bottom: .72rem !important; }
@media (max-width: 1023px) { body > div.fi-body[style*="background-image"] { background-position: 22% center !important; } }

@media (prefers-reduced-motion: reduce) { .fi-btn, .fi-sidebar-item-btn { transition: none !important; } }
