body {
  background: #121212;
  color: #ececec;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.content {
  width: 90%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 20px;
  background: #1e1e1e;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.tournament-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
}

.tournament-header h1 {
  font-size: 1.4rem;
  margin: 0;
}

.tournament-header .subtitle {
  margin-left: auto;
  color: #aaa;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 8px; /* espace entre "Mon équipe" et "S'inscrire" */
}

.tournament-logo {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  object-fit: cover;
  background: #2a2a2a;
}

.top-tabs, .sub-tabs, .subsub-tabs {
  display: flex;
  border-bottom: 1px solid #333;
  gap: 4px;
}

.top-tabs {
  margin-bottom: 16px;
}

.sub-tabs, .subsub-tabs {
  margin: 16px 0 12px;
}

.tab-button, .sub-tab-button, .subsub-tab-button {
  background: #2a2a2a;
  color: #ccc;
  text-decoration: none;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
  border-radius: 4px 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tab-button {
  padding: 10px 16px;
  font-size: 0.95rem;
}

.tab-button:hover,
.sub-tab-button:hover,
.subsub-tab-button:hover {
  color: #e0e0e0;
}

.tab-button.active,
.sub-tab-button.active,
.subsub-tab-button.active {
  background: #1e1e1e;
  color: #66afe9;
  border-bottom: 2px solid #66afe9;
}

.tab-content, .sub-content, .subsub-content {
  display: none;
}

.tab-content.active,
.sub-content.active,
.subsub-content.active {
  display: block;
}

/* Boutons d'action dans l'entête (même hauteur/visuel) */
.btn-inscription,
.btn-myteam {
  display: inline-block;
  padding: 8px 14px;
  background: #007bff;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
  line-height: 1.2;
}

.btn-inscription:hover,
.btn-myteam:hover {
  background: #0056b3;
}
