/* =====================================================
   CONTENEDOR DE TABLAS
   Caja general de la tabla con borde, fondo y scroll
===================================================== */

.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(8, 16, 32, 0.6);
  margin-top: 14px;
}

.table-wrap-hidden {
  display: none;
}


/* =====================================================
   TABLA GENERAL
   Estructura base de todas las tablas del sistema
===================================================== */

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

thead {
  background: rgba(255, 255, 255, 0.04);
}

th,
td {
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

td {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.4;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}


/* =====================================================
   TEXTO AUXILIAR EN TABLAS
   Subtexto de torneos, DNI, observaciones, etc.
===================================================== */

.table-note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.status-detail {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-soft);
}


/* =====================================================
   ACCIONES DENTRO DE TABLAS
   Botones o controles por fila
===================================================== */

.row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}