/**
 * Estilos específicos para la página Programa
 */
.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 199, 37, 0.3);
  border-radius: 4px;
}

.card-glow-border {
  position: relative;
  background: #121212;
  border-radius: 0.75rem;
  z-index: 1;
}
.card-glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 0.8rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 199, 37, 0.6), rgba(255, 199, 37, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.time-badge-border {
  position: relative;
  z-index: 1;
}
.time-badge-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  padding: 1px;
  background: linear-gradient(to right, #ffa726, #ffc725);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.nav-week-active {
  background: linear-gradient(135deg, #ffa726 0%, #ffc725 100%);
  color: #0A0A0A;
  box-shadow: 0 0 20px rgba(255, 199, 37, 0.3);
}

.nav-week-btn {
  transition: all 0.3s;
}

.nav-week-btn:not(.nav-week-active) {
  background: #121212;
  border: 1px solid #1f2937;
  color: #9ca3af;
}

.nav-week-btn:not(.nav-week-active):hover {
  border-color: #4b5563;
  color: white;
}

.programa-event-card {
  padding: 1rem 1.25rem;
  background: #121212;
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.06);
  color: #e5e5e5;
  font-weight: 500;
  transition: all 0.2s;
}

.programa-event-card:hover {
  border-color: rgba(255, 199, 37, 0.3);
  background: rgba(255, 199, 37, 0.05);
}

.programa-almuerzo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Vista Por día / Vista completa toggle */
.programa-view-active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Vista completa grid */
.programa-grid-border { border-color: rgba(255, 255, 255, 0.08); }
.programa-activity-block {
  position: relative;
  transition: all 0.2s ease;
}
.programa-activity-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #ffa726, #ffc725);
  opacity: 0.8;
  border-radius: 2px 0 0 2px;
}
.programa-activity-block:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

/* ── Tarjeta premium del programa ── */
.evento-card-premium {
  position: relative;
  z-index: 1;
}
.evento-card-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 199, 37, 0) 0%,
    rgba(255, 199, 37, 0) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background 0.4s ease;
  z-index: 2;
}
.evento-card-premium:hover::before {
  background: linear-gradient(
    135deg,
    rgba(255, 167, 38, 0.5) 0%,
    rgba(255, 199, 37, 0.25) 100%
  );
}

/* Chip de ponente con hover */
.ponente-chip {
  padding: 4px 10px 4px 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}
.ponente-chip:hover {
  background: rgba(255, 167, 38, 0.08);
  border-color: rgba(255, 167, 38, 0.25);
}
