/* ==========================================================================
   Fijate Tools - Generador de La Quiniela semanal
   Estilos oficiales con soporte de tema claro y oscuro
   ========================================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Paleta tema claro */
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-muted: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  /* Colores oficiales boleto de La Quiniela */
  --quiniela-blue: #0f2b5c;
  --quiniela-blue-light: #1e3a8a;
  --quiniela-red: #e11d48;
  --quiniela-orange: #ff4c2b;
  --quiniela-grid: #cbd5e1;
  --quiniela-cell-bg: #ffffff;
  --quiniela-b2-bg: #f8fafc;

  /* Acentos y estados */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-gold: #d97706;
  --accent-gold-bg: #fef3c7;
  --accent-green: #16a34a;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-boleto: 0 10px 30px rgba(15, 43, 92, 0.08);
}

/* Modo oscuro corporativo */
[data-theme="dark"],
html.dark {
  --bg-app: #0b0f17;
  --bg-card: #151c28;
  --bg-muted: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #243247;

  --quiniela-blue: #1e293b;
  --quiniela-blue-light: #334155;
  --quiniela-red: #f43f5e;
  --quiniela-orange: #fb7185;
  --quiniela-grid: #334155;
  --quiniela-cell-bg: #1e293b;
  --quiniela-b2-bg: #182234;

  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --accent-gold: #f59e0b;
  --accent-gold-bg: rgba(245, 158, 11, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-boleto: 0 10px 35px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Layout base canónico
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.main-wrapper.tool-layout {
  max-width: 1200px;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
  flex: 1 0 auto;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Tarjeta de estado de la jornada actual
   -------------------------------------------------------------------------- */
.quiniela-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.status-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(22, 163, 74, 0.12);
  color: var(--accent-green);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.status-bote-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-gold-bg);
  color: var(--accent-gold);
  border: 1px solid rgba(217, 119, 6, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.status-title-row {
  margin-bottom: 0.75rem;
}

.status-jornada-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.status-temporada {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.status-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  font-size: 0.85rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.meta-label {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.meta-value {
  color: var(--text-main);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Tarjeta de controles de generación
   -------------------------------------------------------------------------- */
.quiniela-controls-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.control-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0.6rem 2.5rem 0.6rem 0.85rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: var(--text-main);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-select option {
  background-color: var(--bg-card);
  color: var(--text-main);
}

.controls-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0.65rem 1.4rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--quiniela-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--quiniela-blue-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 43, 92, 0.2);
}

.btn-secondary {
  background: var(--bg-muted);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
}

.btn-action {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-action:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline {
  border-color: var(--border-color);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   El Boleto oficial digitalizado
   -------------------------------------------------------------------------- */
.boleto-wrapper {
  margin-bottom: 2rem;
}

.boleto {
  background: var(--bg-card);
  border: 2px solid var(--quiniela-grid);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-boleto);
  overflow: hidden;
  position: relative;
}

.boleto-header {
  background: var(--quiniela-blue);
  color: #ffffff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 2px solid var(--quiniela-grid);
}

.boleto-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.boleto-title-tag {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.boleto-jornada-badge {
  background: var(--quiniela-orange);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.boleto-header-right {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Tabla de partidos */
.boleto-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.boleto-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: var(--bg-card);
}

.boleto-table th {
  background: var(--bg-muted);
  color: var(--text-main);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 0.85rem;
  border-bottom: 2px solid var(--quiniela-grid);
  font-size: 0.75rem;
  text-align: center;
}

.boleto-table th.col-num {
  width: 44px;
}

.boleto-table th.col-partido {
  text-align: left;
  padding-left: 1.25rem;
}

.boleto-table th.col-bloques-header {
  border-bottom: 1px solid var(--quiniela-grid);
}

.boleto-table th.col-b1,
.boleto-table th.col-b2 {
  width: 130px;
  font-size: 0.72rem;
  padding: 0.4rem 0.5rem;
}

.boleto-table th.col-probs {
  width: 190px;
}

.boleto-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--quiniela-grid);
  vertical-align: middle;
}

.boleto-table tr:hover {
  background-color: rgba(37, 99, 235, 0.03);
}

.partido-cell-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.partido-names {
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.85rem;
}

.partido-horario-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

/* Casillas 1, X, 2 */
.bloque-cell-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.signo-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--quiniela-cell-bg);
  border: 1px solid var(--quiniela-grid);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.1s ease;
  user-select: none;
}

.signo-btn:hover {
  border-color: var(--quiniela-red);
  color: var(--quiniela-red);
}

.signo-btn.marked {
  background: var(--quiniela-red) !important;
  color: #ffffff !important;
  border-color: var(--quiniela-red) !important;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);
  font-weight: 900;
  position: relative;
}

.signo-btn.marked::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.b2-wrap {
  background: var(--quiniela-b2-bg);
  padding: 2px 4px;
  border-radius: 4px;
}

/* Insignias de probabilidad */
.probs-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.prob-chip {
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  min-width: 42px;
  text-align: center;
}

.prob-chip.active {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Sección Pleno al 15
   -------------------------------------------------------------------------- */
.pleno-section {
  background: var(--bg-card);
  border-top: 2px solid var(--quiniela-grid);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.pleno-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pleno-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--quiniela-orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pleno-teams {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
}

.pleno-horario {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pleno-selector-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pleno-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pleno-team-name {
  width: 120px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.pleno-cells {
  display: flex;
  gap: 5px;
}

.pleno-cell {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--quiniela-cell-bg);
  border: 1px solid var(--quiniela-grid);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.1s ease;
  user-select: none;
}

.pleno-cell:hover {
  border-color: var(--quiniela-orange);
}

.pleno-cell.marked {
  background: var(--quiniela-orange) !important;
  color: #ffffff !important;
  border-color: var(--quiniela-orange) !important;
  box-shadow: 0 2px 6px rgba(255, 76, 43, 0.3);
  font-weight: 900;
}

/* Pie del boleto */
.boleto-footer {
  background: var(--bg-muted);
  border-top: 2px solid var(--quiniela-grid);
  padding: 0.85rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.boleto-footer-note {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.boleto-footer-stats {
  display: flex;
  gap: 0.5rem;
}

.chip-signos {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-main);
}

/* Barra de utilidades del boleto */
.boleto-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Tarjeta de análisis técnico
   -------------------------------------------------------------------------- */
.quiniela-analisis-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-card);
}

.analisis-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.analisis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.analisis-kpi {
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.kpi-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

.kpi-value.text-accent {
  color: var(--primary);
}

.kpi-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Acordeón SEO y FAQs
   -------------------------------------------------------------------------- */
.quiniela-faq-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-card);
}

.faq-main-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  overflow: hidden;
}

.faq-question {
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  color: var(--text-main);
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.2rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-answer p {
  margin-bottom: 0.6rem;
}

.faq-answer ul {
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
}

.faq-answer li {
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Modal accesible para avisos (reemplazo de window.alert)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(15px);
  transition: transform 0.2s ease;
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0.25rem;
}

.modal-body {
  padding: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

.modal-footer {
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  background: var(--bg-muted);
}

/* --------------------------------------------------------------------------
   Media Queries responsivas (Mobile First & Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .main-wrapper.tool-layout {
    padding: 0 0.5rem;
    margin: 1rem auto 2rem;
  }

  .quiniela-status-card,
  .quiniela-controls-card,
  .quiniela-analisis-card,
  .quiniela-faq-section {
    padding: 1rem;
  }

  .status-jornada-title {
    font-size: 1.15rem;
  }

  .controls-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .controls-actions-row .btn {
    width: 100%;
  }

  .boleto-header {
    padding: 0.75rem 1rem;
  }

  .boleto-title-tag {
    font-size: 1.05rem;
  }

  .boleto-table th {
    padding: 0.4rem 0.25rem;
    font-size: 0.68rem;
  }

  .boleto-table td {
    padding: 0.45rem 0.25rem;
  }

  .boleto-table th.col-partido,
  .boleto-table td.col-partido {
    max-width: 130px;
    padding-left: 0.4rem;
  }

  .partido-names {
    font-size: 0.75rem;
  }

  .partido-horario-badge {
    font-size: 0.65rem;
  }

  .signo-btn {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .col-b1, .col-b2 {
    width: 95px !important;
  }

  .prob-chip {
    min-width: 32px;
    font-size: 0.65rem;
    padding: 0.15rem 0.25rem;
  }

  .pleno-section {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .pleno-team-name {
    width: 80px;
    font-size: 0.75rem;
  }

  .pleno-cell {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  .boleto-footer {
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .boleto-toolbar {
    flex-direction: column;
    width: 100%;
  }

  .boleto-toolbar .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .col-probs {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Estilos de Impresión (@media print)
   -------------------------------------------------------------------------- */
@media print {
  .app-header,
  .tools-ad-banner-section,
  .tool-ad-sidebar,
  .quiniela-status-card,
  .quiniela-controls-card,
  .boleto-toolbar,
  .quiniela-analisis-card,
  .quiniela-faq-section,
  .fijate-footer,
  .modal-backdrop {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-wrapper.tool-layout {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tool-with-sidebar {
    display: block !important;
  }

  .boleto {
    border: 2px solid #000000 !important;
    box-shadow: none !important;
  }

  .boleto-header {
    background: #0f2b5c !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .signo-btn.marked,
  .pleno-cell.marked {
    background: #e11d48 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
