/* ══════════════════════════════════════════════════════════════════════════
   Juridique / Agenda — même charte que la Box : celle de l'accès client FISCALITY (17/11/2026, demande de Joseph).
   Ces deux écrans sont une application compilée (classes utilitaires) avec des thèmes de clubs au choix : l'habillage
   est donc posé par-dessus, limité au bandeau, à la police, au fond et aux éléments « actifs ». Les boutons du bandeau
   gardent leur couleur par fonction, les pastilles et couleurs d'agenda gardent leur sens.
   Retour arrière : retirer la ligne app-fiscality.css de index.html.
   ══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: "Onest"; src: url(/assets/fonts/onest-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }

html body, html body table, html body input, html body select, html body textarea, html body button {
  font-family: "Onest", "Segoe UI", system-ui, -apple-system, Arial, sans-serif !important; }
html body, html body.bg-gray-50, html body .h-screen.bg-gray-100, html[data-theme] body .h-screen.bg-gray-100 { background-color: #f3f5fa !important; }
html body { color: #131a2b; -webkit-font-smoothing: antialiased; }

/* Bandeau : bleu nuit et halos, quel que soit le thème choisi */
html body header.bg-gradient-to-r, html[data-theme] body header.bg-gradient-to-r {
  background: #0b1224 !important; background-image: none !important; position: relative; overflow: hidden; box-shadow: none !important; }
html body header.bg-gradient-to-r::before { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; top: -270px; border-radius: 50%; background: radial-gradient(circle, #2f52d6, transparent 65%); opacity: .45; filter: blur(60px); pointer-events: none; }
html body header.bg-gradient-to-r::after { content: ""; position: absolute; width: 360px; height: 360px; right: 10%; top: -260px; border-radius: 50%; background: radial-gradient(circle, #f17e01, transparent 65%); opacity: .28; filter: blur(60px); pointer-events: none; }
html body header.bg-gradient-to-r > * { position: relative; z-index: 1; }
html body header.bg-gradient-to-r select, html body header.bg-gradient-to-r input {
  background-color: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.25) !important; border-radius: 999px !important; color: #fff !important; }
html body header.bg-gradient-to-r select option { color: #131a2b; background: #fff; }
html body header.bg-gradient-to-r input::placeholder { color: rgba(255,255,255,.55) !important; }
html body header.bg-gradient-to-r button, html body header.bg-gradient-to-r a { border-radius: 999px !important; }

/* Éléments actifs (aujourd'hui, vue choisie, bouton d'ajout de tâche) : bleu nuit */
html body .bg-indigo-600 { background-color: #0b1224 !important; }
html body .hover\:bg-indigo-700:hover { background-color: #1b2b5e !important; }
html body .text-indigo-600, html body .text-indigo-700 { color: #f17e01 !important; }
html body .border-indigo-500, html body .border-indigo-600 { border-color: #f17e01 !important; }
html body .bg-indigo-50 { background-color: #fff8ee !important; }
html body .focus\:ring-indigo-500:focus, html body .focus\:border-indigo-500:focus { border-color: #f17e01 !important; --tw-ring-color: rgba(241,126,1,.25) !important; }
html body main button, html body main .rounded, html body main .rounded-md { border-radius: 999px; }
html body main input, html body main select, html body main textarea { border-radius: 12px !important; }
html body main .rounded-lg, html body main .rounded-xl { border-radius: 22px !important; }
html body input[type=checkbox], html body input[type=radio] { accent-color: #f17e01; }

/* Le bandeau garde sa police d'origine : la nouvelle, plus large, faisait passer ses boutons sur une ligne de plus */
html body header.bg-gradient-to-r, html body header.bg-gradient-to-r *, html body header.bg-gradient-to-r select, html body header.bg-gradient-to-r input, html body header.bg-gradient-to-r button {
  font-family: 'Nunito Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important; }
html body header.bg-gradient-to-r select, html body header.bg-gradient-to-r input { border-width: 0 !important; }
