@tailwind base; @tailwind components; @tailwind utilities; /* --- RESET & BASE STYLES --- */ :root { font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif; line-height: 1.5; font-weight: 400; color-scheme: dark; /* On force le fond sombre pour Ă©viter le flash blanc au chargement */ background-color: #0f172a; } html, body, #root { height: 100%; margin: 0; padding: 0; overflow: hidden; /* EmpĂȘche le scroll global car on utilise des zones scrollables internes */ } body { min-width: 320px; color: rgba(255, 255, 255, 0.9); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* --- PERSONNALISATION SCROLLBAR (Style Moderne) --- */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #334155; /* slate-700 */ border-radius: 10px; } ::-webkit-scrollbar-thumb:hover { background: #475569; /* slate-600 */ } /* --- ANIMATIONS --- */ @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } .animate-in { animation: fadeIn 0.3s ease-out forwards; } /* --- OVERRIDES TAILWIND --- */ input:focus { outline: none; }