/* ==========================================================================
   Bytelegion · area clienti Paymenter
   Lo stesso mondo di bytelegion.site, dell'area clienti WHMCS e del tema Blesta (DESIGN.md di blesta-bytelegion):
   rosso legione per le azioni, blu notte per la navigazione, marmo come superficie, oro per evidenze e focus.
   Big Shoulders solo per i titoli di pagina, Geist per tutto ciò che si legge e si usa, Castoro per il marchio.
   Angoli vivi. I colori base arrivano dalle impostazioni del tema (impostazioni.php); qui solo il resto.
   ========================================================================== */

@font-face { font-family: 'Big Shoulders'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('BigShoulders-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders'; font-style: normal; font-weight: 700 900; font-display: swap; src: url('BigShoulders-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Castoro Titling'; font-style: normal; font-weight: 400; font-display: swap; src: url('CastoroTitling-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Castoro Titling'; font-style: normal; font-weight: 400; font-display: swap; src: url('CastoroTitling-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('Geist-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('Geist-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bl-red: #a11d18; --bl-red-3: #7c1512; --bl-navy: #02182a; --bl-navy-3: #123250; --bl-navy-ink: #c3cfda;
  --bl-gold: #d3af5f; --bl-gold-wash: #f7efdc; --bl-marble: #f1f2f3; --bl-line: #d5dade;
  --font-sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Base */
html { scrollbar-color: var(--bl-navy-3) var(--bl-marble); color-scheme: light; }
body { font-family: var(--font-sans); font-size: 15px; line-height: 1.55; font-synthesis: none; caret-color: var(--bl-red); -webkit-font-smoothing: antialiased; }
::selection { background: var(--bl-gold); color: var(--bl-navy); }
a { text-underline-offset: 3px; }
*:focus-visible { outline: 3px solid var(--bl-gold) !important; outline-offset: 2px; }
table, td, th, .tabular-nums { font-variant-numeric: tabular-nums; }

/* Angoli vivi ovunque, tranne i dischi (avatar, logo) */
[class*="rounded"]:not(.rounded-full) { border-radius: 0 !important; }
input, select, textarea, button { border-radius: 0 !important; }

/* Titoli di pagina */
main h1 { font-family: 'Big Shoulders', 'Arial Narrow', sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: 0.005em; line-height: 1; }
main h2, main h3 { letter-spacing: 0; }

/* Navigazione blu notte: si ridefiniscono i colori del tema dentro la barra */
nav.fixed.top-0 {
  --color-background-secondary: 207 91% 9%; --color-background: 207 91% 9%;
  --color-base: 210 8% 95%; --color-muted: 209 24% 81%; --color-neutral: 209 63% 19%;
  background: var(--bl-navy) !important; border-bottom: 3px solid var(--bl-red) !important; color: var(--bl-marble);
}
nav.fixed.top-0 .text-primary { color: var(--bl-gold) !important; box-shadow: inset 0 -3px 0 var(--bl-gold); }
nav.fixed.top-0 a:hover span, nav.fixed.top-0 button:hover { color: var(--bl-gold); }
/* marchio: elmo su disco marmo con anello oro, nome in Castoro */
nav.fixed.top-0 img { background: var(--bl-marble); border-radius: 50%; padding: 3px; box-shadow: 0 0 0 2px var(--bl-gold); height: 2.25rem !important; }
nav.fixed.top-0 .text-xl.font-bold { font-family: 'Castoro Titling', 'Times New Roman', serif; font-weight: 400; letter-spacing: 0.28em; text-transform: uppercase; font-size: 17px; }

/* Un solo tema chiaro: niente interruttore chiaro/scuro */
button[title="Light"], button[title="Dark"], button[title="System"] { display: none !important; }

/* Piè di pagina: niente marchio di Paymenter */
footer a[href*="paymenter.org"] { display: none !important; }

/* Tabelle e campi */
thead th { text-transform: uppercase; font-size: 12px; letter-spacing: 0.03em; }
input:focus, select:focus, textarea:focus { border-color: var(--bl-gold) !important; box-shadow: none !important; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--bl-red); }
