body { background: var(--paper-muted); }
header.equipe { background: var(--smart-blue); color: #fff; padding: 0.9rem 0; }
header.equipe .container { display: flex; align-items: center; justify-content: space-between; }
header.equipe nav a { color: #fff; margin-left: 1rem; font-weight: 600; opacity: 0.9; }
.login-wrap { display: flex; min-height: 80vh; align-items: center; justify-content: center; }
.login-card { max-width: 380px; width: 100%; }
.login-card h1 { font-size: 1.3rem; margin-bottom: 1rem; }
.login-card input { width: 100%; padding: 0.6rem; margin-bottom: 0.75rem; border: 1px solid var(--border); border-radius: 8px; }
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.tabs button { flex: 1; padding: 0.6rem; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-weight: 600; }
.tabs button.active { background: var(--smart-blue); color: #fff; border-color: var(--smart-blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.todo-row { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.todo-row:last-child { border-bottom: none; }
.todo-row.fait strong { text-decoration: line-through; color: #9ca3af; }
.todo-row input[type=checkbox] { margin-top: 0.25rem; width: 18px; height: 18px; }
.todo-meta { color: #6b7280; font-size: 0.8rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.filters button { padding: 0.4rem 0.8rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; font-size: 0.85rem; }
.filters button.active { background: var(--smart-blue); color: #fff; border-color: var(--smart-blue); }
.new-todo-form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 0.5rem; margin-bottom: 1.25rem; }
.new-todo-form input, .new-todo-form select { padding: 0.55rem; border: 1px solid var(--border); border-radius: 8px; }
.game-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.game-row:last-child { border-bottom: none; }
.progress-bar { background: #e5e7eb; border-radius: 999px; height: 8px; width: 140px; overflow: hidden; }
.progress-bar > div { background: var(--smart-green); height: 100%; }
.badge-paye { background: #dcfce7; color: #166534; }
.badge-en_attente { background: #fef3c7; color: #92400e; }
.badge-echec { background: #fee2e2; color: #991b1b; }
.badge-rembourse { background: #e0e7ff; color: #3730a3; }
.paiements-total { font-weight: 700; margin-bottom: 1rem; color: var(--smart-blue); }
@media (max-width: 700px) {
  .new-todo-form { grid-template-columns: 1fr; }
}
