/* Tableaux généraux */
.f1-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
.f1-table th,
.f1-table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  text-align: center;
}
.f1-table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Résultats */
.f1-results .dnf,
.status-dnf {
  color: #DC0000;
  font-weight: bold;
}
.f1-logo {
  height: 20px;
  vertical-align: middle;
  margin-right: 6px;
}

/* Compact list */
.f1-compact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f1-compact li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.f1-compact li:last-child {
  border-bottom: none;
}
.podium {
  font-size: 18px;
  width: 28px;
  display: inline-block;
  text-align: center;
}

/* Stats */
.f1-stats .f1-stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f1-stats .f1-stats-list li {
  padding: 4px 0;
  border-bottom: 1px dashed #ddd;
}
.f1-stats .f1-stats-list li:last-child {
  border-bottom: none;
}
.team-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* Admin tabs */
.f1-preview-tabs {
  margin-top: 10px;
}
.f1-preview-tabs .tabs {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0 0 10px 0;
}
.f1-preview-tabs .tabs li {
  padding: 6px 10px;
  background: #f5f5f5;
  cursor: pointer;
  border: 1px solid #ddd;
  border-radius: 4px 4px 0 0;
  transition: background 0.2s, border-color 0.2s;
}
.f1-preview-tabs .tabs li:hover {
  background: #eef5ff;
}
.f1-preview-tabs .tabs li.active {
  background: #e6f0ff;
  border-color: #99c2ff;
  font-weight: 600;
}
.tab-content {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 0 4px 4px 4px;
  background: #fff;
}

/* Mode sombre */
body.f1suite-dark .f1-table {
  background: #1e1e1e;
  color: #eee;
}
body.f1suite-dark .f1-table th {
  background: #333;
  color: #fff;
}
body.f1suite-dark .f1-table td {
  border-color: #444;
}
body.f1suite-dark .f1-preview-tabs .tabs li {
  background: #333;
  color: #eee;
  border-color: #444;
}
body.f1suite-dark .f1-preview-tabs .tabs li.active {
  background: #444;
  border-color: #66aaff;
}
body.f1suite-dark .tab-content {
  background: #222;
  border-color: #444;
}