/* ============================ Estilos universal ============================ */
/* Overlay transparente que cubre toda la pantalla */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.banner.visible {
  display: flex;
}

.banner-content {
  background: #111;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 500px;
  min-height: 200px;
  max-height: 80%;
  overflow-y: auto;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 480px) {
  .banner-content {
    width: 80%;
    max-width: none;
    padding: 20px;
  }
}

/* Animación */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Títulos */
.banner-content h2 {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
}

/* Botón cerrar */
.btn-cerrar,
.btn-bn-cerrar,
.btn-idioma-cerrar {
  margin-top: 20px;
  background: #5a1a1a;       /* rojo oscuro */
  border: 1px solid #7a2a2a; /* borde más claro */
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
}

.btn-cerrar:hover,
.btn-bn-cerrar:hover,
.btn-idioma-cerrar:hover {
  background: #8b1f1f;       /* rojo más intenso al pasar el mouse */
  border-color: #a33;        /* borde más vivo */
}


/* ============================ Idioma ============================ */
.idioma-opciones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.idioma-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #222;
  border: 1px solid #444;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  transition: 0.2s;
}

.idioma-btn:hover {
  background: #333;
}

.idioma-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
}

/* ============================ Contacto  ============================ */
.contacto-opciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.contacto-btn {
  width: 80%;
  max-width: 300px;
  display: block;
  background: #222;
  border: 1px solid #444;
  padding: 12px;
  border-radius: 10px;
  margin: 8px auto;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  text-align: center;
  transition: 0.2s;
}

.contacto-btn:hover {
  background: #333;
}

/* ============================ Banner QR ============================ */
/* Imagen QR (Wi-Fi y Compartir página) */
.qr-img {
  width: 260px;
  height: 260px;
  margin: 15px auto;
  display: block;
  border-radius: 10px;
}
/* Texto dentro de banners QR */
.banner-qr p {
  margin: 10px 0;
  font-size: 1rem;
  color: #fff;
}
.banner-qr span {
  font-weight: bold;
  color: #ddd; /* resalta datos como contraseña o URL */
}

