/* ===============================
   SRZA Mijn Team Gedeelte – Basis
   =============================== */
.srza-mt-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.srza-mt-selector {
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.srza-mt-team-selector input[type="text"] { padding: 6px 8px; min-width: 160px; }
.srza-mt-btn { padding: 6px 12px; margin-left: 8px; cursor: pointer; }

.srza-mt-panels { padding: 16px; }
.srza-mt-panel { display: none; }
.srza-mt-panel.is-active { display: block; }
.srza-mt-panel-inner { padding: 8px 4px; }

/* Actief team badge */
.srza-mt-active-team { display:flex; align-items:center; gap:10px; }
.srza-mt-badge {
  background:#eef2ff; color:#3730a3; border:1px solid #c7d2fe;
  padding:4px 8px; border-radius:999px; font-weight:600;
}

/* ===============================
   Tabs – volle breedte, evenredig
   =============================== */
.srza-mt-tabs {
  display: flex;
  align-items: stretch;
  justify-content: space-between; /* verdeel over de volle balk */
  gap: 0;                         /* naadloos naast elkaar */
  padding: 8px;
  background: #111827;            /* donker */
  overflow: hidden;               /* geen horizontale scroll; alles verdeeld */
}

.srza-mt-tab {
  appearance: none;
  background: transparent;
  color: #e5e7eb;
  border: 0;
  padding: 10px 14px;
  border-radius: 0;               /* sluit naadloos aan */
  display: flex;
  flex-direction: column;         /* icoon boven label */
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;

  /* Evenredige verdeling: elk tab neemt een gelijk deel in */
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
}

.srza-mt-tab:hover { background: #1f2937; }
.srza-mt-tab.is-active { background: #2563eb; color: #fff; }
.srza-mt-tab.is-active { box-shadow: 0 0 0 2px rgba(37,99,235,0.25) inset; }

.srza-mt-tab .srza-mt-tab-icon {
  display: block;
  font-size: 1.1rem;
  line-height: 1;
}
.srza-mt-tab .srza-mt-tab-label {
  display: inline;
  font-size: 0.85rem;
  line-height: 1.1;
}

/* Optionele rechterzijde in de menubalk (als je daar knoppen wilt plaatsen) */
.srza-mt-tabs-right {
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.srza-mt-switch-team-btn { white-space: nowrap; }

/* Mobiel: toon alleen icoon (meer ruimte voor aanraken) */
@media (max-width: 640px) {
  .srza-mt-tab { padding: 10px 8px; }
  .srza-mt-tab .srza-mt-tab-label { display: none; }
  .srza-mt-tab .srza-mt-tab-icon { margin-bottom: 0; }
}

/* ===========================================
   Vorm-bubbels (W / G / V) + tooltips (stand)
   =========================================== */

/* Snelle badge-stijlen (compat) */
.winst, .verlies, .gelijk {
  display:inline-flex; width:22px; height:22px; border-radius:50%;
  align-items:center; justify-content:center;
  margin-right:4px; font-size:12px; font-weight:700; color:#fff; position:relative;
}
.winst { background:#16a34a; }   /* groen */
.verlies { background:#dc2626; } /* rood */
.gelijk { background:#6b7280; }  /* grijs */
.winst .tooltips, .verlies .tooltips, .gelijk .tooltips {
  display:none; position:absolute; bottom:125%; left:50%; transform:translateX(-50%);
  background:#111827; color:#fff; padding:6px 8px; border-radius:6px; font-size:12px; white-space:nowrap; z-index:5;
}
.winst:hover .tooltips, .verlies:hover .tooltips, .gelijk:hover .tooltips { display:block; }

/* Consistente versie binnen panelen */
.srza-mt-panel .winst,
.srza-mt-panel .gelijk,
.srza-mt-panel .verlies {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  margin-right: 4px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  position: relative;
  cursor: default;
}
.srza-mt-panel .winst  { background-color: #22c55e; } /* groen */
.srza-mt-panel .gelijk { background-color: #9ca3af; } /* grijs */
.srza-mt-panel .verlies{ background-color: #ef4444; } /* rood */

.srza-mt-panel .tooltips {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  background: rgba(17, 24, 39, 0.9);
  color: #fff;
  text-align: left;
  padding: 6px 8px;
  border-radius: 6px;
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: max-content;
  max-width: 240px;
  white-space: normal;
  font-size: 12px;
}
.srza-mt-panel .tooltips span { display: block; }
.srza-mt-panel .winst:hover .tooltips,
.srza-mt-panel .gelijk:hover .tooltips,
.srza-mt-panel .verlies:hover .tooltips {
  visibility: visible;
  opacity: 1;
}
