
body.page-shell {
  background-color: #eef4f5;
  background-image:
    radial-gradient(at 70% 0, rgba(0, 184, 204, 0.09) 0%, transparent 60%),
    radial-gradient(at 10% 85%, rgba(0, 149, 168, 0.06) 0%, transparent 55%);
  color: #0c1c20;
  overflow-x: hidden;
  padding-top: 70px;
}
.page-main {
  min-height: calc(100vh - 70px);
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
  padding: 52px 0 56px;
}
.page-hero-section {
  padding: 20px 0 28px;
}
.page-hero-card, .page-card, .page-meta-item {
  box-shadow: 0 18px 48px rgba(0, 0, 0, .20);
}
.page-hero-card {
  background: linear-gradient(180deg, rgba(11, 28, 33, .94), rgba(15, 42, 49, .88));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 28px;
  padding: 38px;
}
.page-eyebrow {
  color: #0095a8;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .82rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.page-eyebrow:before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}
.page-hero-card h1 {
  color: #fff;
  margin: 18px 0 12px;
  font-size: clamp(2.1rem, 4.6vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.page-hero-card p, .page-card p, .page-card li, .page-meta-item span {
  color: rgba(255, 255, 255, .70);
  line-height: 1.72;
  text-align: justify;
}
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}
.page-btn:hover { transform: translateY(-1px); }
.page-btn:disabled,
.page-btn[disabled] {
  cursor: not-allowed;
  opacity: .48;
  box-shadow: none;
  filter: saturate(.55);
  transform: none;
}
.page-btn:disabled:hover,
.page-btn[disabled]:hover {
  transform: none;
}
.page-btn-primary {
  background: linear-gradient(135deg, #00b8cc, #17818d);
  box-shadow: 0 8px 24px rgba(0, 184, 204, .24);
  color: #fff;
}
.page-btn-secondary {
  background: rgba(255, 255, 255, .03);
  border-color: rgba(0, 230, 255, .16);
  color: #fff;
}
.page-section { padding: 24px 0; }
.page-section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.page-section-head h2 { color: #0c1c20; margin: 0; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.04em; }
.page-section-kicker { color: #0095a8; text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; }
.page-grid-2, .page-grid-3, .page-meta-grid { display: grid; gap: 18px; }
.page-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-card {
  background: linear-gradient(180deg, rgba(10, 30, 35, .92), rgba(12, 24, 29, .88));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 24px;
  padding: 26px;
}
.page-card h3 { color: #fff; margin-top: 0; margin-bottom: 10px; }
.page-card ul { margin: 0; padding-left: 18px; }
.page-card a, .page-hero-card a, .page-meta-item a {
  color: #8cefff;
  text-decoration: none;
}
.page-card a:hover, .page-hero-card a:hover, .page-meta-item a:hover {
  color: #fff;
  text-decoration: underline;
}
.page-meta-item {
  background: linear-gradient(180deg, rgba(10, 30, 35, .92), rgba(12, 24, 29, .88));
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 20px;
  padding: 18px;
}
.page-meta-item strong {
  display: block;
  color: #0095a8;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .8rem;
  margin-bottom: 8px;
}
.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.page-tab {
  appearance: none;
  background: rgba(4, 16, 21, .92);
  border: 1px solid rgba(140, 239, 255, .34);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 18px;
  transition: .2s ease;
}
.page-tab:hover {
  background: rgba(9, 34, 41, .98);
  border-color: rgba(140, 239, 255, .55);
  transform: translateY(-1px);
}
.page-tab.is-active {
  background: linear-gradient(135deg, #00b8cc, #17818d);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 12px 30px rgba(0, 184, 204, .28);
}
.page-tab-panel {
  display: none;
}
.page-tab-panel.is-active {
  display: block;
  padding-bottom: 24px;
}
.page-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-table {
  width: 100%;
  border-collapse: collapse;
}
.page-table th,
.page-table td {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.page-table thead th {
  color: #8cefff;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-table tbody tr:last-child td {
  border-bottom: 0;
}
.workshop-overview {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.workshop-fee-panel {
  background: linear-gradient(180deg, rgba(14, 38, 45, 0.96), rgba(7, 18, 22, 0.98));
  border: 1px solid rgba(0, 184, 204, 0.28);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.workshop-fee-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 184, 204, 0.16) 0%, rgba(0, 184, 204, 0) 70%);
  pointer-events: none;
  z-index: 0;
}
.workshop-fee-panel h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 8px 0 12px;
}
.workshop-fee-panel p {
  color: rgba(255, 255, 255, .78);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.7;
  margin: 0;
}
.workshop-fee-panel strong {
  color: #fff;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 800;
  white-space: nowrap;
}
.workshop-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.workshop-kpi {
  background: linear-gradient(180deg, rgba(18, 44, 51, .96), rgba(14, 35, 41, .92));
  border: 1px solid rgba(140, 239, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
  border-radius: 18px;
  color: rgba(255, 255, 255, .92);
  padding: 16px;
}
.workshop-kpi strong {
  display: block;
  color: #8cefff;
  font-size: .8rem;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.workshop-stack {
  display: grid;
  gap: 22px;
}
.workshop-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}
.workshop-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.workshop-logo-box {
  background: rgba(255, 255, 255, .96);
  border-radius: 20px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.workshop-logo-box img {
  max-width: 100%;
  max-height: 84px;
  object-fit: contain;
}
.workshop-logo-box--text {
  background: linear-gradient(135deg, rgba(0, 184, 204, .2), rgba(14, 35, 41, .96));
  border: 1px solid rgba(140, 239, 255, .3);
  color: #8cefff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.workshop-meta-list {
  display: grid;
  gap: 10px;
}
.workshop-register-slot {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.workshop-register-btn,
.workshop-payment-btn {
  width: 100%;
  justify-content: center;
}
.workshop-payment-btn {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  border-color: rgba(216, 180, 254, .72);
  color: #fff;
  box-shadow: 0 12px 28px rgba(124, 58, 237, .28);
}
.workshop-payment-btn:hover,
.workshop-payment-btn:focus {
  background: linear-gradient(135deg, #6d28d9, #9333ea);
  border-color: rgba(233, 213, 255, .9);
}
.workshop-meta-item {
  background: linear-gradient(180deg, rgba(18, 44, 51, .96), rgba(14, 35, 41, .92));
  border: 1px solid rgba(140, 239, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
  border-radius: 16px;
  color: rgba(255, 255, 255, .92);
  padding: 12px 14px;
}
.workshop-meta-item strong {
  color: #8cefff;
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.workshop-title {
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.workshop-summary {
  margin-bottom: 16px;
  overflow-wrap: anywhere;
}
.workshop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.workshop-badge {
  background: rgba(0, 184, 204, .12);
  border: 1px solid rgba(140, 239, 255, .16);
  border-radius: 999px;
  color: #8cefff;
  font-size: .8rem;
  font-weight: 700;
  padding: 8px 12px;
}
.workshop-section-title {
  color: #fff;
  font-size: 1rem;
  margin: 18px 0 10px;
}
.workshop-speakers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.page-shell[data-page="talleres"] .workshop-speakers {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
}
.workshop-speaker {
  background: linear-gradient(180deg, rgba(17, 40, 47, .98), rgba(12, 30, 35, .94));
  border: 1px solid rgba(140, 239, 255, .14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  border-radius: 18px;
  overflow: hidden;
}
.workshop-speaker-photo {
  aspect-ratio: 4 / 4.6;
  background: linear-gradient(180deg, rgba(0, 184, 204, .30), rgba(16, 43, 50, .96));
  display: flex;
  align-items: center;
  justify-content: center;
}
.workshop-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-shell[data-page="conferencias"] .workshop-speaker-photo img[alt="Raúl Bautista Arroyo"] {
  object-position: center 22%;
}
.workshop-speaker-photo--placeholder span {
  display: none;
}
.workshop-speaker-photo--placeholder {
  position: relative;
  overflow: hidden;
}
.workshop-speaker-photo--placeholder::before {
  content: '';
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
}
.workshop-speaker-photo--placeholder::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 88px solid transparent;
  border-right: 88px solid transparent;
  border-bottom: 118px solid rgba(255, 255, 255, .88);
  position: absolute;
  left: 50%;
  top: 104px;
  transform: translateX(-50%);
}
.workshop-speaker-body {
  color: rgba(255, 255, 255, .88);
  padding: 14px;
}
.workshop-speaker-body h4 {
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.workshop-speaker-body p {
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.workshop-software {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(18, 44, 51, .78), rgba(14, 35, 41, .58));
  border: 1px solid rgba(140, 239, 255, .12);
  border-radius: 16px;
  color: rgba(255, 255, 255, .88);
  padding: 16px 18px;
}
.workshop-software p {
  margin: 0 0 10px;
}
.workshop-software p:last-child,
.workshop-software ul:last-child {
  margin-bottom: 0;
}
.workshop-software ul {
  margin: 0;
  padding-left: 20px;
}
.workshop-software li {
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
  margin-bottom: 6px;
}
.workshop-software li:last-child {
  margin-bottom: 0;
}
/* Requisitos anidados: cada máquina virtual lleva su propia lista con sangría. */
.workshop-software li > ul {
  margin: 8px 0 4px;
  padding-left: 22px;
  list-style: circle;
}
.workshop-software li > ul > li {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .8);
  font-size: .94em;
}
.workshop-software li > ul > li strong {
  color: #a9f3ff;
}
.workshop-software strong {
  color: #8cefff;
}
.page-shell[data-page="conferencias"] .workshop-card {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px 26px;
}
.page-shell[data-page="conferencias"] .workshop-side {
  display: grid;
  gap: 16px;
  align-self: start;
}
.page-shell[data-page="conferencias"] .workshop-logo-box {
  min-height: 170px;
  padding: 22px;
}
.page-shell[data-page="conferencias"] .workshop-logo-box img {
  max-height: 110px;
}
.page-shell[data-page="conferencias"] .workshop-meta-list {
  gap: 12px;
}
.page-shell[data-page="conferencias"] .workshop-card > div:last-child {
  display: grid;
  gap: 14px;
  align-content: start;
}
.page-shell[data-page="conferencias"] .workshop-title {
  margin-bottom: 0;
}
.page-shell[data-page="conferencias"] .workshop-summary,
.page-shell[data-page="conferencias"] .workshop-badges,
.page-shell[data-page="conferencias"] .workshop-section-title {
  margin: 0;
}
.page-shell[data-page="conferencias"] .workshop-speakers {
  grid-template-columns: 1fr;
  gap: 0;
}
.page-shell[data-page="conferencias"] .workshop-speaker {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: stretch;
}
.page-shell[data-page="conferencias"] .workshop-speaker-photo {
  aspect-ratio: auto;
  min-height: 220px;
}
.page-shell[data-page="conferencias"] .workshop-speaker-body {
  padding: 18px;
  display: grid;
  align-content: center;
}
.program-day-tabs {
  margin-bottom: 18px;
}
.program-day-head {
  margin-bottom: 16px;
}
.program-day-head h3 {
  color: #0c1c20;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  letter-spacing: -.02em;
  margin: 4px 0 0;
}
.program-day-head .program-day-subtitle {
  color: #0095a8;
}
.program-tracks {
  display: grid;
  gap: 18px;
  align-items: start;
}
.program-track-note {
  margin: -8px 0 0;
  font-size: .9rem;
}
/* ---------- Programa: dia con actividades paralelas, una linea por actividad ----------
   Cada fila de la cuadricula son 5 minutos (--row-h), asi que un bloque ocupa
   exactamente el espacio de su horario. Las lineas se desplazan en horizontal en pantallas angostas. */
.program-schedule-card {
  padding: 20px;
}
.program-schedule-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.program-schedule {
  --row-h: 12px;
  --ruler-w: 52px;
  display: grid;
  column-gap: 8px;
  row-gap: 10px;
}
.program-lane--main { --lane-color: #8cefff; }
.program-lane--articles { --lane-color: #3ddc97; }
.program-lane--posters { --lane-color: #c3a6ff; }
.program-lane--ludic { --lane-color: #ffd65c; }
.program-lane--ctf { --lane-color: #ff8a7a; }
.program-schedule-corner {
  align-self: end;
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.program-lane-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  border-top: 3px solid var(--lane-color);
  background: rgba(255, 255, 255, .04);
}
.program-lane-head strong {
  color: #fff;
  font-size: .92rem;
  line-height: 1.25;
}
.program-lane-head span {
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  line-height: 1.35;
}
.program-ruler,
.program-lane {
  display: grid;
  grid-template-rows: repeat(var(--rows), var(--row-h));
}
/* Lineas guia cada hora, alineadas en todas las columnas. */
.program-lane {
  border-radius: 12px;
  background-color: rgba(255, 255, 255, .015);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(140, 239, 255, .14) 0,
    rgba(140, 239, 255, .14) 1px,
    transparent 1px,
    transparent calc(var(--row-h) * 12)
  );
}
.program-ruler-hour {
  color: #8cefff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}
/* La hora queda fija al desplazar las lineas en horizontal (solo ocurre en pantallas angostas). */
.program-schedule-corner,
.program-ruler {
  position: sticky;
  left: 0;
  z-index: 2;
}
.program-block {
  grid-column: 1;
  min-height: 0;
  margin: 1px 3px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(140, 239, 255, .16);
  border-left: 3px solid var(--lane-color);
  background: linear-gradient(180deg, rgba(18, 44, 51, .96), rgba(14, 35, 41, .92));
}
.program-block-time {
  color: var(--lane-color);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.program-block h4 {
  margin: 0;
  color: #fff;
  font-size: .86rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}
.page-card .program-block p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.35;
  text-align: left;
}
.program-block--short {
  padding-top: 5px;
  padding-bottom: 5px;
  gap: 1px;
}
.program-block--short h4 {
  -webkit-line-clamp: 1;
}
.page-card .program-block--short p {
  font-size: .76rem;
  line-height: 1.25;
}
.program-block--workshops {
  background: linear-gradient(180deg, rgba(0, 184, 204, .2), rgba(14, 35, 41, .96));
  border-color: rgba(140, 239, 255, .34);
}
.program-block--workshops h4 {
  color: #8cefff;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.program-block--ludic {
  background: linear-gradient(160deg, rgba(255, 199, 64, .22), rgba(20, 57, 52, .96));
  border-color: rgba(255, 214, 92, .6);
}
.program-block--ludic h4 {
  color: #ffd65c;
}
.program-block .page-btn {
  margin-top: auto;
  padding: 8px 12px;
  font-size: .82rem;
  white-space: normal;
  text-align: center;
}
.program-schedule-hint {
  display: none;
}
.program-day-card {
  display: grid;
  gap: 18px;
}
.program-day-card h3 {
  margin-bottom: 0;
}
.program-day-subtitle {
  color: #8cefff;
  font-size: .86rem;
  letter-spacing: .12em;
  margin: 0;
  text-transform: uppercase;
}
.program-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  padding-left: 22px;
}
.program-timeline:before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 184, 204, .95), rgba(140, 239, 255, .28));
}
.program-timeline-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
}
.program-timeline-item:before {
  content: '';
  position: absolute;
  left: -18px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b8cc, #8cefff);
  box-shadow: 0 0 0 4px rgba(0, 184, 204, .16);
}
.program-timeline-time {
  color: #8cefff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.program-timeline-content {
  background: linear-gradient(180deg, rgba(18, 44, 51, .96), rgba(14, 35, 41, .92));
  border: 1px solid rgba(140, 239, 255, .14);
  border-radius: 18px;
  padding: 14px 16px;
}
.program-timeline-item--workshops .program-timeline-content {
  background: linear-gradient(180deg, rgba(0, 184, 204, .18), rgba(14, 35, 41, .96));
  border-color: rgba(140, 239, 255, .34);
  box-shadow: 0 12px 24px rgba(0, 184, 204, .12);
}
.program-timeline-item--workshops .program-timeline-content h4 {
  color: #8cefff;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.program-timeline-item--workshops .program-timeline-time {
  color: #fff;
}
.program-timeline-item--workshops:before {
  background: linear-gradient(135deg, #8cefff, #00b8cc);
  box-shadow: 0 0 0 4px rgba(140, 239, 255, .18);
}
.program-timeline-item--ludic .program-timeline-content {
  background: linear-gradient(135deg, rgba(255, 199, 64, .24), rgba(20, 57, 52, .96));
  border-color: rgba(255, 214, 92, .72);
  box-shadow: 0 16px 30px rgba(255, 199, 64, .18);
}
.program-timeline-item--ludic .program-timeline-content h4 {
  color: #ffd65c;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.program-timeline-item--ludic .program-timeline-time {
  color: #ffd65c;
}
.program-timeline-item--ludic .page-btn {
  margin-top: 12px;
}
.program-timeline-item--ludic:before {
  background: linear-gradient(135deg, #ffd65c, #3ddc97);
  box-shadow: 0 0 0 4px rgba(255, 214, 92, .2);
}
.program-timeline-content h4 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1rem;
}
.program-timeline-content p {
  margin: 0;
}
.program-timeline-content ul {
  margin: 0;
  padding-left: 18px;
}
.page-shell--modal-open {
  overflow: hidden;
}
.registration-modal[hidden] {
  display: none;
}
.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
}
.registration-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 18, .74);
  backdrop-filter: blur(6px);
}
.registration-modal__dialog {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: linear-gradient(180deg, rgba(15, 34, 40, .99), rgba(10, 25, 30, .98));
  border: 1px solid rgba(140, 239, 255, .18);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
  padding: 28px;
}
.registration-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}
.registration-modal__eyebrow {
  color: #8cefff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.registration-modal__head h2 {
  color: #fff;
  margin: 0 0 10px;
}
.registration-modal__head p {
  margin: 0;
}
/* El texto descriptivo no debe heredar el color de la página (quedaba oscuro sobre el modal oscuro). */
.registration-modal__head p:not(.registration-modal__eyebrow) {
  color: rgba(255, 255, 255, .74);
  line-height: 1.55;
}
.registration-form {
  margin-top: 24px;
}
.registration-form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.registration-field {
  display: grid;
  gap: 8px;
}
.registration-field--full {
  grid-column: 1 / -1;
}
.registration-field span {
  color: #fff;
  font-weight: 700;
}
.registration-field input,
.registration-field select,
.registration-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(140, 239, 255, .12);
  border-radius: 14px;
  color: #0a2228;
  font: inherit;
  padding: 12px 14px;
}
.registration-field input[type="file"] {
  padding: 12px;
}
.registration-field textarea {
  min-height: 110px;
  resize: vertical;
}
.registration-field small {
  color: rgba(255, 255, 255, .72);
  line-height: 1.45;
}
.registration-form__note {
  margin: 18px 0 0;
  color: #8cefff;
  font-weight: 700;
}
.registration-form__status {
  min-height: 24px;
  margin-top: 14px;
  font-weight: 700;
}
.registration-form__status.is-success {
  color: #83f3bd;
}
.registration-form__status.is-error {
  color: #ffb2b2;
}
.registration-payment-alert {
  grid-column: 1 / -1;
  background: rgba(255, 160, 0, .13);
  border: 2px solid rgba(255, 180, 0, .65);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.registration-payment-alert strong {
  color: #ffcc44;
  font-size: 1rem;
  display: block;
}
.registration-payment-alert p {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: .9rem;
  line-height: 1.5;
}
.registration-label-with-help {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.registration-tooltip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1.5px solid #8cefff;
  background: transparent;
  color: #8cefff;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}
.registration-tooltip-bubble {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #0c1e26;
  border: 1px solid rgba(140, 239, 255, .32);
  border-radius: 10px;
  color: rgba(255, 255, 255, .93);
  font-size: .82rem;
  font-weight: 400;
  padding: 11px 14px;
  width: 270px;
  white-space: normal;
  text-align: left;
  z-index: 20;
  pointer-events: none;
  line-height: 1.45;
  box-shadow: 0 8px 32px rgba(0,0,0,.45);
}
.registration-tooltip-bubble {
  pointer-events: auto;
}
.registration-tooltip-bubble a {
  color: #8cefff;
  text-decoration: underline;
}
.registration-tooltip-btn:hover .registration-tooltip-bubble,
.registration-tooltip-btn:focus .registration-tooltip-bubble,
.registration-tooltip-btn.is-open .registration-tooltip-bubble {
  display: block;
}
.registration-tooltip-bubble ol {
  margin: 6px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.registration-tooltip-bubble ol li {
  line-height: 1.4;
}
.ctf-register-card {
  border-left: 4px solid #00b8cc;
}
.ctf-register-card .ctf-badge-grid {
  margin-top: 18px;
}
.ctf-register-btn {
  margin-top: 4px;
}
.ctf-reg-block {
  border: 1px solid rgba(140, 239, 255, .18);
  border-radius: 18px;
  padding: 18px 20px 20px;
  margin: 0 0 18px;
}
.ctf-reg-block legend {
  color: #8cefff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 0 8px;
}
.ctf-reg-optional {
  color: rgba(255, 255, 255, .55);
  font-size: .74rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ctf-reg-hint {
  color: rgba(255, 255, 255, .72);
  margin: 0 0 16px;
}
@media (max-width: 720px) {
  .ctf-reg-block {
    padding: 14px 14px 16px;
  }
}
.registration-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}
.payment-modal__dialog {
  width: min(1040px, calc(100vw - 32px));
}
.payment-guide {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
  gap: 22px;
  margin-top: 24px;
  align-items: start;
}
.payment-guide__steps {
  display: grid;
  gap: 14px;
}
.payment-guide__step {
  background: linear-gradient(180deg, rgba(18, 44, 51, .96), rgba(14, 35, 41, .92));
  border: 1px solid rgba(140, 239, 255, .16);
  border-radius: 16px;
  padding: 16px;
}
.payment-guide__step strong {
  color: #8cefff;
  display: block;
  font-size: .96rem;
  margin-bottom: 8px;
}
.payment-guide__step p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
  margin: 0 0 10px;
}
.payment-guide__step p:last-child {
  margin-bottom: 0;
}
.payment-guide__step span {
  color: rgba(255, 255, 255, .66);
  font-weight: 700;
}
.payment-service-box {
  background: rgba(0, 184, 204, .12);
  border: 1px solid rgba(140, 239, 255, .22);
  border-radius: 14px;
  margin: 12px 0;
  padding: 14px;
}
.payment-service-box span {
  color: #8cefff;
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.payment-service-box strong {
  color: #fff;
  font-size: .98rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.payment-guide__warning {
  color: #ffdf86 !important;
  font-weight: 700;
}
.payment-guide__image {
  margin: 0;
}
.payment-guide__image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(140, 239, 255, .18);
  border-radius: 16px;
  padding: 10px;
}
.payment-guide__image figcaption {
  color: rgba(255, 255, 255, .62);
  font-size: .86rem;
  line-height: 1.45;
  margin-top: 10px;
}
@media (width<=1180px) {
  .page-shell[data-page="conferencias"] .workshop-card {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px 24px;
  }
  .page-shell[data-page="conferencias"] .workshop-side {
    display: grid;
    gap: 14px;
  }
  .page-shell[data-page="conferencias"] .workshop-card > div:last-child {
    display: block;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker {
    grid-template-columns: 140px minmax(0, 1fr);
  }
  .page-shell[data-page="conferencias"] .workshop-section-title {
    margin-top: 4px;
  }
}
@media (width<=980px) {
  .page-main {
    width: min(100% - 28px, 1200px);
    padding: 40px 0 46px;
  }
  .page-section-head {
    align-items: start;
    flex-direction: column;
    margin-bottom: 16px;
  }
  .page-grid-2, .page-grid-3, .page-meta-grid { grid-template-columns: 1fr; }
  .workshop-overview,
  .workshop-card,
  .workshop-speakers,
  .payment-guide,
  .program-timeline-item { grid-template-columns: 1fr; }
  .workshop-kpis { grid-template-columns: 1fr; }
  .program-timeline { padding-left: 18px; }
  .page-shell[data-page="conferencias"] .workshop-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-shell[data-page="conferencias"] .workshop-meta-item {
    padding: 11px 12px;
  }
  .page-shell[data-page="conferencias"] .workshop-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .page-shell[data-page="conferencias"] .workshop-logo-box {
    min-height: 120px;
    padding: 18px;
  }
  .page-shell[data-page="conferencias"] .workshop-logo-box img {
    max-height: 76px;
  }
  .page-shell[data-page="conferencias"] .workshop-card > div:last-child {
    display: grid;
    gap: 12px;
    min-width: 0;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-photo {
    aspect-ratio: 16 / 10;
    min-height: 180px;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker {
    grid-template-columns: 1fr;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-body {
    padding: 14px;
  }
  .page-shell[data-page="conferencias"] .workshop-title {
    font-size: clamp(1.3rem, 5.8vw, 1.8rem);
  }
}
@media (width>980px) {
  .program-tracks--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
  }
}
@media (width<=700px) {
  .page-main {
    width: min(100% - 20px, 1200px);
    padding: 32px 0 38px;
  }
  .page-hero-section { padding-top: 8px; }
  .page-actions { flex-direction: column; }
  .page-btn { width: 100%; }
  .page-tabs { flex-direction: column; }
  .page-tab { width: 100%; }
  .page-tab-panel.is-active { padding-bottom: 18px; }
  .workshop-card { gap: 18px; }
  .workshop-logo-box {
    min-height: 110px;
    padding: 16px;
  }
  .workshop-logo-box img {
    max-height: 68px;
  }
  .page-shell[data-page="conferencias"] .workshop-card {
    padding: 20px;
    gap: 16px;
  }
  .page-shell[data-page="conferencias"] .workshop-side {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
  }
  .page-shell[data-page="conferencias"] .workshop-logo-box {
    border-radius: 18px;
    min-height: 112px;
    padding: 14px 16px;
  }
  .page-shell[data-page="conferencias"] .workshop-logo-box img {
    max-height: 58px;
  }
  .page-shell[data-page="conferencias"] .workshop-meta-list {
    gap: 8px;
  }
  .page-shell[data-page="conferencias"] .workshop-meta-item {
    border-radius: 12px;
    padding: 10px 12px;
  }
  .page-shell[data-page="conferencias"] .workshop-meta-item strong {
    font-size: .72rem;
    margin-bottom: 4px;
  }
  .page-shell[data-page="conferencias"] .workshop-title {
    font-size: clamp(1.2rem, 7vw, 1.55rem);
    line-height: 1.14;
  }
  .page-shell[data-page="conferencias"] .workshop-summary {
    font-size: .96rem;
    line-height: 1.62;
  }
  .page-shell[data-page="conferencias"] .workshop-badges {
    gap: 8px;
  }
  .page-shell[data-page="conferencias"] .workshop-badge {
    font-size: .76rem;
    padding: 7px 10px;
  }
  .page-shell[data-page="conferencias"] .workshop-section-title {
    margin-top: 2px;
  }
  .page-shell[data-page="conferencias"] .workshop-speakers {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-photo {
    aspect-ratio: 16 / 10;
    min-height: 180px;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-body {
    padding: 12px;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-body h4 {
    font-size: .96rem;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-body p {
    font-size: .88rem;
    line-height: 1.55;
  }
  .page-table th,
  .page-table td {
    padding: 10px 12px;
  }
  .registration-modal__dialog {
    width: min(920px, calc(100vw - 18px));
    margin: 10px auto;
    padding: 20px;
  }
  .registration-form__grid {
    grid-template-columns: 1fr;
  }
  .registration-form__actions {
    flex-direction: column-reverse;
  }
  .registration-form__actions .page-btn {
    width: 100%;
    justify-content: center;
  }
}
@media (width<=640px) {
  .page-hero-card, .page-card, .page-meta-item { padding: 22px; border-radius: 24px; }
}
@media (width<=480px) {
  body.page-shell { padding-top: 70px; }
  .page-main { width: min(100% - 24px, 1200px); }
  .page-hero-card h1 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .navbar__logo {
    gap: 10px;
    min-width: 0;
  }
  .navbar__logo-img {
    height: 38px;
  }
  .navbar__logo-text {
    display: flex;
    min-width: 0;
  }
  .navbar__logo-name {
    display: none;
  }
  .navbar__logo-sub {
    color: #fff;
    letter-spacing: .08em;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
  }
  .page-card h3 {
    font-size: 1.15rem;
  }
  .page-shell[data-page="conferencias"] .page-card {
    border-radius: 20px;
    padding: 18px;
  }
  .page-shell[data-page="conferencias"] .workshop-title {
    font-size: clamp(1.1rem, 7.2vw, 1.38rem);
  }
  .page-shell[data-page="conferencias"] .workshop-logo-box {
    min-height: 104px;
    padding: 12px 14px;
  }
  .page-shell[data-page="conferencias"] .workshop-logo-box img {
    max-height: 52px;
  }
  .page-shell[data-page="conferencias"] .workshop-side {
    grid-template-columns: 1fr;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker {
    grid-template-columns: 1fr;
  }
  .page-shell[data-page="conferencias"] .workshop-speaker-photo {
    min-height: 160px;
  }
}

/* --- High-End Aesthetic & Interactive Enhancements --- */

/* Styled Scrollbars */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #eef4f5;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 149, 168, 0.35);
  border-radius: 999px;
  border: 2px solid #eef4f5;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 149, 168, 0.6);
}

/* Card Glows & Fluid Hover Effects */
.page-card, 
.page-meta-item, 
.workshop-card,
.workshop-speaker,
.workshop-kpi,
.page-hero-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease !important;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0, 184, 204, 0.18) !important;
  border-color: rgba(0, 184, 204, 0.32) !important;
}

.page-meta-item:hover,
.workshop-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 184, 204, 0.12) !important;
  border-color: rgba(0, 184, 204, 0.25) !important;
}

.workshop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(0, 184, 204, 0.18) !important;
  border-color: rgba(0, 184, 204, 0.28) !important;
}

.workshop-speaker:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 184, 204, 0.16) !important;
  border-color: rgba(0, 184, 204, 0.3) !important;
}

/* Enhancing Primary & Secondary Buttons */
.page-btn-primary {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.2s ease !important;
}
.page-btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 184, 204, 0.42) !important;
  filter: brightness(1.08);
}
.page-btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.page-btn-secondary {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.2s ease, 
              background-color 0.2s ease !important;
}
.page-btn-secondary:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(0, 230, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.page-btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}

/* Workshop payment button enhancement */
.workshop-payment-btn {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 0.2s ease !important;
}
.workshop-payment-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.45) !important;
}

/* Glassmorphism details on Hero Cards */
.page-hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 28, 33, 0.96), rgba(15, 42, 49, 0.92)) !important;
}
.page-hero-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(0, 184, 204, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Accent Glow for Text Kicker & Eyebrows */
.page-section-kicker, .page-eyebrow {
  text-shadow: 0 0 12px rgba(0, 184, 204, 0.2);
  font-weight: 700;
}

/* Input Fields & Textareas Glow (Form details) */
.registration-field input, 
.registration-field select, 
.registration-field textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.registration-field input:focus, 
.registration-field select:focus, 
.registration-field textarea:focus {
  border-color: #00b8cc !important;
  box-shadow: 0 0 0 3px rgba(0, 184, 204, 0.18) !important;
  outline: none;
}

/* Call for Papers Page Enhancements */
.cfp-price-card, 
.cfp-publication-card, 
.cfp-feature-panel {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease !important;
}

.cfp-price-card:hover, 
.cfp-publication-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 184, 204, 0.15) !important;
  border-color: rgba(0, 184, 204, 0.28) !important;
}

.cfp-feature-panel:hover {
  box-shadow: 0 28px 72px rgba(0, 184, 204, 0.24) !important;
  border-color: rgba(140, 239, 255, 0.42) !important;
}

/* Enlace al aviso de privacidad en la barra inferior del pie de pagina.
   Tambien vive en assets/index-COypW9pb.css para la portada, que no carga pages.css. */
.mega-footer-bottom .mega-footer-bottom-row {
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-privacy-link {
  color: #8cefff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.footer-privacy-link:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-privacy-link:focus-visible {
  outline: 2px solid #8cefff;
  outline-offset: 3px;
  border-radius: 4px;
}
@media (width<=700px) {
  .program-schedule-card {
    padding: 14px;
  }
  .program-schedule {
    --row-h: 15px;
    --ruler-w: 44px;
  }
  .program-schedule-corner,
  .program-ruler {
    background: #0c1f24;
  }
  .page-card .program-schedule-hint {
    display: block;
    margin: 0 0 10px;
    font-size: .82rem;
    text-align: left;
  }
}

/* ---------- Pago de artículos y carteles (Llamado a Artículos) ---------- */
.paper-payment-intro {
  color: #2d4a50;
  line-height: 1.65;
  margin: -6px 0 18px;
  max-width: 72ch;
}
.paper-payment-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.paper-payment-card--article { border-top: 3px solid #8cefff; }
.paper-payment-card--poster { border-top: 3px solid #c3a6ff; }
.paper-payment-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.paper-payment-card__head strong {
  color: #fff;
  font-size: 1.25rem;
}
.paper-payment-card__price {
  color: #8cefff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.paper-payment-card--poster .paper-payment-card__price { color: #c3a6ff; }
.page-card .paper-payment-card__note {
  margin: -8px 0 0;
  font-size: .9rem;
}
.paper-payment-card .payment-service-box {
  margin: 0;
}
.paper-payment-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.registration-field input[readonly] {
  background: rgba(255, 255, 255, .72);
  cursor: default;
  font-weight: 700;
}

/* Fecha límite de inscripción, dentro del panel de costo de talleres. */
.workshop-fee-panel .workshop-fee-deadline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(140, 239, 255, .22);
  color: #ffd65c;
  font-size: clamp(.98rem, 1.6vw, 1.1rem);
}
.workshop-fee-panel .workshop-fee-deadline strong {
  color: #ffd65c;
  font-size: inherit;
  white-space: normal;
}

.registration-form__note--deadline {
  color: #ffd65c;
  margin-top: 6px;
}

.paper-payment-deadline {
  color: #a8641a;
  font-weight: 700;
  margin: -8px 0 18px;
}

/* ---------- Lista pública de equipos del CTF ---------- */
.page-card .ctf-teams-status {
  margin: 0;
  color: #ff8c8c;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
}
.ctf-teams-list {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  counter-reset: ctf-team;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.page-card .ctf-teams-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 85, 85, .45);
  border-left: 4px solid #ff5555;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(74, 12, 16, .96), rgba(20, 8, 10, .97));
  box-shadow: 0 16px 34px rgba(255, 40, 40, .16), inset 0 1px 0 rgba(255, 255, 255, .05);
  color: #fff;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  /* Aparecen uno tras otro, de abajo hacia arriba. */
  animation: ctf-team-in .5s cubic-bezier(.2, .7, .3, 1) backwards;
  animation-delay: calc(var(--ctf-team-index, 0) * 70ms);
}
/* Resplandor rojo detrás de cada recuadro. */
.ctf-teams-item::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 0% 0%, rgba(255, 85, 85, .22), transparent 60%);
  pointer-events: none;
}
.ctf-teams-item::before {
  counter-increment: ctf-team;
  content: counter(ctf-team, decimal-leading-zero);
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5555, #7d0d12);
  box-shadow: 0 0 0 3px rgba(255, 85, 85, .16);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.ctf-teams-item:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 85, 85, .85);
  box-shadow: 0 22px 44px rgba(255, 40, 40, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
}
/* El equipo recién registrado late unos segundos para que se note. */
.ctf-teams-item.is-new {
  animation: ctf-team-in .5s cubic-bezier(.2, .7, .3, 1) backwards,
             ctf-team-new 1.4s ease-out 3;
}
@keyframes ctf-team-in {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes ctf-team-new {
  0%, 100% { border-color: rgba(255, 85, 85, .45); box-shadow: 0 16px 34px rgba(255, 40, 40, .16); }
  50% { border-color: #ff8c8c; box-shadow: 0 0 0 4px rgba(255, 85, 85, .28), 0 22px 46px rgba(255, 40, 40, .42); }
}
@media (prefers-reduced-motion: reduce) {
  .ctf-teams-item,
  .ctf-teams-item.is-new {
    animation: none;
    transition: none;
  }
}

/* Forma de pago del registro a talleres */
.registration-method {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.registration-method legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
}
.registration-method__opt {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(140, 239, 255, .22);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.registration-method__opt:has(input:checked) {
  border-color: #8cefff;
  background: rgba(140, 239, 255, .10);
}
.registration-method__opt input { margin-top: 4px; accent-color: #8cefff; flex: none; }
.registration-method__opt span { display: grid; gap: 3px; }
.registration-method__opt strong { color: #fff; }
.registration-method__opt small { color: rgba(255, 255, 255, .72); line-height: 1.45; }
.registration-voucher-info {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border: 1px solid rgba(140, 239, 255, .35);
  border-radius: 14px;
  background: rgba(140, 239, 255, .08);
  color: rgba(255, 255, 255, .92);
  font-size: .92rem;
  line-height: 1.55;
}
.registration-voucher-info[hidden], [data-method-only][hidden], .registration-payment-alert[hidden] { display: none; }
.registration-voucher-info > strong:first-child { display: block; color: #8cefff; margin-bottom: 6px; font-size: 1rem; }
.registration-voucher-info ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.registration-voucher-info li strong { color: #fff; }

/* Requisito indispensable del CTF: en rojo para que resalte */
.ctf-list-custom li.ctf-must {
  padding: 12px 14px 12px 34px;
  border: 2px solid #ff4d4d;
  border-radius: 12px;
  background: rgba(255, 77, 77, .12);
  color: #ffb3b3;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, .08);
}
.ctf-list-custom li.ctf-must::before {
  content: "\26A0";
  left: 11px;
  top: 12px;
  color: #ff4d4d;
  font-size: 1rem;
  line-height: 1.5;
}
.ctf-list-custom li.ctf-must strong { color: #ff5c5c; }
.ctf-list-custom li.ctf-must strong strong,
.ctf-list-custom li.ctf-must > strong + strong { color: #ff8080; text-decoration: underline; text-underline-offset: 3px; }
.ctf-badge.ctf-badge--must {
  background: #ff4d4d;
  border: 1px solid #ff4d4d;
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 77, 77, .45);
}

/* Entrega del voucher: en rojo y resaltada para que no se pase por alto */
.registration-voucher-info li.voucher-deliver {
  list-style: none;
  margin: 8px 0 0 -20px;
  padding: 14px 16px;
  border: 2px solid #ff4d4d;
  border-radius: 12px;
  background: rgba(255, 77, 77, .14);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, .08);
  color: #ffd0d0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}
.registration-voucher-info li.voucher-deliver strong { color: #ff6b6b; font-weight: 800; }
.registration-voucher-info li.voucher-deliver strong:first-of-type { text-decoration: underline; text-underline-offset: 3px; }
.voucher-deliver__tag {
  display: inline-block;
  margin: 0 8px 4px 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: #ff4d4d;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Taller sin cupo: anuncio rojo en lugar de los botones */
.workshop-full-banner {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 14px 16px;
  border: 2px solid #ff4d4d;
  border-radius: 14px;
  background: rgba(255, 77, 77, .16);
  box-shadow: 0 0 0 4px rgba(255, 77, 77, .08), 0 8px 24px rgba(255, 77, 77, .18);
  text-align: center;
}
.workshop-full-banner strong {
  color: #fff;
  background: #ff4d4d;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .1em;
}
.workshop-full-banner span { color: #ffb3b3; font-size: .86rem; line-height: 1.45; }

/* Presentación de artículos (jueves 1 de octubre): bloques del programa y detalle */
.program-block--session {
  padding: 8px 10px 6px;
  gap: 6px;
}
.program-block--session h4 { -webkit-line-clamp: 1; color: #3ddc97; letter-spacing: .03em; }
.program-talks {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.program-talk {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 3px 8px;
  border-radius: 8px;
  background: rgba(61, 220, 151, .08);
  border-left: 2px solid rgba(61, 220, 151, .6);
}
.program-talk-meta { color: #3ddc97; font-size: .68rem; font-weight: 700; letter-spacing: .05em; display: flex; gap: 8px; align-items: center; }
.program-talk-meta b { background: #0c1c20; color: #fff; border-radius: 4px; padding: 0 5px; font-size: .64rem; }
.program-talk-title {
  color: rgba(255, 255, 255, .92);
  font-size: .72rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.program-block--posters-session {
  background: linear-gradient(160deg, rgba(195, 166, 255, .16), rgba(14, 35, 41, .96));
  border-color: rgba(195, 166, 255, .45);
}
.program-block--posters-session h4 { color: #c3a6ff; }

.program-articles-detail { margin-top: 18px; padding: 22px; display: grid; gap: 16px; }
.program-articles-head h3 { margin: 4px 0 10px; }
.program-articles-facts { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; border-radius: 12px; background: rgba(140, 239, 255, .07); border: 1px solid rgba(140, 239, 255, .16); }
.program-articles-facts li { color: rgba(255, 255, 255, .88); font-size: .9rem; }
.program-articles-facts strong { color: #8cefff; }
.program-articles-block header {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px;
  padding: 12px 16px; border-radius: 12px; background: rgba(61, 220, 151, .14); border: 1px solid rgba(61, 220, 151, .4);
}
.program-articles-block header h4 { margin: 0; color: #fff; font-size: 1rem; }
.program-articles-block header span { color: #3ddc97; font-weight: 800; letter-spacing: .04em; }
.program-articles-block ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.program-articles-block li {
  display: grid; grid-template-columns: 110px 56px minmax(0, 1fr); gap: 4px 14px; align-items: start;
  padding: 12px 14px; border-radius: 12px; background: rgba(14, 35, 41, .8); border: 1px solid rgba(140, 239, 255, .12); border-left: 3px solid #3ddc97;
}
.program-articles-block li div { display: grid; gap: 4px; min-width: 0; }
.program-articles-block li strong { color: #fff; line-height: 1.35; }
.program-articles-block li div span { color: rgba(255, 255, 255, .72); font-size: .86rem; line-height: 1.45; }
.program-articles-time { color: #3ddc97; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.program-articles-id { justify-self: start; background: #0c1c20; color: #fff; border-radius: 6px; padding: 2px 8px; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.program-articles-break {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 14px; align-items: center;
  padding: 14px 16px; border-radius: 12px; background: rgba(195, 166, 255, .10); border: 1px dashed rgba(195, 166, 255, .55);
}
.program-articles-break .program-articles-time { color: #c3a6ff; }
.program-articles-break div { display: grid; gap: 2px; }
.program-articles-break strong { color: #fff; }
.program-articles-break div span { color: rgba(255, 255, 255, .75); font-size: .88rem; }
.program-articles-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .8); font-size: .88rem; line-height: 1.5; text-align: left; }
.program-articles-note strong { color: #8cefff; }
@media (max-width: 720px) {
  .program-articles-detail { padding: 16px; }
  .program-articles-block li { grid-template-columns: minmax(0, 1fr) auto; }
  .program-articles-block li > div { grid-column: 1 / -1; }
  .program-articles-break { grid-template-columns: minmax(0, 1fr); }
}
.program-talk-title, .program-articles-block li strong, .program-articles-block li div span, .program-articles-break div span { text-align: left; hyphens: none; }
.program-block--session h4 { font-size: .86rem; -webkit-line-clamp: 2; }
.program-talk { justify-content: center; padding: 2px 8px; gap: 0; }
.program-talk-title { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; -webkit-line-clamp: unset; }
.program-block--session h4 { font-size: .78rem; letter-spacing: 0; -webkit-line-clamp: 1; }
.program-block--session { padding-bottom: 8px; }
.program-block--session { gap: 3px; padding: 6px 10px 6px; }
.program-talks { gap: 3px; }
.program-talk { padding: 0 8px; }
.program-talk-meta { font-size: .64rem; line-height: 1.2; }
.program-talk-title { font-size: .68rem; line-height: 1.2; }

.registration-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 4px; padding: 10px 12px; border-radius: 10px; background: rgba(140, 239, 255, .08); border: 1px solid rgba(140, 239, 255, .25); font-size: .92rem; line-height: 1.4; text-align: left; cursor: pointer; }
.registration-check input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.registration-check span { color: #fff; }

/* Cuenta del alumno: registro, verificación, login y panel de mis registros */
.account-section { max-width: 760px; margin: 0 auto; }
.account-section .page-section-kicker { display: inline-flex; align-items: center; gap: 8px; }
.account-card { padding: 30px; margin-bottom: 18px; text-align: left; position: relative; }
.account-card h3 { margin: 0 0 12px; }
.account-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.account-card__head h3 { margin: 0; }
.account-card__intro { color: rgba(255, 255, 255, .82); line-height: 1.5; margin: 0 0 16px; }
.account-card__loading { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .78); }
.account-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(140, 239, 255, .25); border-top-color: #8cefff; flex: none; animation: account-spin .8s linear infinite; }
@keyframes account-spin { to { transform: rotate(360deg); } }
.account-card__note { display: flex; align-items: flex-start; gap: 10px; color: rgba(255, 255, 255, .74); font-size: .86rem; line-height: 1.5; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(0, 184, 204, .08); border: 1px solid rgba(0, 184, 204, .18); }
.account-card__note--muted { background: transparent; border-color: transparent; padding: 0; margin: 2px 0 14px; }
.account-card__note svg { width: 18px; height: 18px; flex: none; color: #8cefff; margin-top: 1px; }
.account-card__error { color: #ff8080; font-weight: 700; margin: 0 0 8px; }
.account-card__switch { margin: 18px 0 0; color: rgba(255, 255, 255, .78); }
.account-card__switch a { color: #8cefff; font-weight: 700; }

/* Tarjeta de acceso (registro / verificación / login): franja e insignia con ícono */
.account-card--auth { overflow: hidden; padding-top: 28px; }
.account-card--auth::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, #3ddc97, #8cefff, #3ddc97);
  background-size: 200% 100%; animation: account-scan 6s linear infinite;
}
@keyframes account-scan { to { background-position: -200% 0; } }
.account-card__badge {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(140, 239, 255, .18), rgba(61, 220, 151, .1));
  border: 1px solid rgba(140, 239, 255, .35); color: #8cefff; margin-bottom: 18px;
  box-shadow: 0 0 26px rgba(140, 239, 255, .18);
}
.account-card__badge svg { width: 26px; height: 26px; }

/* Íconos dentro de los campos del formulario */
.account-input-wrap { position: relative; display: flex; align-items: center; }
.account-input-wrap .account-field-icon { position: absolute; left: 14px; width: 18px; height: 18px; color: #0095a8; pointer-events: none; }
.account-input-wrap input { padding-left: 42px !important; }

.account-profile-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.account-profile-facts strong { color: #8cefff; }

/* Tarjeta de perfil: avatar + chips */
.account-profile-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.account-avatar {
  width: 60px; height: 60px; border-radius: 18px; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #3ddc97, #00b8cc); color: #04181c; font-weight: 800; font-size: 1.2rem; letter-spacing: .02em;
  box-shadow: 0 10px 26px rgba(61, 220, 151, .25);
}
.account-profile-body { min-width: 0; }
.account-profile-body h3 { margin: 0 0 10px; }
.account-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.account-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .82rem;
  color: rgba(255, 255, 255, .85); background: rgba(140, 239, 255, .08); border: 1px solid rgba(140, 239, 255, .2);
}
.account-chip svg { width: 14px; height: 14px; flex: none; }
.account-chip--ok { color: #3ddc97; background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .35); font-weight: 700; }

/* Barra de progreso del pase de lista */
.account-progress-label { color: #3ddc97; font-weight: 800; font-size: .86rem; }
.account-progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 4px 0 16px; }
.account-progress__fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #00b8cc, #3ddc97); transition: width .4s ease; }

.account-registrations-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.account-registrations-list li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .3); }
.account-registrations-list li > svg { width: 20px; height: 20px; flex: none; color: #3ddc97; }
.account-registrations-text { display: grid; gap: 2px; min-width: 0; }
.account-registrations-type { font-weight: 800; color: #3ddc97; font-size: .8rem; letter-spacing: .03em; }
.account-registrations-label { color: rgba(255, 255, 255, .85); }
.account-conference-day { margin-top: 16px; }
.account-conference-day:first-of-type { margin-top: 0; }
.account-conference-day h4 { display: flex; align-items: center; gap: 8px; color: #8cefff; margin: 0 0 8px; font-size: .92rem; letter-spacing: .03em; }
.account-conference-day h4 svg { width: 16px; height: 16px; }
.account-conference-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.account-conference-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgba(14, 35, 41, .8); border: 1px solid rgba(140, 239, 255, .14); border-left: 3px solid rgba(140, 239, 255, .5); transition: border-color .2s ease, background .2s ease; }
.account-conference-item.is-attended { border-left-color: #3ddc97; background: rgba(61, 220, 151, .08); }
.account-conference-time { color: #8cefff; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.account-conference-info { display: grid; gap: 2px; min-width: 0; }
.account-conference-info strong { color: #fff; line-height: 1.35; }
.account-conference-info span { color: rgba(255, 255, 255, .68); font-size: .84rem; }
.account-conference-done { display: inline-flex; align-items: center; gap: 5px; color: #3ddc97; font-weight: 800; font-size: .82rem; white-space: nowrap; }
.account-conference-done svg { width: 15px; height: 15px; }
/* Registro por presencia (jueves y viernes): contador de minutos dentro del auditorio. */
.account-conference-item.is-tracking { border-left-color: #00b8cc; background: rgba(0, 184, 204, .08); }
.account-conference-item.is-incomplete { border-left-color: #ffb454; background: rgba(255, 180, 84, .06); }
.account-conference-incomplete { grid-column: 1 / -1; color: #ffb454; font-weight: 700; font-size: .82rem; line-height: 1.4; }
.account-conference-item.is-review { border-left-color: #8cefff; background: rgba(140, 239, 255, .08); }
.account-conference-item.is-review .account-conference-incomplete { color: #8cefff; }
.account-conference-warning { grid-column: 1 / -1; color: #ffb454; font-size: .78rem; line-height: 1.4; }
.account-presence { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(6, 22, 27, .7); border: 1px solid rgba(140, 239, 255, .22); }
.account-presence__ring { --pct: 0; flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%; background: conic-gradient(#3ddc97 calc(var(--pct) * 1%), rgba(255, 255, 255, .1) 0); display: grid; place-items: center; box-shadow: 0 0 22px rgba(61, 220, 151, .25); transition: background .6s ease; }
.account-presence__ring span { width: 62px; height: 62px; border-radius: 50%; background: #0e2329; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.account-presence__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.account-presence__remaining { color: #fff; font-size: 1rem; font-weight: 800; }
.account-presence__accumulated { color: #8cefff; font-size: .82rem; font-weight: 700; }
.account-presence__status { font-size: .8rem; font-weight: 700; line-height: 1.35; }
.account-presence__status--ok { color: #3ddc97; }
.account-presence__status--far, .account-presence__status--nolocation { color: #ffb454; }
.account-presence__status--checking { color: rgba(255, 255, 255, .6); }
.account-presence__body small { color: rgba(255, 255, 255, .6); font-size: .74rem; line-height: 1.4; }
.account-card__note--presence { border: 1px solid rgba(255, 180, 84, .35); background: rgba(255, 180, 84, .06); border-radius: 12px; padding: 10px 12px; }

.account-logout-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(180deg, rgba(11, 28, 33, .95), rgba(15, 42, 49, .9));
  border: 1px solid rgba(0, 184, 204, .35); color: #fff;
}
.account-logout-btn:hover { border-color: #8cefff; }
.account-logout-btn svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .account-profile-card { flex-direction: column; align-items: flex-start; }
  .account-conference-item { grid-template-columns: minmax(0, 1fr); }
}

/* Botón de "Registro del evento" flotante en la home (fuera del bundle de React) */
.home-event-register-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: .96rem;
  letter-spacing: .02em;
  color: #04181c;
  text-decoration: none;
  background: linear-gradient(135deg, #8cefff, #3ddc97);
  box-shadow: 0 10px 30px rgba(61, 220, 151, .35), 0 0 0 0 rgba(140, 239, 255, .55);
  animation: home-event-register-aura 2.4s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.home-event-register-btn:hover { transform: translateY(-2px) scale(1.03); }
.home-event-register-btn__dot { width: 9px; height: 9px; border-radius: 50%; background: #04181c; flex: none; }
@keyframes home-event-register-aura {
  0%, 100% { box-shadow: 0 10px 30px rgba(61, 220, 151, .35), 0 0 0 0 rgba(140, 239, 255, .5); }
  50% { box-shadow: 0 10px 34px rgba(61, 220, 151, .45), 0 0 0 14px rgba(140, 239, 255, 0); }
}
@media (max-width: 640px) {
  .home-event-register-btn { right: 14px; bottom: 14px; padding: 12px 18px; font-size: .88rem; }
}

/* Código de verificación (captcha) del inicio de sesión de "Mi registro" */
.captcha-caja { display: flex; align-items: center; gap: 10px; margin: 6px 0 8px; }
.captcha-img { height: 52px; width: 150px; border-radius: 12px; display: block; cursor: pointer; border: 1px solid rgba(140, 239, 255, .3); background: #f6f7f9; box-shadow: 0 6px 18px rgba(0, 184, 204, .12); transition: transform .15s ease, box-shadow .15s ease; }
.captcha-img:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0, 184, 204, .2); }
.captcha-recargar { border: 1px solid rgba(140, 239, 255, .3); background: rgba(140, 239, 255, .08); color: #8cefff; font-size: 1.15rem; line-height: 1; border-radius: 10px; padding: 8px 12px; cursor: pointer; flex: none; transition: border-color .15s ease, transform .15s ease; }
.captcha-recargar:hover { border-color: #8cefff; transform: rotate(45deg); }

/* Botones de las tarjetas de cuenta: ancho completo, un poco más de presencia */
.account-card--auth .registration-form__actions { margin-top: 4px; }
.account-card--auth .registration-form__actions .page-btn-primary {
  width: 100%; padding: 14px 18px; font-size: 1rem; letter-spacing: .01em;
}

/* Ventana flotante de "cuenta creada" en el registro del alumno: mensaje breve y centrado */
.account-success-dialog { width: min(460px, calc(100vw - 32px)); text-align: center; padding: 36px 28px; }
.account-success-dialog .account-card__badge { margin: 0 auto 18px; }
.account-success-dialog .registration-modal__eyebrow { justify-content: center; display: flex; }
.account-success-dialog h2 { margin: 0 0 12px; color: #fff; }
.account-success-dialog p:not(.registration-modal__eyebrow) { color: rgba(255, 255, 255, .78); line-height: 1.6; }
.account-success-dialog .registration-form__actions { justify-content: center; margin-top: 22px; }
.account-success-dialog .registration-form__actions .page-btn-primary { padding: 12px 28px; }

/* Botón "Ver artículos en vivo (Zoom)" en Programa y Llamado a artículos. */
.zoom-live-wrap[hidden], .zoom-live-btn--small[hidden] { display: none !important; }
.zoom-live-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 14px; }
.zoom-live-wrap small { color: rgba(255, 255, 255, .7); font-size: .8rem; line-height: 1.4; }
.zoom-live-btn { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #2d8cff, #0b5ed7); color: #fff; box-shadow: 0 0 0 0 rgba(45, 140, 255, .55); animation: zoomLivePulse 2.2s ease-out infinite; }
.zoom-live-btn:hover { color: #fff; filter: brightness(1.08); }
.zoom-live-btn__dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255, 77, 77, .3); flex: none; }
.zoom-live-btn--small { margin: 6px 0 8px; padding: 8px 14px; font-size: .82rem; }
@keyframes zoomLivePulse { 0% { box-shadow: 0 0 0 0 rgba(45, 140, 255, .55); } 70% { box-shadow: 0 0 0 12px rgba(45, 140, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(45, 140, 255, 0); } }

/* Encuesta de satisfacción */
.account-survey-card { border: 1px solid rgba(61, 220, 151, .35); background: linear-gradient(135deg, rgba(61, 220, 151, .1), rgba(0, 184, 204, .06)); }
.account-survey-card.is-done { border-color: rgba(140, 239, 255, .2); background: rgba(14, 35, 41, .6); }
.account-survey-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.account-survey-btn svg { width: 18px; height: 18px; }
.survey-form { display: grid; gap: 18px; }
.survey-q { margin: 0; padding: 18px 18px 16px; border: 1px solid rgba(140, 239, 255, .16); border-radius: 14px; background: rgba(14, 35, 41, .7); min-width: 0; }
.survey-q.is-invalid { border-color: #ffb454; box-shadow: 0 0 0 3px rgba(255, 180, 84, .18); }
.survey-q legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 0 6px; margin-bottom: 10px; color: #fff; font-weight: 700; line-height: 1.35; }
.survey-q__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #00b8cc, #3ddc97); color: #04181c; font-size: .82rem; font-weight: 800; flex: none; }
.survey-q__text { flex: 1 1 240px; }
.survey-q__tag { padding: 3px 9px; border-radius: 999px; background: rgba(255, 180, 84, .16); color: #ffb454; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.survey-q__tag--optional { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }
.survey-q__hint { margin: 0 0 10px; color: rgba(255, 255, 255, .65); font-size: .84rem; }
.survey-options { display: grid; gap: 8px; }
.survey-option { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(140, 239, 255, .12); color: #fff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.survey-option:hover { border-color: rgba(140, 239, 255, .4); }
.survey-option:has(input:checked) { border-color: #3ddc97; background: rgba(61, 220, 151, .12); }
.survey-option:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.survey-option input { width: 18px; height: 18px; flex: none; accent-color: #3ddc97; }
.survey-scale { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.survey-scale__label { color: rgba(255, 255, 255, .7); font-size: .82rem; }
.survey-scale__options { display: flex; gap: 8px; }
.survey-scale__option { position: relative; }
.survey-scale__option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.survey-scale__option span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(140, 239, 255, .18); color: #fff; font-weight: 800; transition: all .15s ease; }
.survey-scale__option:has(input:checked) span { background: linear-gradient(135deg, #00b8cc, #3ddc97); color: #04181c; border-color: transparent; transform: scale(1.06); }
.survey-q textarea { width: 100%; min-height: 86px; resize: vertical; background: rgba(255, 255, 255, .96); border: 1px solid rgba(140, 239, 255, .12); border-radius: 12px; color: #0a2228; font: inherit; padding: 12px 14px; }
.survey-thanks { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 40px 24px; }
.survey-thanks h3 { margin: 6px 0 0; }
.survey-thanks p { margin: 0 0 8px; color: rgba(255, 255, 255, .8); max-width: 480px; }
@media (max-width: 640px) { .survey-scale__option span { width: 40px; height: 40px; } .survey-q { padding: 14px 12px; } }

.account-survey-required { border-color: rgba(255, 180, 84, .4); background: rgba(255, 180, 84, .08); margin: 6px 0 14px; }
.account-survey-required svg { color: #ffb454; }
.account-survey-required span { color: #fff; font-weight: 600; }
