/* ============================ ESTADO DE CONEXIÓN ============================
   Barra fija que avisa cuando el navegador pierde la conexión a internet.
   Se muestra/oculta desde connection-status.js (clase .show).
   ============================================================================ */

#offline-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #c0392b;
  color: #fff;
  font-family: Roboto, Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-100%);
  transition: transform 0.25s ease-out;
}

#offline-banner.show {
  transform: translateY(0);
}

#offline-banner .offline-banner-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

html.night #offline-banner {
  background: #7a1f16;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
