/* Pillan360 v10.9-RC-HF3 · Legibilidad de pestañas y controles Windy.
   Alcance exclusivo: modo claro. No modifica cartografia, colores de amenazas
   ni botones de otros visores; modo oscuro intacto. */

/* Pestañas principales: texto azul marino y borde discreto en cada control. */
body.light-mode #main-tabs {
  background: #f1f5f9;
  border: 1px solid #94a3b8;
}
body.light-mode #main-tabs .tab-btn {
  color: #172554;
  background: #ffffff;
  border: 1px solid #64748b;
  border-bottom-width: 1px;
  font-weight: 700;
  transition: background-color .16s ease, color .16s ease,
              border-color .16s ease, box-shadow .16s ease;
}
body.light-mode #main-tabs .tab-btn:is(:hover,:focus-visible):not(.active):not([aria-selected="true"]) {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #334155;
}
body.light-mode #main-tabs .tab-btn:is(.active,[aria-selected="true"]) {
  background: #dbeafe;
  color: #172554;
  border-color: #1d4ed8;
  box-shadow: inset 0 -2px 0 #1d4ed8;
}
body.light-mode #main-tabs .tab-btn:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}
/* Flechas de la barra horizontal para ventanas estrechas. */
body.light-mode .pillan-tab-scroll {
  color: #172554;
  background: #f8fafc;
  border-color: #64748b;
}
body.light-mode .pillan-tab-scroll:hover { background: #e2e8f0; }

/* Windy: botones no seleccionados sobre barra clara, con borde visible. */
body.light-mode #windy-layer-controls button {
  background: #f8fafc;
  color: #172554;
  border: 1px solid #64748b;
  min-width: 2.15rem;
  min-height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.light-mode #windy-layer-controls button:hover:not([aria-pressed="true"]) {
  background: #dbeafe;
  color: #0f172a;
  border-color: #1e40af;
}
body.light-mode #windy-layer-controls button[aria-pressed="true"] {
  background: #1e40af;
  color: #ffffff;
  border-color: #1e3a8a;
  box-shadow: inset 0 -2px 0 #172554;
}
body.light-mode #windy-layer-controls button:focus-visible {
  outline: 2px solid #1e40af;
  outline-offset: 2px;
}
