.srt-wrapper {
  padding: 2rem 1rem 3rem;
  font-family: "Nunito Sans", sans-serif;
  /*background: radial-gradient(circle at top, #0f172a 0, #050814 55%);*/
  color: #f9fafb;
}

.srt-wrapper h1 {
  text-align: center;
  margin-bottom: .25rem;
  font-size: 1.9rem;
}

.srt-wrapper .subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: #9ca3af;
  font-size: .95rem;
}

.srt-wrapper .container {
  max-width: 1100px;
  margin: 0 auto;
}

.srt-wrapper .section-block {
  background: linear-gradient(145deg,rgba(15,23,42,.9),rgba(6,95,70,.35));
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(148,163,184,.35);
  box-shadow: 0 18px 45px rgba(15,23,42,.8);
}

.srt-wrapper .section-block h2 {
  margin: 0 0 .9rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #22c55e;
}

.srt-wrapper .table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: rgba(15,23,42,.9);
}

.srt-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 650px;
}

.srt-wrapper thead tr {
  background: rgba(15,23,42,1);
}

.srt-wrapper th, .srt-wrapper td {
  padding: .65rem .75rem;
  text-align: left;
  font-size: .85rem;
  border-bottom: 1px solid rgba(31,41,55,.85);
  white-space: nowrap;
}

.srt-wrapper th {
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #9ca3af;
}

.srt-wrapper tbody tr:nth-child(even) {
  background: rgba(15,23,42,.88);
}

.srt-wrapper tbody tr:nth-child(odd) {
  background: rgba(15,23,42,.95);
}

.srt-wrapper tbody tr:hover {
  background: rgba(34,197,94,.08);
}

.srt-wrapper .copy-btn {
  position: relative;
  border: 1px solid rgba(34,197,94,.7);
  background: rgba(34,197,94,.06);
  color: #22c55e;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: background .18s ease,border-color .18s ease,transform .12s ease;
}

.srt-wrapper .copy-btn:hover {
  background: rgba(34,197,94,.14);
  border-color: #22c55e;
  transform: translateY(-1px);
}

.srt-wrapper .copy-btn .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: #020617;
  color: #f9fafb;
  padding: .16rem .5rem;
  border-radius: 999px;
  font-size: .7rem;
  border: 1px solid #1f2937;
  transition: opacity .15s ease,transform .15s ease;
}

.srt-wrapper .copy-btn:hover .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%,-2px);
}

/* ============================================================
   CRIC23 — FORMATO DE TODAS LAS TABLAS (FULL CONTROL)
   ============================================================ */

/* ============
   1) FORZAR BOLD EN TODAS LAS CELDAS
   ============ */

#tabla-dinamica td, #tabla-dinamica th, #tabla-slide td, #tabla-slide th, #tabla-slide2 td, #tabla-slide2 th, #tabla-oficial td, #tabla-oficial th {
  font-weight: 800 !important;
  font-family: 'Nunito Sans', sans-serif !important;
}

/* ============
   2) PRIMERA COLUMNA — IZQUIERDA + OCUPA TODO EL ESPACIO
   ============ */

#tabla-dinamica td:nth-child(1), #tabla-slide td:nth-child(1), #tabla-slide2 td:nth-child(1), #tabla-oficial td:nth-child(1) {
  text-align: left !important;
  width: 100% !important;
  white-space: normal !important;
}

/* ============
   3) COLUMNAS 2, 3 y 4 — CENTRADAS + AUTO-AJUSTE AL CONTENIDO
   ============ */

#tabla-dinamica td:nth-child(2), #tabla-dinamica td:nth-child(3), #tabla-dinamica td:nth-child(4), #tabla-slide td:nth-child(2), #tabla-slide td:nth-child(3), #tabla-slide td:nth-child(4), #tabla-slide2 td:nth-child(2), #tabla-slide2 td:nth-child(3), #tabla-slide2 td:nth-child(4), #tabla-oficial td:nth-child(2), #tabla-oficial td:nth-child(3), #tabla-oficial td:nth-child(4) {
  text-align: center !important;
  width: 1% !important;
  white-space: nowrap !important;
}

/* ============
   4) TABLAS 100% CONTROLADAS POR NOSOTROS
   ============ */

#tabla-dinamica, #tabla-slide, #tabla-slide2, #tabla-oficial {
  width: 100% !important;
}

#tabla-dinamica td, #tabla-slide td, #tabla-slide2 td, #tabla-oficial td {
  table-layout: auto !important;
}

