/* ==========================================================================
   CLÍNICA DERMA LUMIÈRE — ANIMACIONES Y TRANSICIONES
   ========================================================================== */

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.horizontal-tab-panel.is-active {
  animation: panelFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.horizontal-tab-btn:focus-visible {
  outline: 2px solid var(--color-accent, #E76F51);
  outline-offset: 2px;
}

/* Transiciones accesibles */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
