/* ============================
   BOTONES
============================ */
/* ============================
   BOTÓN FILTROS (match con theme-btn)
============================ */
.filter-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2000;
  
  /* 👇 Mismo gradiente que theme-btn */
  background: linear-gradient(135deg, #bd2904, #14a2c5);

  border: none;
  padding: 10px 18px; /* ajustado a proporción theme-btn */
  border-radius: 12px; /* igual que theme-btn */
  cursor: pointer;

  font-size: 14px;  /* igual que theme-btn */
  font-weight: bold;
  color: white;

  display: flex;
  align-items: center;
  gap: 6px;

  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: all 0.25s ease-in-out;
}

.filter-btn:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, #bd2904, #14a2c5);
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

.filter-btn:active {
  transform: scale(0.95);
}

/* Botón aplicar */
.apply-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  border: none;
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  color: white;
  font-weight: bold;
  cursor: pointer;
  z-index: 3000;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.4);
}

/* overlay detrás del panel */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* oscuro semitransparente */
  z-index: 1500;               /* 👈 menor que el panel */
}

.filter-card {
  z-index: 2000;               /* 👈 siempre encima del overlay */
}

.apply-btn {
  z-index: 2001;               /* 👈 encima de todo */
}

  .theme-btn {
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 999;
    background: linear-gradient(135deg, #14c57b, #a704bd);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease-in-out;
  }

  .theme-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, #14c57b, #a704bd);
    box-shadow: 0 6px 12px rgba(0,0,0,0.35);
  }

  .theme-btn:active {
    transform: scale(0.95);
  }