/* Encabezado compartido Balphin: lo usan la app de Solicitudes y el Cotizador.
   Los valores copian el encabezado original del Cotizador. */

/* Encabezado completo (en la app de Solicitudes; el Cotizador ya tiene el suyo) */
.bh {
  background: #0F2540; padding: 0 28px; height: 52px;
  display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-family: 'Segoe UI', system-ui, sans-serif; font-size: 14px; line-height: 1.5;
}
.bh-logo { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.3px; text-decoration: none; white-space: nowrap; }
.bh-logo span { color: #5BB8F5; }
.bh-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.2); flex: none; }
.bh-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.bh-right form { margin: 0; }

/* Accesos entre herramientas (en los dos lados) */
.bh-nav { display: flex; align-items: center; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.bh-nav::-webkit-scrollbar { display: none; }
.bh-nav a {
  color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.bh-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.bh-nav a.bh-activo { color: #fff; background: rgba(255,255,255,0.14); }

.bh-n {
  display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 999px;
  background: #5BB8F5; color: #0F2540; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}
.bh-n:empty, .bh-n[hidden] { display: none; }

/* Botones del encabezado: mismos valores que "Buscar producto" y "Salir" del Cotizador */
.bh-btn {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.7);
  padding: 5px 12px; border-radius: 6px; font-size: 12px; cursor: pointer; text-decoration: none;
  font-family: 'Segoe UI', system-ui, sans-serif; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; line-height: 1.5;
}
.bh-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
.bh-btn--claro { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: #fff; padding: 5px 14px; }

.bh-avisos { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 6px; white-space: nowrap; font-family: 'Segoe UI', system-ui, sans-serif; }
.bh-avisos:hover, .bh-avisos.bh-activo { color: #fff; background: rgba(255,255,255,0.08); }
.bh-user { text-decoration: none; font-size: 12px; color: rgba(255,255,255,0.5); white-space: nowrap; }

/* Dentro del Cotizador: la línea de versión pasa a ser un tooltip del logo para dejar lugar al menú */
.bh-integrado .header-sub { display: none; }

@media (max-width: 900px) {
  .bh { padding: 0 14px; gap: 10px; }
  .bh-btn--buscar .bh-txt, .bh-user { display: none; }
}
@media (max-width: 600px) {
  .bh-logo span, .bh-sep { display: none; }
}
