/* Estilos personalizados para RotaryCal 101 */
:root {
  --color-primary: #f97316; /* Naranja láser */
  --color-primary-hover: #ea580c;
  --color-accent: #06b6d4; /* Cian haz de luz */
}

/* Scrollbar moderno */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Efecto de brillo láser */
.laser-glow {
  text-shadow: 0 0 12px rgba(249, 115, 22, 0.45);
}

.laser-border-glow {
  box-shadow: 0 0 15px -3px rgba(249, 115, 22, 0.25);
}

/* Transición suave para tema y tabs */
.tab-transition {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación de pulso sutil */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.92; transform: scale(0.99); }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s infinite ease-in-out;
}

/* Cuadrícula técnica de fondo (estilo mesa de corte panal de abeja / honeycomb) */
.bg-grid-pattern {
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

/* Badge de TikTok con gradiente oficial */
.tiktok-badge {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 35%, #fe0979 100%);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Toast flotante de notificación */
#toast-notification {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Pestañas principales estilo carpeta (Folder Tabs como en la imagen de referencia) */
.main-folder-tab {
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  user-select: none;
}

.main-folder-tab.tab-active {
  background-color: rgb(15 23 42 / 0.95); /* Slate 900 */
  border-top: 1px solid #334155;
  border-left: 1px solid #334155;
  border-right: 1px solid #334155;
  border-bottom: 1px solid transparent;
  color: #ffffff;
  z-index: 20;
  margin-bottom: -1px;
  box-shadow: 0 -4px 12px -2px rgba(0, 0, 0, 0.3);
}

.main-folder-tab.tab-inactive {
  background-color: rgba(2, 6, 23, 0.75); /* Slate 950 */
  border-top: 1px solid #1e293b;
  border-left: 1px solid #1e293b;
  border-right: 1px solid #1e293b;
  border-bottom: 1px solid #334155;
  color: #94a3b8; /* Slate 400 */
}

.main-folder-tab.tab-inactive:hover {
  background-color: rgba(15, 23, 42, 0.75);
  color: #f1f5f9;
}

/* Tabs del Tour Interactivo */
.tour-step-tab.tab-step-active {
  background-color: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.4);
  color: #fb923c;
  box-shadow: 0 0 12px -2px rgba(249, 115, 22, 0.2);
}

.tour-step-tab.tab-step-inactive {
  background-color: rgba(2, 6, 23, 0.6);
  border-color: #1e293b;
  color: #94a3b8;
}

.tour-step-tab.tab-step-inactive:hover {
  background-color: rgba(30, 41, 59, 0.5);
  color: #e2e8f0;
}

/* Resaltado del Recorrido Guiado en Pantalla (Spotlight Tour) */
.spotlight-active-element {
  position: relative !important;
  z-index: 65 !important;
  outline: 3px solid #f97316 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 35px rgba(249, 115, 22, 0.75), inset 0 0 15px rgba(249, 115, 22, 0.15) !important;
  border-radius: 1rem !important;
  transition: all 0.3s ease !important;
}

