/* ==========================================================================
   EMTEL CURSOS - WIDGET CURSO-HORARIO v2.0 (CSS 100% ENCAPSULADO Y AISLADO)
   Prefijo exclusivo: .emtel-ch- (Cero colisiones con temas o plugins WP)
   ========================================================================== */

.emtel-ch-root {
  --emtel-ch-cyan: #009dd7;
  --emtel-ch-cyan-light: #38bdf8;
  --emtel-ch-cyan-dark: #0075a1;
  --emtel-ch-navy: #243a85;
  --emtel-ch-navy-dark: #1b2b63;
  --emtel-ch-dd-width: 205px;
  --emtel-ch-dd-bg1: #1b2b63;
  --emtel-ch-dd-bg2: #243a85;
  --emtel-ch-dd-sel-bg1: #009dd7;
  --emtel-ch-dd-sel-bg2: #243a85;
  --emtel-ch-dd-sel-border-color: #ef4444;
  --emtel-ch-dd-sel-border-w: 2px;
  --emtel-ch-upcoming-bg1: #059669;
  --emtel-ch-upcoming-bg2: #10b981;
  --emtel-ch-upcoming-bg3: #047857;
  --emtel-ch-upcoming-border: #6ee7b7;
  --emtel-ch-started-bg1: #ea580c;
  --emtel-ch-started-bg2: #f97316;
  --emtel-ch-started-bg3: #c2410c;
  --emtel-ch-started-border: #fdba74;
  --emtel-ch-soon-bg1: #0075a1;
  --emtel-ch-soon-bg2: #009dd7;
  --emtel-ch-soon-bg3: #243a85;
  --emtel-ch-soon-border: #7dd3fc;
  --emtel-ch-day-bg1: #009dd7;
  --emtel-ch-day-bg2: #0075a1;
  --emtel-ch-day-bg3: #243a85;
  --emtel-ch-slot-bar1: #009dd7;
  --emtel-ch-slot-bar2: #243a85;
  --emtel-ch-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --emtel-ch-font-mono: 'JetBrains Mono', monospace;
  --emtel-ch-font-display: 'Space Grotesk', sans-serif;

  position: relative;
  width: 100%;
  font-family: var(--emtel-ch-font-sans);
  box-sizing: border-box;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.emtel-ch-root *,
.emtel-ch-root *::before,
.emtel-ch-root *::after {
  box-sizing: border-box;
}

/* Reseteo defensivo contra temas de WordPress (Hello Elementor, Astra, etc.) */
.emtel-ch-root button,
.emtel-ch-root [role="button"],
.emtel-ch-root [role="option"] {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.25;
  margin: 0;
  text-decoration: none;
  outline: none !important;
  box-shadow: none;
}

.emtel-ch-root h2 {
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.2;
}

.emtel-ch-root svg {
  display: block;
  flex-shrink: 0;
}

/* ==========================================================================
   KEYFRAMES EXCLUSIVOS (CON PREFIJO emtelCh)
   ========================================================================== */
@keyframes emtelChBeamFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes emtelChDashPulse {
  0% { stroke-dashoffset: 96; }
  100% { stroke-dashoffset: 0; }
}

@keyframes emtelChHeaderIconFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 4px 10px rgba(0, 157, 215, 0.35));
  }
  50% {
    transform: translateY(-4px) rotate(-4deg) scale(1.06);
    filter: drop-shadow(0 8px 18px rgba(0, 157, 215, 0.6));
  }
}

@keyframes emtelChClockHandSweep {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(25deg); }
  100% { transform: rotate(0deg); }
}

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

@keyframes emtelChSpotlightPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.32), 0 0 0 0 rgba(16, 185, 129, 0.25);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.48), 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

@keyframes emtelChSoonPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 28px rgba(0, 157, 215, 0.35), 0 0 0 0 rgba(0, 157, 215, 0.25);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 34px rgba(0, 157, 215, 0.52), 0 0 0 6px rgba(0, 157, 215, 0);
  }
}

/* ==========================================================================
   SECCIONES Y TONALIDADES DEL BLOQUE
   ========================================================================== */
.emtel-ch-root .emtel-ch-section {
  position: relative;
  width: 100%;
  padding: 48px 0;
  overflow: visible;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-width: 4px;
  border-bottom-width: 4px;
}

.emtel-ch-root .emtel-ch-section.tone-claro-a {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 50%, #ffffff 100%);
  border-top-color: #243a85;
  border-bottom-color: #243a85;
}

.emtel-ch-root .emtel-ch-section.tone-claro-b {
  background: linear-gradient(90deg, #ffffff 0%, #eef7ff 50%, #ffffff 100%);
  border-top-color: #243a85;
  border-bottom-color: #243a85;
}

.emtel-ch-root .emtel-ch-section.tone-intermedio-a {
  background: linear-gradient(180deg, #cfe9fc 0%, #b8ddf8 50%, #d6ecfd 100%);
  border-top-color: #243a85;
  border-bottom-color: #243a85;
}

.emtel-ch-root .emtel-ch-section.tone-intermedio-b {
  background: linear-gradient(90deg, #c7e5fb 0%, #b3daf7 50%, #c7e5fb 100%);
  border-top-color: #243a85;
  border-bottom-color: #243a85;
}

.emtel-ch-root .emtel-ch-section.tone-azul-a {
  background: linear-gradient(180deg, #162454 0%, #243a85 50%, #162454 100%);
  border-top-color: #009dd7;
  border-bottom-color: #009dd7;
}

.emtel-ch-root .emtel-ch-section.tone-azul-b {
  background: linear-gradient(90deg, #162454 0%, #1b2b63 50%, #162454 100%);
  border-top-color: #009dd7;
  border-bottom-color: #009dd7;
}

.emtel-ch-root .emtel-ch-inner-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Máscara lateral para Reloj 3D Three.js */
.emtel-ch-root .emtel-ch-three-mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.65;
  -webkit-mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.72) 18%,
    rgba(0, 0, 0, 0.03) 30%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.03) 70%,
    rgba(0, 0, 0, 0.72) 82%,
    rgba(0, 0, 0, 0.85) 100%
  );
  mask-image: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.72) 18%,
    rgba(0, 0, 0, 0.03) 30%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.03) 70%,
    rgba(0, 0, 0, 0.72) 82%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.emtel-ch-root .emtel-ch-three-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   ENCABEZADO, ICONO ANIMADO Y TÍTULO
   ========================================================================== */
.emtel-ch-root .emtel-ch-header-wrap {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 32px auto;
  padding: 0 12px;
}

.emtel-ch-root .emtel-ch-header-h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--emtel-ch-font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.emtel-ch-root .emtel-ch-header-icon-el {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: emtelChHeaderIconFloat 3.2s ease-in-out infinite;
  color: var(--emtel-ch-cyan);
}

.emtel-ch-root .emtel-ch-header-icon-el svg {
  width: 100%;
  height: 100%;
}

.emtel-ch-root .emtel-ch-clock-hand {
  transform-origin: 16px 15px;
  animation: emtelChClockHandSweep 2.4s ease-in-out infinite;
}

.emtel-ch-root .emtel-ch-header-title-text.is-light {
  background: linear-gradient(90deg, #1b2b63 0%, #243a85 35%, #009dd7 70%, #1b2b63 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: emtelChTitleShimmer 5s ease-in-out infinite;
}

.emtel-ch-root .emtel-ch-header-title-text.is-dark {
  background: linear-gradient(90deg, #ffffff 0%, #bae6fd 45%, #38bdf8 75%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: emtelChTitleShimmer 5s ease-in-out infinite;
}

.emtel-ch-root .emtel-ch-header-line-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.emtel-ch-root .emtel-ch-svg-flow {
  stroke-dasharray: 7 6;
  animation: emtelChDashPulse 3s linear infinite;
}

/* ==========================================================================
   SELECTOR DESPLEGABLE DE GRUPO Y LISTA ABIERTA (BLINDADA SIN BORDE ROJO)
   ========================================================================== */
.emtel-ch-root .emtel-ch-dd-wrap {
  position: relative;
  z-index: 40;
  width: auto;
  min-width: var(--emtel-ch-dd-width, 220px);
  max-width: min(380px, 100%);
  flex: 0 1 auto;
}

.emtel-ch-root .emtel-ch-dd-trigger {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.28s ease;
  background: linear-gradient(90deg, var(--emtel-ch-dd-bg1, #1b2b63) 0%, var(--emtel-ch-dd-bg2, #243a85) 100%) !important;
  border: 2px solid #009dd7 !important;
  box-shadow: 0 8px 20px rgba(36, 58, 133, 0.24) !important;
  color: #ffffff !important;
  border-radius: 16px;
  overflow: hidden;
}

.emtel-ch-root .emtel-ch-dd-trigger.is-dark-tone {
  background: linear-gradient(90deg, #091332 0%, #162860 100%) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4) !important;
}

.emtel-ch-root .emtel-ch-dd-trigger:hover {
  filter: brightness(1.08);
}

.emtel-ch-root .emtel-ch-dd-left-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.emtel-ch-root .emtel-ch-dd-left-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #009dd7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emtel-ch-root .emtel-ch-dd-left-badge.is-diamond {
  transform: rotate(45deg);
}

.emtel-ch-root .emtel-ch-dd-left-badge.is-diamond > span {
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.emtel-ch-root .emtel-ch-dd-trigger-label {
  font-family: var(--emtel-ch-font-display);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  letter-spacing: -0.01em;
}

.emtel-ch-root .emtel-ch-dd-right-arrow {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: rgba(0, 157, 215, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.emtel-ch-root .emtel-ch-dd-right-arrow.is-diamond {
  transform: rotate(45deg);
}

.emtel-ch-root .emtel-ch-dd-right-arrow.is-diamond svg {
  transform: rotate(-45deg);
}

/* Menú desplegable abierto */
.emtel-ch-root .emtel-ch-dd-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  top: calc(100% + 8px);
  background-color: #ffffff !important;
  color: #1b2b63 !important;
  border: 2px solid #009dd7 !important;
  border-radius: 16px;
  padding: 6px;
  z-index: 60;
  box-shadow: 0 18px 40px rgba(15, 29, 71, 0.32), 0 4px 12px rgba(0, 157, 215, 0.22) !important;
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.emtel-ch-root .emtel-ch-dd-menu.is-hidden {
  display: none !important;
}

/* Ítems del menú desplegable: CERO BORDE en los no seleccionados, BORDE SOLO EN EL SELECCIONADO */
.emtel-ch-root .emtel-ch-dd-item {
  width: 100%;
  padding: 8px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}

.emtel-ch-root .emtel-ch-dd-item:not(.is-selected) {
  background: #ffffff !important;
  color: #1b2b63 !important;
  font-weight: 700;
  border: 2px solid transparent !important;
  box-shadow: none !important;
}

.emtel-ch-root .emtel-ch-dd-item:not(.is-selected):hover {
  background: #f0f9ff !important;
  border: 2px solid transparent !important;
}

.emtel-ch-root .emtel-ch-dd-item.is-selected {
  background: linear-gradient(90deg, var(--emtel-ch-dd-sel-bg1, #009dd7) 0%, var(--emtel-ch-dd-sel-bg2, #243a85) 100%) !important;
  color: #ffffff !important;
  font-weight: 800;
  border: var(--emtel-ch-dd-sel-border-w, 2px) solid var(--emtel-ch-dd-sel-border-color, #38bdf8) !important;
  box-shadow: 0 4px 12px rgba(0, 157, 215, 0.25) !important;
}

.emtel-ch-root .emtel-ch-dd-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emtel-ch-root .emtel-ch-dd-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emtel-ch-root .emtel-ch-dd-item:not(.is-selected) .emtel-ch-dd-item-icon {
  background-color: #e0f2fe;
  color: #0075a1;
}

.emtel-ch-root .emtel-ch-dd-item.is-selected .emtel-ch-dd-item-icon {
  background-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.emtel-ch-root .emtel-ch-dd-item-label {
  font-family: var(--emtel-ch-font-display);
  font-size: 15px;
  line-height: 1.2;
  border: none !important;
}

/* ==========================================================================
   INSIGNIAS / BOTONES DE ESTADO (VERDE PRÓXIMO, NARANJA INICIADO, MUY PRONTO)
   ========================================================================== */
.emtel-ch-root .emtel-ch-badge-base {
  height: 48px;
  min-width: 205px;
  width: auto;
  max-width: 280px;
  flex-shrink: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.emtel-ch-root .emtel-ch-badge-base.is-clickable {
  cursor: pointer;
}

.emtel-ch-root .emtel-ch-badge-base.is-clickable:active {
  transform: scale(0.96);
}

/* Botón Verde: Próximo Inicio */
.emtel-ch-root .emtel-ch-badge-upcoming {
  background: linear-gradient(135deg, var(--emtel-ch-upcoming-bg1, #059669) 0%, var(--emtel-ch-upcoming-bg2, #10b981) 55%, var(--emtel-ch-upcoming-bg3, #047857) 100%) !important;
  color: #ffffff !important;
  border: 2px solid var(--emtel-ch-upcoming-border, #6ee7b7) !important;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25) !important;
}

/* Botón Naranja: Ya Inició */
.emtel-ch-root .emtel-ch-badge-started {
  background: linear-gradient(135deg, var(--emtel-ch-started-bg1, #ea580c) 0%, var(--emtel-ch-started-bg2, #f97316) 55%, var(--emtel-ch-started-bg3, #c2410c) 100%) !important;
  color: #ffffff !important;
  border: 2px solid var(--emtel-ch-started-border, #fdba74) !important;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.28) !important;
}

/* Caso 3: Solo Fecha Resaltada */
.emtel-ch-root .emtel-ch-badge-dateonly {
  min-height: 54px;
  width: auto;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--emtel-ch-upcoming-bg1, #059669) 0%, var(--emtel-ch-upcoming-bg2, #10b981) 50%, var(--emtel-ch-upcoming-bg3, #047857) 100%) !important;
  color: #ffffff !important;
  border: 2px solid var(--emtel-ch-upcoming-border, #a7f3d0) !important;
  animation: emtelChSpotlightPulse 2.6s ease-in-out infinite;
}

/* Caso 4: Muy Pronto */
.emtel-ch-root .emtel-ch-badge-soon {
  min-height: 54px;
  width: auto;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--emtel-ch-soon-bg1, #0075a1) 0%, var(--emtel-ch-soon-bg2, #009dd7) 50%, var(--emtel-ch-soon-bg3, #243a85) 100%) !important;
  color: #ffffff !important;
  border: 2px solid var(--emtel-ch-soon-border, #7dd3fc) !important;
  animation: emtelChSoonPulse 2.6s ease-in-out infinite;
}

.emtel-ch-root .emtel-ch-badge-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emtel-ch-root .emtel-ch-badge-icon-box.is-lg {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.emtel-ch-root .emtel-ch-badge-text-col {
  text-align: left;
  line-height: 1.15;
  white-space: nowrap;
}

.emtel-ch-root .emtel-ch-badge-top-text {
  display: block;
  font-family: var(--emtel-ch-font-mono);
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.95);
}

.emtel-ch-root .emtel-ch-badge-main-text {
  display: block;
  font-family: var(--emtel-ch-font-mono);
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.emtel-ch-root .emtel-ch-badge-dateonly .emtel-ch-badge-main-text,
.emtel-ch-root .emtel-ch-badge-soon .emtel-ch-badge-main-text {
  font-size: 18px;
}

/* ==========================================================================
   TURNOS HORARIOS ESCULTÓRICOS
   ========================================================================== */
.emtel-ch-root .emtel-ch-slots-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
}

.emtel-ch-root .emtel-ch-slot-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.emtel-ch-root .emtel-ch-slot-clock-box {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.emtel-ch-root .emtel-ch-slot-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px dashed rgba(0, 157, 215, 0.55);
  transition: transform 0.5s ease;
}

.emtel-ch-root .emtel-ch-slot-item:hover .emtel-ch-slot-ring {
  transform: rotate(45deg);
}

.emtel-ch-root .emtel-ch-slot-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #009dd7;
}

.emtel-ch-root .emtel-ch-slot-icon.is-dark {
  color: #38bdf8;
}

.emtel-ch-root .emtel-ch-slot-icon.is-mid {
  color: #0075a1;
}

.emtel-ch-root .emtel-ch-slot-sub {
  display: block;
  font-family: var(--emtel-ch-font-mono);
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0075a1;
}

.emtel-ch-root .emtel-ch-slot-sub.is-dark {
  color: #38bdf8;
}

.emtel-ch-root .emtel-ch-slot-sub.is-mid {
  color: #1b2b63;
}

.emtel-ch-root .emtel-ch-slot-time {
  display: block;
  font-family: var(--emtel-ch-font-mono);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
  color: #1b2b63;
  white-space: nowrap;
  line-height: 1.2;
}

.emtel-ch-root .emtel-ch-slot-time.is-dark {
  color: #ffffff;
}

.emtel-ch-root .emtel-ch-slot-time.is-mid {
  color: #0f1d47;
}

.emtel-ch-root .emtel-ch-slot-bar {
  margin-top: 4px;
  height: 2px;
  width: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--emtel-ch-slot-bar1, #009dd7) 0%, var(--emtel-ch-slot-bar2, #243a85) 60%, transparent 100%);
}

/* ==========================================================================
   TARJETAS DE DÍAS: DIAMANTES Y CHEVRONS
   ========================================================================== */
.emtel-ch-root .emtel-ch-days-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.emtel-ch-root .emtel-ch-day-diamond {
  border-radius: 16px;
  transform: rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  background: linear-gradient(135deg, var(--emtel-ch-day-bg1, #009dd7) 0%, var(--emtel-ch-day-bg2, #0075a1) 50%, var(--emtel-ch-day-bg3, #243a85) 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  box-shadow:
    0 8px 20px -4px rgba(27, 43, 99, 0.26),
    0 2px 6px -1px rgba(0, 157, 215, 0.22),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.emtel-ch-root .emtel-ch-day-diamond:hover {
  transform: rotate(45deg) scale(1.06);
}

.emtel-ch-root .emtel-ch-day-diamond .emtel-ch-day-label {
  transform: rotate(-45deg);
  font-family: var(--emtel-ch-font-display);
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  padding: 0 4px;
}

.emtel-ch-root .emtel-ch-chevron-shape {
  clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
  border-radius: 0 !important;
}

@media (max-width: 640px) {
  .emtel-ch-root .emtel-ch-chevron-shape {
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  }
}

.emtel-ch-root .emtel-ch-day-chevron {
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  background: linear-gradient(90deg, var(--emtel-ch-day-bg1, #009dd7) 0%, var(--emtel-ch-day-bg2, #0075a1) 50%, var(--emtel-ch-day-bg3, #243a85) 100%) !important;
  color: #ffffff !important;
  border-bottom: 3px solid #38bdf8 !important;
  filter: drop-shadow(0 5px 10px rgba(27, 43, 99, 0.18));
}

.emtel-ch-root .emtel-ch-day-chevron:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 14px rgba(0, 157, 215, 0.3));
}

.emtel-ch-root .emtel-ch-day-chevron .emtel-ch-day-label {
  font-family: var(--emtel-ch-font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  white-space: nowrap;
}

/* ==========================================================================
   MAQUETACIÓN Y DISPOSICIÓN INTERNA DE LAS 4 PROPUESTAS
   ========================================================================== */
.emtel-ch-root .emtel-ch-top-controls-row {
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.emtel-ch-root .emtel-ch-top-controls-row.is-spaced {
  gap: 14px;
}

.emtel-ch-root .emtel-ch-top-bridge {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #009dd7, #10b981);
  position: relative;
}

.emtel-ch-root .emtel-ch-top-bridge-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  background-color: #009dd7;
  transform: translate(-50%, -50%) rotate(45deg);
}

.emtel-ch-root .emtel-ch-bar-flex {
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.emtel-ch-root .emtel-ch-bar-flex.is-centered {
  justify-content: center;
}

.emtel-ch-root .emtel-ch-beam-track {
  position: absolute;
  left: 56px;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background-color: rgba(0, 157, 215, 0.35);
  border-radius: 9999px;
  overflow: hidden;
  pointer-events: none;
}

.emtel-ch-root .emtel-ch-beam-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #243a85, #009dd7, #243a85);
  background-size: 200% 100%;
  animation: emtelChBeamFlow 3s linear infinite;
}

.emtel-ch-root .emtel-ch-wings-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.emtel-ch-root .emtel-ch-wing-left {
  grid-column: span 6 / span 6;
  position: relative;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  border-left: 4px solid #009dd7;
  padding-left: 28px;
}

.emtel-ch-root .emtel-ch-wing-right {
  grid-column: span 6 / span 6;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .emtel-ch-root .emtel-ch-bar-flex {
    flex-direction: column;
    justify-content: center;
  }
  .emtel-ch-root .emtel-ch-wings-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .emtel-ch-root .emtel-ch-wing-left {
    grid-column: span 1;
    align-items: center;
    border-left: none;
    padding-left: 0;
  }
  .emtel-ch-root .emtel-ch-wing-right {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .emtel-ch-root .emtel-ch-top-controls-row {
    flex-direction: column;
    gap: 14px;
  }
  .emtel-ch-root .emtel-ch-top-bridge {
    width: 2px;
    height: 16px;
  }
  .emtel-ch-root .emtel-ch-dd-wrap,
  .emtel-ch-root .emtel-ch-badge-base {
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto;
  }
  .emtel-ch-root .emtel-ch-slots-wrap {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================================================
   TOAST NOTIFICATION ENCAPSULADA
   ========================================================================== */
.emtel-ch-root .emtel-ch-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  background-color: #0b1638;
  border: 2px solid #009dd7;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}

.emtel-ch-root .emtel-ch-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.emtel-ch-root .emtel-ch-toast-icon {
  width: 16px;
  height: 16px;
  color: #38bdf8;
  flex-shrink: 0;
}
