* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; background: #16162b; color: #eee; margin: 0; }
nav { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: #1f1f3a; flex-wrap: wrap; }
nav h1 { font-size: 1.1rem; margin: 0; margin-right: auto; }
.tabs { display: flex; gap: 0.5rem; }
.tab-btn { background: none; border: 1px solid #444; color: #ccc; padding: 0.4rem 0.8rem; border-radius: 8px; cursor: pointer; }
.tab-btn.active { background: #f9a826; color: #1a1a1a; border-color: #f9a826; font-weight: bold; }
#btnActualiser, #btnLogout { background: #333; color: #eee; border: none; padding: 0.4rem 0.8rem; border-radius: 8px; cursor: pointer; }
main { padding: 1.5rem; max-width: 1000px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.card { background: #24243e; padding: 1rem; border-radius: 12px; }
.card .valeur { font-size: 1.6rem; font-weight: bold; color: #f9a826; }
.card .label { font-size: 0.8rem; color: #aaa; }
table { width: 100%; border-collapse: collapse; background: #24243e; border-radius: 12px; overflow: hidden; }
th, td { padding: 0.5rem 0.7rem; text-align: left; border-bottom: 1px solid #333; font-size: 0.9rem; }
th { background: #2e2e52; }
tr:hover td { background: #2a2a4a; }
.progress { background: #333; border-radius: 6px; height: 8px; width: 100px; overflow: hidden; }
.progress > div { background: #f9a826; height: 100%; }
input[type=number] { width: 70px; }
