/* ==========================================================================
   GYERMEK VIZSGARENDSZER TÁBLÁZAT STÍLUSOK
   ========================================================================== */

.table-title {
  margin-top: 3.2rem;
  margin-bottom: 1.6rem;
}

/* Reszponzív tartó a táblázatnak (mobilon vízszintesen görgethető) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 3.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
}

.exam-table {
  width: 100%;
  min-width: 600px; /* Hogy mobilon ne nyomódjon össze olvashatatlanná */
  border-collapse: collapse;
  background-color: #ffffff;
  font-family: "Roboto Flex", sans-serif;
  font-size: 1.6rem;
  text-align: left;
}

.exam-table th,
.exam-table td {
  padding: 1.6rem 2rem;
  border-bottom: 1px solid #e1e1e1;
  vertical-align: middle;
}

.exam-table thead th {
  background-color: #252e39; /* A cookie banner sötét színe */
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1.4rem;
}

.exam-table tbody tr:hover {
  background-color: #f8f9fa; /* Finom hover effektus asztali nézeten */
}

/* Az átmeneti szakasz (11-14 év) kiemelése */
.exam-table tbody tr.row-highlight {
  background-color: #e8f7fb; /* A brand kék nagyon világos árnyalata */
}

.exam-table tbody tr.row-highlight:hover {
  background-color: #d8f1f8;
}

/* Fakóbb szöveg az üres cellákhoz */
.text-muted {
  color: #999;
  font-style: italic;
  text-align: center;
}

/* Fokozat jelző "badge"-ek formázása */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1.4rem;
  text-align: center;
  min-width: 45px;
}

.badge-a {
  background-color: #f1f3f5;
  color: #495057;
  border: 1px solid #ced4da;
}

.badge-b {
  background-color: #a9c4cc; /* A brand kék színe */
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(20, 167, 208, 0.3);
}

/* Kisebb igazítások a "Fokozat" oszlophoz, hogy szépen álljanak a badge-ek */
.exam-table td:first-child {
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   ÖVSZÍNEK VIZUÁLIS MEGJELENÍTÉSE
   ========================================================================== */

.belt-color {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: text-bottom;
  border: 1px solid #adb5bd;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Szimpla színek */
.lemon {
  background-color: #fcc419;
}
.orange {
  background-color: #fd7e14;
}
.green {
  background-color: #40c057;
}
.blue {
  background-color: #228be6;
}
.brown {
  background-color: #8b4513;
}

/* Kétszínű (átmenetes) övek */
.white-lemon {
  background: linear-gradient(135deg, #ffffff 50%, #fcc419 50%);
}
.lemon-orange {
  background: linear-gradient(135deg, #fcc419 50%, #fd7e14 50%);
}
.orange-green {
  background: linear-gradient(135deg, #fd7e14 50%, #40c057 50%);
}
.green-blue {
  background: linear-gradient(135deg, #40c057 50%, #228be6 50%);
}
