[id^="supsystic-table-"] table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #1e293b;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin: 20px auto;
}

[id^="supsystic-table-"] thead th {
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #000000;
  text-align: center;
  font-weight: 600;
  padding: 12px 14px;
  letter-spacing: 0.3px;
  border-bottom: 3px solid #1e40af;
}

[id^="supsystic-table-"] tbody td:first-child {
  font-weight: 600;
  color: #0f172a;
  background-color: #f8fafc;
  border-right: 2px solid #e2e8f0;
  text-align: left;
}

[id^="supsystic-table-"] tbody tr:nth-child(odd) {
  background: #f9fafb;
}

[id^="supsystic-table-"] tbody tr:nth-child(even) {
  background: #ffffff;
}

/* Usuń efekt podświetlenia */
[id^="supsystic-table-"] tbody tr:hover {
  background: inherit !important;
}
[id^="supsystic-table-"] tbody td:hover {
  background: inherit !important;
}

/* === Globalny styl dla tabel raportowych Supsystic === */


.raport-tabela {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: #1e293b;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin: 20px auto;
}

.raport-tabela thead th {
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  color: #000000;
  text-align: center;
  font-weight: 600;
  padding: 12px 14px;
  letter-spacing: 0.3px;
  border-bottom: 3px solid #1e40af;
  position: sticky;
  top: 0;
  z-index: 1;
}

.raport-tabela tbody td:first-child {
  font-weight: 600;
  color: #0f172a;
  background-color: #f8fafc;
  border-right: 2px solid #e2e8f0;
  text-align: left;
}

.raport-tabela tbody td:nth-child(2) {
  color: #475569;
  font-style: italic;
  text-align: center;
}

.raport-tabela tbody td:nth-child(3) {
  text-align: left;
  font-weight: 500;
  color: #1e3a8a;
}

.raport-tabela tbody td:nth-child(n+4) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.raport-tabela tbody tr:nth-child(odd) {
  background: #f9fafb;
}
.raport-tabela tbody tr:nth-child(even) {
  background: #ffffff;
}

.raport-tabela tbody tr:hover {
  background: #e0f2fe;
  transition: background 0.3s ease;
}

@media (max-width: 768px) {
  .raport-tabela {
    font-size: 13px;
  }
  .raport-tabela thead th {
    padding: 10px;
  }
  .raport-tabela tbody td {
    padding: 8px;
  }
}

.raport-tabela caption {
  caption-side: top;
  font-size: 17px;
  font-weight: 600;
  color: #1e40af;
  padding: 10px 0;
  text-align: left;
}

/* === Stylizowana tabela symboli klas użytkowania gleb === */

.table-wrap {
  max-width: 960px;
  margin: 32px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.table-caption {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
  color: #1e293b;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
}

.responsive-table thead {
  background: linear-gradient(90deg, #0f766e, #0ea5a4);
  color: #fff;
}

.responsive-table th,
.responsive-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
}

.responsive-table th {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.responsive-table tbody tr:nth-child(odd) {
  background: #fafafa;
}

.responsive-table tbody tr:hover {
  background: #f1f5f9;
}

.symbol {
  font-weight: 700;
  color: #0f172a;
  width: 90px;
}

/* Grupy kolorystyczne */
.group-pszenny td { border-left: 6px solid #14b8a6; }
.group-zytni td   { border-left: 6px solid #f59e0b; }
.group-zboz-pas td{ border-left: 6px solid #ef4444; }
.group-gorski td  { border-left: 6px solid #8b5cf6; }
.group-uzytki td  { border-left: 6px solid #22c55e; }

/* Legendka */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 14px;
  color: #334155;
}

.legend .item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.legend .swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend .pszenny .swatch { background: #14b8a6; }
.legend .zytni .swatch { background: #f59e0b; }
.legend .zboz-pas .swatch { background: #ef4444; }
.legend .gorski .swatch { background: #8b5cf6; }
.legend .uzytki .swatch { background: #22c55e; }

/* Responsywność */
@media (max-width: 720px) {
  .table-wrap { padding: 14px; }
  .responsive-table th, .responsive-table td { font-size: 14px; padding: 10px; }
  .legend { gap: 8px; }
}

