/* ============================
   CONTROLES FLOTANTES GLOBALES
   M2A: este archivo ya no define filtros/panel/overlay.
   Esos estilos viven en panel.css para evitar conflictos.
============================ */

.theme-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 40;

  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;

  background: rgba(22, 59, 69, 0.94);
  color: #fff9f3;

  font-size: 0.82rem;
  font-weight: 700;

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.theme-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.44);
}

.theme-btn:active {
  transform: translateY(0) scale(0.98);
}

body:not(.dark) .theme-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
}
