/* =========================================================
   Prueba visual selector de modulo superior - v2
   ========================================================= */

.v2-route-strip {
  position: relative;
  z-index: 80;
}

.v2-current {
  position: relative;
  z-index: 90;
  border: 1px solid rgba(255, 153, 0, 0.42) !important;
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.13), rgba(2, 11, 22, 0.82)) !important;
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.10),
    0 12px 34px rgba(255, 153, 0, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.v2-current:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 183, 77, 0.72) !important;
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.18),
    0 16px 42px rgba(255, 153, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.v2-current[open] {
  z-index: 999;
}

.v2-current-menu {
  position: absolute;
  z-index: 1000;
}

.v2-utility {
  position: relative;
  z-index: 10;
}

.v2-page-grid {
  position: relative;
  z-index: 20;
}

.v2-current summary {
  cursor: pointer;
  min-height: 58px;
}

.v2-current summary small {
  color: #ffb84d !important;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.v2-current summary strong {
  color: #ffffff !important;
  font-weight: 900;
}

.v2-current summary > span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: transparent !important;
  background: linear-gradient(135deg, #ffb84d, #ff8a00);
  box-shadow: 0 8px 22px rgba(255, 153, 0, 0.28);
  font-size: 0 !important;
  font-weight: 900;
  transition: transform .18s ease;
}

.v2-current summary > span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid #020b16;
  border-bottom: 2px solid #020b16;
  transform: rotate(45deg) translate(-1px, -2px);
  display: block;
}

.v2-current[open] summary > span {
  transform: rotate(180deg);
}

.v2-current::before {
  content: "NAVEGA EL CURSO";
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb84d, #ff8a00);
  color: #111827;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.25);
  z-index: 1001;
}

.v2-current::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  pointer-events: none;
  border: 1px solid rgba(255, 153, 0, 0.22);
  opacity: .65;
}

/* Boton marcar como leido en naranja */
button[data-mark-read] {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 153, 0, 0.50) !important;
  background:
    linear-gradient(135deg, rgba(255, 153, 0, 0.22), rgba(2, 11, 22, 0.74)) !important;
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.12),
    0 10px 26px rgba(255, 153, 0, 0.14);
  animation: bfcMarkReadOrangePulse 2.8s ease-in-out infinite;
}

button[data-mark-read] span:first-child {
  font-weight: 900;
}

button[data-mark-read] span:last-child {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff9900;
  color: #020b16;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(255, 153, 0, 0.42);
  animation: bfcReadTickBlink 1.25s ease-in-out infinite;
}

button[data-mark-read]::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.16),
    transparent
  );
  animation: bfcMarkReadSweep 3.4s ease-in-out infinite;
}

button[data-mark-read]:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 183, 77, 0.90) !important;
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.26),
    0 16px 34px rgba(255, 153, 0, 0.24);
}

@keyframes bfcMarkReadOrangePulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 153, 0, 0.12),
      0 10px 26px rgba(255, 153, 0, 0.14);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 153, 0, 0.30),
      0 14px 34px rgba(255, 153, 0, 0.26);
  }
}

@keyframes bfcReadTickBlink {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: .62;
  }
}

@keyframes bfcMarkReadSweep {
  0% {
    transform: translateX(-120%);
  }
  45%, 100% {
    transform: translateX(120%);
  }
}

@media (max-width: 720px) {
  .v2-current::before {
    right: 12px;
    top: -10px;
    font-size: 9px;
    padding: 3px 8px;
  }

  .v2-current summary {
    min-height: 54px;
  }
}