/* =========================
   BOTONES FECHA (SEMANA)
   ========================= */

#input-fecha-buttons{
  gap: 10px;
  padding: 10px;
}

/* Base button */
.sd-fecha-btn{
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(31,37,42,1) 0%, rgba(21,26,28,1) 100%);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);

  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  user-select: none;
  transition: transform .15s ease, box-shadow .18s ease, border-color .18s ease, filter .18s ease;
}

/* Text */
.sd-fecha-btn__dow{
  font-size: 12px;
  line-height: 12px;
  font-weight: 900;
  letter-spacing: 0.4px;
  opacity: 0.95;
}

.sd-fecha-btn__dm{
  margin-top: 2px;
  font-size: 10px;
  line-height: 10px;
  font-weight: 800;
  opacity: 0.80;
}

/* Hover */
.sd-fecha-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(0,231,255,0.45);
  box-shadow:
    0 10px 22px rgba(0,0,0,0.40),
    0 0 10px rgba(0,231,255,0.14),
    inset 0 0 10px rgba(0,231,255,0.06);
}

/* Active (pressed) */
.sd-fecha-btn:active{
  transform: translateY(0px) scale(0.98);
}

/* Remove ugly focus ring */
.sd-fecha-btn:focus,
.sd-fecha-btn:focus-visible{
  outline: none !important;
}

/* ✅ Selected */
.sd-fecha-btn--active{
  border: 2px solid rgba(0,231,255,0.95);
  background: linear-gradient(180deg, rgba(0,231,255,0.20) 0%, rgba(0,231,255,0.08) 100%);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.45),
    0 0 10px rgba(0,231,255,0.30),
    0 0 18px rgba(0,231,255,0.20),
    inset 0 0 12px rgba(0,231,255,0.12);
  animation: sd_fecha_glow 1.1s infinite linear alternate;
}

/* Make selected text pop */
.sd-fecha-btn--active .sd-fecha-btn__dow{
  opacity: 1;
}
.sd-fecha-btn--active .sd-fecha-btn__dm{
  opacity: 0.95;
}

/* Subtle neon pulse */
@keyframes sd_fecha_glow{
  from { filter: drop-shadow(0 0 0 rgba(0,231,255,0)); }
  to   { filter: drop-shadow(0 0 10px rgba(0,231,255,0.35)); }
}
