:root{
  --bg0:#F7FAFF;
  --bg1:#EEF4FF;
  --card: rgba(255,255,255,.78);
  --card2: rgba(255,255,255,.92);
  --stroke: rgba(15,23,42,.12);
  --text:#0F172A;
  --muted: rgba(15,23,42,.72);
  --accent:#2563EB;
  --accent2:#16A34A;
  --danger:#DC2626;
  --warn:#F59E0B;
  --shadow: 0 16px 40px rgba(2,6,23,.10);
  --radius: 18px;
  --radius2: 14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%;overflow-x:hidden}

/* --- Branding (logo + imagen principal) --- */
.hero-image-wrap{
  width: 100%;
  max-width: 100%;
  margin: 10px 0 14px 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden; /* evita ensanchar la página */
}

.hero-image{
  display: block;
  width: 100%;
  max-width: 100%;
  height: 715px;           /* ALTURA VISIBLE */
  object-fit: cover;      /* llena ancho/alto */
  object-position: center;
  border-radius: 14px;
  background: rgba(255,255,255,.0);
  border: 0;
  box-shadow: 0 10px 30px rgba(18,38,63,.10);
}


body{
  margin:0;
  font-family: var(--sans);
  color:var(--text);
  background:
    radial-gradient(1100px 760px at 15% 12%, rgba(37,99,235,.14), transparent 58%),
    radial-gradient(900px 650px at 88% 20%, rgba(37,99,235,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9; text-decoration:underline}

\.container{
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 18px 40px;
}

.header{
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom: 14px;
}

.brand{
  display:flex;
  gap:14px;
  align-items:center;
}

.badge{
  width:48px; height:48px;
  border-radius: 14px;
  background:
    radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.25), transparent 70%),
    linear-gradient(135deg, rgba(59,130,246,.9), rgba(34,197,94,.75));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.12);
}

.title{
  line-height:1.05;
}
.title h1{
  margin:0;
  font-size: 24px;
  letter-spacing:.2px;
}
.title p{
  margin:6px 0 0;
  color:var(--muted);
  font-size: 13px;
}

.top-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.btn, button{
  appearance:none;
  border:1px solid var(--stroke);
  background: var(--card);
  color:var(--text);
  padding:10px 12px;
  border-radius: 14px;
  cursor:pointer;
  font-weight:600;
  font-size: 13px;
  letter-spacing:.2px;
  transition: transform .08s ease, background .2s ease, border-color .2s ease;
}
.btn:hover, button:hover{background: var(--card2);}
.btn:active, button:active{transform: translateY(1px);}
.btn.primary{
  background: linear-gradient(135deg, rgba(59,130,246,.95), rgba(34,197,94,.80));
  border-color: rgba(255,255,255,.18);
}
.btn.ghost{
  background: transparent;
}

.flash{
  margin: 10px 0 14px;
  padding: 12px 14px;
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.35);
  border-radius: 14px;
  color: rgba(255,255,255,.92);
}

.panel{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:visible;
}

.panel-head{
  padding: 14px 14px 12px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}

.panel-head .left{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.panel-head .kicker{
  font-size: 12px;
  color: var(--muted);
}
.panel-head .h{
  font-size: 15px;
  font-weight: 800;
  letter-spacing:.2px;
}
.meta{
  display:flex; gap:10px; align-items:center;
  color: var(--muted);
  font-size: 12px;
}

.toolbar{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.input{
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  color: var(--text);
  padding:10px 12px;
  border-radius: 14px;
  outline:none;
  min-width: 220px;
}
.input::placeholder{color: rgba(234,241,255,.55);}

.tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding: 12px 14px;
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tab{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.78);
}
.tab.active{
  border-color: rgba(37,99,235,.35);
  background: rgba(37,99,235,.10);
  color: rgba(15,23,42,.92);
}

.content{
  padding: 0;
}

.table-container {
    width: 100%;
    overflow-x: hidden;   /* NO scroll */
}

table {
    width: 100%;
    table-layout: auto;   /* permite crecer columnas */
    white-space: nowrap;  /* TODO en una línea */
}

th, td {
    white-space: nowrap;
}

th, td {
    padding: 12px 14px;
}

thead th{
  position: sticky;
  top: 0;
  z-index: 2;
  text-align:left;
  font-size: 12px;
  letter-spacing:.2px;
  color: rgba(15,23,42,.82);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15,23,42,.10);
  padding: 12px 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}

tbody td{
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15,23,42,.06);
  color: rgba(15,23,42,.92);
  font-size: 13px;
  white-space: normal;
  overflow-wrap: anywhere;
}
tbody tr:nth-child(2n) td{background: rgba(15,23,42,.02);}
tbody tr:hover td{background: rgba(59,130,246,.10);}

td.num{font-variant-numeric: tabular-nums; font-family: var(--mono); white-space: nowrap;}

/* Reglas visuales */
td.pow-high{
  background: rgba(255,77,109,.18) !important;
  border-bottom-color: rgba(255,77,109,.25);
}
td.multi-x{
  background: rgba(34,197,94,.18) !important;
  border-bottom-color: rgba(34,197,94,.25);
}

.err{
  padding: 14px;
  color: rgba(255,255,255,.92);
  background: rgba(255,77,109,.12);
  border: 1px solid rgba(255,77,109,.28);
  border-radius: 14px;
  white-space: pre-wrap;
  margin: 14px;
}

/* Forms / cards (admin) */
.card{
  max-width: 520px;
  margin: 0 auto;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}
.card label{display:block; font-size: 12px; color:var(--muted); margin-top:10px;}
.card input{
  width:100%;
  margin-top:6px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
.card .row{display:flex; gap:12px; align-items:center; margin-top:12px; flex-wrap:wrap;}
.small{font-size: 12px; color: var(--muted);}

.footer-note{
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 720px){
  .header{flex-direction:column; align-items:stretch;}
  .top-actions{justify-content:flex-start;}
  table{min-width: 640px;}
}


@media (max-width: 1100px){
  thead th, td{ padding: 8px 8px; font-size: 12px; }
}

/* ===== FORCE: una sola línea en toda la tabla ===== */
.table-container,
.table-wrap,
.table-responsive {
  overflow-x: hidden !important;     /* sin barra horizontal */
}

table {
  width: 100% !important;
  table-layout: auto !important;      /* columnas se adaptan */
}

th, td {
  white-space: nowrap !important;     /* NO partir en 2 líneas */
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

/* si tenías celdas centradas con ancho limitado */
th, td {
  max-width: none !important;
}

/* 1) Que el layout use todo el ancho de la pantalla */
.container, .page, .shell, .card {
  max-width: 100vw !important;
  width: 100vw !important;
}

/* 2) Tabla en una sola línea */
table { white-space: nowrap !important; }
th, td { white-space: nowrap !important; }

/* 3) NO recortar columnas: permitir scroll horizontal SOLO en la tabla */
.table-container, .table-wrap, .table-responsive {
  overflow-x: auto !important;   /* <- este es el cambio clave */
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* ===== COMPACT MODE: intentar que quepa sin scroll ===== */

/* más compacto: menos padding y fuente algo menor */
.table-container table {
  font-size: 13px !important;
}
.table-container th,
.table-container td {
  padding: 10px 10px !important;
  white-space: nowrap !important;
}

/* cabeceras más compactas */
.table-container thead th {
  font-size: 12px !important;
  letter-spacing: .2px;
}

/* columnas “cortables”: recortar con  */
.table-container td:nth-child(2),  /* Ciclista */
.table-container td:nth-child(5),  /* Equipo */
.table-container td:nth-child(6) { /* Trainer */
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* columnas numéricas/pequeñas: forzar estrechas */
.table-container th:nth-child(1),
.table-container td:nth-child(1) { width: 72px; }   /* Posicion */

.table-container th:nth-child(3),
.table-container td:nth-child(3) { width: 92px; }   /* Categoría */

/* ==============================
   ADMIN: Gestionar etapas (layout)
   Evita solapes (Renombrar/fecha)
   ============================== */

table.admin-table{
  table-layout: fixed !important;
}

table.admin-table th,
table.admin-table td{
  white-space: normal !important; /* override global nowrap */
  overflow-wrap: anywhere;
}

table.admin-table th:nth-child(1),
table.admin-table td:nth-child(1){ width: 18%; }

table.admin-table th:nth-child(2),
table.admin-table td:nth-child(2){ width: 52%; }

table.admin-table th:nth-child(3),
table.admin-table td:nth-child(3){ width: 20%; }

table.admin-table th:nth-child(4),
table.admin-table td:nth-child(4){ width: 10%; }

table.admin-table td:nth-child(2){
  overflow: hidden;
}

/* Form renombrar alineado y sin invadir columnas */
table.admin-table .rename-row{
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

table.admin-table .rename-row input[type="text"],
table.admin-table .rename-row input.text{
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

table.admin-table .rename-row .btn.small{
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Footer del admin */
.admin-footer{
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
}

.table-container th:nth-child(4),
.table-container td:nth-child(4) { width: 70px; }   /* Edad */

.table-container th:nth-child(7),
.table-container td:nth-child(7) { width: 78px; }   /* Media Av */

.table-container th:nth-child(8),
.table-container td:nth-child(8) { width: 92px; }   /* Peso aprox. */

.table-container th:nth-child(9),
.table-container td:nth-child(9) { width: 110px; }  /* Potencia Media */

.table-container th:nth-child(10),
.table-container td:nth-child(10) { width: 95px; }  /* Pulso medio */

.table-container th:nth-child(11),
.table-container td:nth-child(11) { width: 110px; } /* Velocidad media */

.table-container th:nth-child(12),
.table-container td:nth-child(12) { width: 88px; }  /* Multiplayer */

.table-container th:nth-child(13),
.table-container td:nth-child(13) { width: 95px; }  /* Tiempo */

.table-container th:nth-child(14),
.table-container td:nth-child(14) { width: 125px; } /* Tiempo revisado */

.table-container th:nth-child(15),
.table-container td:nth-child(15) { width: 95px; }  /* Intervalo */

/* ultra-compact */
.table-container table { font-size: 12px !important; }
.table-container th, .table-container td { padding: 8px 8px !important; }

/* encabezados cortos y centrados */
.table-container thead th { font-size: 11px !important; text-align: center !important; }

/* centrar columnas numéricas y cortas */
.table-container td:nth-child(1),
.table-container td:nth-child(3),
.table-container td:nth-child(4),
.table-container td:nth-child(7),
.table-container td:nth-child(8),
.table-container td:nth-child(9),
.table-container td:nth-child(10),
.table-container td:nth-child(11),
.table-container td:nth-child(12),
.table-container td:nth-child(13),
.table-container td:nth-child(14),
.table-container td:nth-child(15) {
  text-align: center !important;
}

/* recortar columnas largas */
.table-container td:nth-child(2),
.table-container td:nth-child(5),
.table-container td:nth-child(6) {
  max-width: 150px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}


/* ===== Centrado de columnas numéricas / tiempos ===== */
.table-wrap table th:nth-child(7),
.table-wrap table td:nth-child(7),   /* Media Av */
.table-wrap table th:nth-child(8),
.table-wrap table td:nth-child(8),   /* Peso aprox. */
.table-wrap table th:nth-child(9),
.table-wrap table td:nth-child(9),   /* Potencia Media */
.table-wrap table th:nth-child(10),
.table-wrap table td:nth-child(10),  /* Pulso medio */
.table-wrap table th:nth-child(11),
.table-wrap table td:nth-child(11),  /* Velocidad media */
.table-wrap table th:nth-child(12),
.table-wrap table td:nth-child(12),  /* Multiplayer */
.table-wrap table th:nth-child(13),
.table-wrap table td:nth-child(13),  /* Tiempo */
.table-wrap table th:nth-child(14),
.table-wrap table td:nth-child(14),  /* Tiempo revisado */
.table-wrap table th:nth-child(15),
.table-wrap table td:nth-child(15)   /* Intervalo */
{
  text-align: center !important;
}

/* Mantener texto a la izquierda en columnas “de texto” */
.table-wrap table td:nth-child(2),
.table-wrap table td:nth-child(5),
.table-wrap table td:nth-child(6){
  text-align: left !important;
}


.pill{display:inline-block;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);font-size:13px;opacity:.9;}


/* ===== Force alignment consistency in tables (General + Stages) ===== */
/* Keep rider name column left, center everything else from column 3 onwards */
#content table thead th:nth-child(2),
#content table tbody td:nth-child(2){
  text-align: left !important;
}
#content table thead th:nth-child(n+3),
#content table tbody td:nth-child(n+3){
  text-align: center !important;
}
#content table thead th:nth-child(1),
#content table tbody td:nth-child(1){
  text-align: center !important;
}



/* ===== STICKY GENERAL: Pos + Ciclista fijos en scroll horizontal ===== */
:root{
  --bg0:#F7FAFF;
  --bg1:#EEF4FF;
  --card: rgba(255,255,255,.78);
  --card2: rgba(255,255,255,.92);
  --stroke: rgba(15,23,42,.12);
  --text:#0F172A;
  --muted: rgba(15,23,42,.72);
  --accent:#2563EB;
  --accent2:#16A34A;
  --danger:#DC2626;
  --warn:#F59E0B;
  --shadow: 0 16px 40px rgba(2,6,23,.10);
  --radius: 18px;
  --radius2: 14px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* Asegurar que la tabla pueda hacer scroll horizontal */
.table-wrap{
  position: relative;
}

/* Columna Pos */
#tabla-general th.col-pos,
#tabla-general td.col-pos{
  position: sticky;
  left: 0;
  z-index: 6;
  min-width: var(--posw);
  width: var(--posw);
  background: rgba(11,22,48,.96);
}

/* Columna Ciclista */
#tabla-general th.col-ciclista,
#tabla-general td.col-ciclista{
  position: sticky;
  left: var(--posw);
  z-index: 5;
  min-width: var(--cicw);
  background: rgba(11,22,48,.96);
  text-align: left !important;
}

/* Separación visual del bloque sticky */
#tabla-general td.col-ciclista,
#tabla-general th.col-ciclista{
  box-shadow: 10px 0 16px rgba(0,0,0,.25);
}

/* Resaltado automático: mejor tiempo por etapa */
#tabla-general td.best-stage{
  font-weight: 700;
  background: transparent !important;
  outline: 2px solid rgba(22,163,74,.30);
  outline-offset: -2px;
  border-radius: 8px;
}



/* ===== Visuales General: Podio, Top10, Mejor etapa ===== */
#tabla-general tr.podium td{
  font-weight: 700;
}
#tabla-general tr.podium-1 td{
  background: rgba(37,99,235,.06);
}
#tabla-general tr.podium-2 td{
  background: rgba(37,99,235,.04);
}
#tabla-general tr.podium-3 td{
  background: rgba(37,99,235,.03);
}
#tabla-general tr.top10 td{
  background: rgba(59,130,246,0.06);
}

/* Mejor tiempo de etapa (celda) */
#tabla-general td.best-stage{
  outline: 2px solid rgba(34,197,94,0.55);
  outline-offset: -2px;
  border-radius: 8px;
}

/* Mantener fondo de celdas sticky consistente */
#tabla-general #tabla-general td.col-pos,
#tabla-general td.col-ciclista{
  background: rgba(255,255,255,0.96);
}

#tabla-general th.col-pos,
#tabla-general th.col-ciclista{
  background: rgba(11,22,48,.96);
  color: rgba(255,255,255,.92) !important;
}



/* ===== Resumen superior (General) ===== */
.summary-bar{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px 0;
}
.summary-card{
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(6px);
}
.summary-k{
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.summary-v{
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.summary-s{
  margin-top: 2px;
  font-size: 12px;
  opacity: 0.85;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px){
  .summary-bar{ grid-template-columns: 1fr; }
}

/* Comparator */
.comparator{
  margin: 10px 0 14px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.03);
}
.comp-row{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.comp-row .chk{
  display:flex;
  gap:8px;
  align-items:center;
  font-size: 13px;
  opacity:.9;
}
.comp-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:0;
}
.chip{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  cursor:pointer;
  user-select:none;
}
.chip b{ opacity:.85; }
.rider-add{
  cursor:pointer;
  text-decoration: none !important;
  text-underline-offset: 3px;
  font-weight: 500;
}
.rider-add:hover{
  text-decoration: none !important;
  color: #4da3ff !important;
}


/* Comparador: nombre clicable en General */
.rider-name{cursor:pointer; text-decoration:none;}
.rider-name:hover{opacity:1; color: var(--accent);}

.comp-intro{
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fb4d8;
  opacity: 1;
  margin-right: 8px;
}


/* Delta de posición (etapas): ▲▼ + número */
.pos-delta{font-size:0.8rem;font-weight:800;margin-left:6px;white-space:nowrap;}
.pos-delta.up{color:#2ecc71;}
.pos-delta.down{color:#e74c3c;}
.pos-delta.same{color:#9aa0a6;}


/* ===== Visual tweaks (subtle) ===== */
#content .table-wrap{ overflow: visible; }
#content table thead th{
  position: sticky;
  top: 0;
  z-index: 3;
}
#content table tbody tr:nth-child(even){
  background: rgba(255,255,255,0.03);
}
#content table tbody tr:hover{
  background: rgba(59,130,246,0.12);
}
.filter-active{
  font-weight: 800;
  opacity: .95;
  margin-right: 10px;
}


/* Hide small view label above title */
.kicker{ display:none !important; }

/* Rider hover color */
.rider{ text-decoration:none; }
.rider:hover{ color:#2c5fb8; text-decoration:none; }

/* ===============================
   STICKY CABECERA (SCROLL PÁGINA)
   =============================== */

/* Asegurar que ningún wrapper rompe sticky */
.container,
.panel,
.content,
.table-wrap{
  overflow: visible;
}

/* Cabecera fija */
.table thead th,
thead th{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 22, 48, 0.96);
  backdrop-filter: blur(2px);
  /* FIX: ensure header text is readable on dark sticky header */
  color: rgba(255,255,255,.92) !important;
}

/* Evita artefactos visuales */
.table{
  border-collapse: separate;
  border-spacing: 0;
}


/* Branding (logo + imagen principal) */
.brand-logo{
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  padding: 4px;
  background: rgba(255,255,255,.85);
  box-shadow: 0 8px 24px rgba(18,38,63,.10);
  display: block;
}


/* Admin previews */
.preview-line{
  margin: 8px 0 10px;
}

.logo-preview{
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(20,40,80,.12);
}

.hero-preview{
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(20,40,80,.12);
}

.checkline{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
  color: rgba(15,25,40,.75);
  font-size: 14px;
}

.sep{
  border: 0;
  height: 1px;
  background: rgba(20,40,80,.10);
  margin: 16px 0;
}

.section-title{
  margin: 4px 0 12px;
  font-size: 16px;
}



/* ===============================
   FIX: Columna Pos (filas 11+ oscuras)
   - Mantener cabecera oscura
   - Celdas del cuerpo deben seguir zebra/hover (fondo claro)
   =============================== */
#tabla-general thead th.col-pos{
  background: rgba(11,22,48,.96) !important;
  color: rgba(255,255,255,.92) !important;
}

#tabla-general tbody td.col-pos{
  background: #ffffff !important;
  color: #0f172a !important;
}

#tabla-general tbody tr:nth-child(2n) td.col-pos{
  background: rgba(15,23,42,.02) !important;
}

#tabla-general tbody tr:hover td.col-pos{
  background: rgba(59,130,246,.10) !important;
}

/* Podio coherente también en Pos */
#tabla-general tr.podium-1 td.col-pos{ background: rgba(37,99,235,.06) !important; }
#tabla-general tr.podium-2 td.col-pos{ background: rgba(37,99,235,.04) !important; }
#tabla-general tr.podium-3 td.col-pos{ background: rgba(37,99,235,.03) !important; }

/* --- Cabecera responsive --- */
@media (max-width: 768px){
  .hero-image{ height: 200px; }
}


/* --- Admin: secciones en Ajustes --- */
.settings-section{
  margin: 14px 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(20, 32, 55, 0.10);
  background: rgba(255,255,255,0.55);
}
.settings-section .section-title{
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  margin-bottom: 6px;
  color: #0b1b3a;
}
.settings-section .section-desc{
  font-size: 12px;
  opacity: .75;
  margin-bottom: 10px;
}
.settings-section label{ margin-top: 10px; }
