/* ==========================================================================
   Rastreador 3D de Satélites Starlink en Tiempo Real y Avistamientos
   fijate.com/tools/rastreador-starlink-satelites-3d/
   ========================================================================== */

: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 nocturna Midnight Slate */
  --bg-space: #070b14;
  --bg-card: rgba(15, 23, 42, 0.82);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --bg-surface: #0f172a;
  --border-glow: rgba(56, 189, 248, 0.22);
  --border-subtle: rgba(148, 163, 184, 0.14);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-green: #38ef7d;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-neon: 0 0 20px rgba(0, 242, 254, 0.25);

  /* Tokens institucionales y de cabecera canónica */
  --primary-color: #38bdf8;
  --primary-light: rgba(56, 189, 248, 0.15);
  --primary-hover: #0284c7;
  --border-color: rgba(148, 163, 184, 0.18);
  --bg-input: #0f172a;
  --bg-card-header: #131b2e;
}

/* Modo claro institucional */
[data-theme="light"] {
  --bg-space: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-surface: #e2e8f0;
  --border-glow: rgba(14, 165, 233, 0.3);
  --border-subtle: rgba(203, 213, 225, 0.8);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent-cyan: #0284c7;
  --accent-blue: #0ea5e9;
  --accent-green: #10b981;
  --accent-amber: #d97706;

  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-neon: 0 0 12px rgba(14, 165, 233, 0.2);

  /* Tokens institucionales y de cabecera canónica */
  --primary-color: #0284c7;
  --primary-light: rgba(2, 132, 199, 0.1);
  --primary-hover: #0369a1;
  --border-color: #cbd5e1;
  --bg-input: #ffffff;
  --bg-card-header: #f1f5f9;
}

/* Reset y layout de contención canónica */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* Estructura canónica de dos columnas para anuncios */
.tool-layout {
  max-width: 1240px;
  width: 100%;
  margin: 1.25rem auto 3rem;
  padding: 0 1rem;
  display: flex;
  gap: 2rem;
  flex: 1 0 auto;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}


/* Barra superior de ubicación y reloj */
.location-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.location-picker-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 320px;
  min-width: 0;
}

.location-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  flex-shrink: 0;
}

.location-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}

.location-details .location-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 600;
}

.location-details .location-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-details .location-coords {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.location-controls-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Desplegable de municipios canónico */
.select-city-wrapper {
  position: relative;
  min-width: 220px;
  flex: 1 1 auto;
}

.select-city-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 42px;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 40px 0 12px;
  font-size: 0.9rem;
  font-family: var(--font-main);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-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='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.select-city-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.25);
}

.select-city-input optgroup {
  font-weight: 700;
  color: var(--text-dim);
  background-color: var(--bg-surface);
}

.select-city-input option {
  color: var(--text-main);
  background-color: var(--bg-surface);
  padding: 8px 12px;
}

.btn-gps {
  height: 42px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-gps:hover {
  background: var(--accent-blue);
  color: #070b14;
}

.btn-help-trigger {
  height: 42px;
  width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-help-trigger:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

/* Banner de próximo avistamiento con cuenta atrás */
.next-pass-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.18) 0%, rgba(56, 239, 125, 0.12) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-neon);
}

.next-pass-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.next-pass-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-pass-text-group {
  display: flex;
  flex-direction: column;
}

.next-pass-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-green);
}

.next-pass-countdown {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.badge-live-pass {
  display: inline-block;
  background: var(--accent-rose);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulseLive 1.5s infinite;
  margin-right: 0.5rem;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.04); }
}

.live-clock-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.6);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

/* Conmutador de vistas / pestañas */
.view-tabs-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.view-tabs-nav::-webkit-scrollbar {
  display: none;
}

.btn-tab-view {
  flex: 1 1 0%;
  min-width: 140px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-tab-view:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.btn-tab-view.active {
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent-cyan);
  box-shadow: inset 0 0 0 1px rgba(56, 189, 248, 0.35);
}

/* Paneles de vista */
.tool-view-panel {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.tool-view-panel.active {
  display: flex;
}

/* ==========================================================================
   VISTA 1: GLOBO 3D Y TELEMETRÍA
   ========================================================================== */
.globe-viewport-container {
  position: relative;
  width: 100%;
  height: 600px;
  background: #03060d;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

#globe-canvas-container {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globe-canvas-container:active {
  cursor: grabbing;
}

/* HUD superpuesto de telemetría orbital */
.hud-telemetry-panel {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 19, 36, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  color: var(--text-main);
  max-width: 320px;
  pointer-events: auto;
  box-shadow: var(--shadow-card);
}

.hud-title-badge {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.hud-sat-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-sat-group-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.hud-grid-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.hud-metric-box {
  display: flex;
  flex-direction: column;
}

.hud-metric-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.hud-metric-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.hud-sat-status-line {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.dot-sunlit {
  background-color: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.dot-eclipsed {
  background-color: var(--accent-rose);
}

/* Controles de cámara flotantes */
.globe-camera-shortcuts {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-cam-quick {
  height: 34px;
  padding: 0 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cam-quick:hover {
  background: var(--accent-blue);
  color: #03060d;
}

/* Leyenda del globo */
.globe-legend-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(11, 19, 36, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.dot-train {
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

.dot-constellation {
  background: var(--accent-blue);
}

.dot-observer {
  background: var(--accent-amber);
}

/* ==========================================================================
   VISTA 2: LISTADO DE AVISTAMIENTOS NOCTURNOS A SIMPLE VISTA
   ========================================================================== */
.passes-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--bg-card);
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.filter-group-passes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-filter-pass {
  height: 38px;
  padding: 0 0.9rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-filter-pass:hover {
  color: var(--text-main);
  border-color: var(--accent-blue);
}

.btn-filter-pass.active {
  background: rgba(56, 189, 248, 0.16);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

.passes-container-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .passes-container-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}

.pass-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  background: var(--bg-card-hover);
}

.pass-card.card-train {
  border-color: rgba(56, 239, 125, 0.35);
  background: linear-gradient(180deg, rgba(56, 239, 125, 0.04) 0%, var(--bg-card) 100%);
}

.pass-card.selected {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

.pass-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.pass-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.train-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sat-indicator {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pass-date {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: capitalize;
}

.badge-quality {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.badge-excellent {
  background: rgba(56, 239, 125, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(56, 239, 125, 0.35);
}

.badge-good {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-fair {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.pass-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.pass-metric-item {
  display: flex;
  flex-direction: column;
}

.metric-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
}

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

.highlight-val {
  color: var(--accent-cyan);
  font-weight: 700;
}

.pass-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  flex-wrap: wrap;
}

.pass-duration {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pass-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-pass-action {
  height: 34px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-pass-action:hover {
  background: var(--accent-blue);
  color: #070b14;
}

/* ==========================================================================
   VISTA 3: RADAR CELESTE 2D "HACIA DÓNDE MIRAR"
   ========================================================================== */
.radar-view-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.radar-header-info {
  text-align: center;
  max-width: 600px;
}

.radar-pass-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.radar-instructions-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.radar-instructions-text strong {
  color: var(--accent-green);
}

.radar-canvas-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

#radar-canvas {
  border-radius: var(--radius-full);
  box-shadow: 0 0 25px rgba(14, 165, 233, 0.2);
}

.radar-controls-toolbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-radar-play {
  height: 44px;
  padding: 0 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284c7 100%);
  color: #070b14;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-neon);
}

.btn-radar-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
}

/* Modales canónicos institucionales */
.fijate-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fijate-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.fijate-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.fijate-modal-overlay.open .fijate-modal-box {
  transform: scale(1);
}

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

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

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  transition: color 0.2s;
}

.btn-modal-close:hover {
  color: var(--accent-rose);
}

.fijate-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.fijate-modal-body h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem 0;
}

.fijate-modal-body h4:first-child {
  margin-top: 0;
}

.fijate-modal-body p {
  margin-bottom: 0.75rem;
}

.fijate-modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.fijate-modal-body li {
  margin-bottom: 0.35rem;
}

/* Responsividad táctil móvil */
@media (max-width: 640px) {
  .location-top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .location-picker-group {
    width: 100%;
  }

  .location-controls-wrap {
    width: 100%;
  }

  .select-city-wrapper {
    width: 100%;
    min-width: 100%;
  }

  .btn-gps {
    width: 100%;
    justify-content: center;
  }

  .globe-viewport-container {
    height: 480px;
  }

  .hud-telemetry-panel {
    max-width: calc(100% - 2rem);
    left: 1rem;
    right: 1rem;
    top: auto;
    bottom: 3.5rem;
  }

  .globe-legend-overlay {
    display: none;
  }
}
