/* =====================================================
   Inscripción a webinars - Opción A (Wizard guiado)
   Solo contiene lo que NO está en app.css / foundation.css / media-queries.css.
   El resto se aplica via utility classes en el TPL.
   ===================================================== */

/* Utility .rounded-full (complementa .rounded/.rounded-lg del proyecto) */
.rounded-full { border-radius: 50%; }

/* Title específico: font-weight 800 + letter-spacing no tienen utility */
.insc-webinar-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media screen and (min-width: 40em) {
  .insc-webinar-title { font-size: 30px; }
}

/* ── Stepper ─────────────────────────────────────────── */
.insc-webinar-step__bullet {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 2px solid #767676;
  color: #525252;
  font-weight: 800;
  font-size: 13px;
  transition: all 250ms ease;
}

.insc-webinar-step__label {
  font-size: 13px;
  color: #525252;
  white-space: nowrap;
}

.insc-webinar-step--current .insc-webinar-step__bullet {
  background: #0072C0;
  border-color: #0072C0;
  color: #fff;
}
.insc-webinar-step--current .insc-webinar-step__label {
  color: #1E1E1E;
  font-weight: 800;
}

.insc-webinar-step--done .insc-webinar-step__bullet {
  background: #1E7E34;
  border-color: #1E7E34;
  color: #fff;
}
.insc-webinar-step--done .insc-webinar-step__label {
  color: #1E1E1E;
}

.insc-webinar-step__line {
  flex: 1;
  min-width: 20px;
  height: 2px;
  background: #767676;
  margin: 0 14px;
  border-radius: 99px;
  transition: background 250ms ease;
}

.insc-webinar-step__line--done { background: #1E7E34; }

/* ── Grid asimétrico 1fr / 360px (gap base via utility .gap-3) ─ */
.insc-webinar-grid {
  grid-template-columns: 1fr;
  align-items: start;
}
@media screen and (min-width: 64em) {
  .insc-webinar-grid {
    grid-template-columns: 1fr 360px;
    gap: 36px;
  }
}

/* ── Bloque principal (izquierda) ────────────────────── */
.insc-webinar-main {
  border: 1px solid #E5E5E5;
}
@media screen and (min-width: 64em) {
  .insc-webinar-main { min-height: 540px; }
}

.insc-webinar-main__heading {
  font-size: 22px;
  font-weight: 800;
  color: #1E1E1E;
  margin: 0 0 8px;
  line-height: 1.25;
}

.insc-webinar-main__footer {
  border-top: 1px solid #E5E5E5;
}

/* ── Tarjeta lateral del webinar ─────────────────────── */
.insc-webinar-card {
  border: 1px solid #E5E5E5;
}
@media screen and (min-width: 64em) {
  .insc-webinar-card { min-height: 540px; }
}

.insc-webinar-card__banner {
  height: 140px;
  background: linear-gradient(135deg, #0260A1 0%, #0072C0 60%, #1A8FD8 100%);
  position: relative;
}

.insc-webinar-card__banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mix-blend-mode: luminosity;
}

.insc-webinar-card__banner-overlay {
  position: absolute;
  inset: 0;
  padding: 18px 20px;
}

.insc-webinar-card__badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}

.insc-webinar-card__badge--live {
  background: #FFB300;
  color: #1E1E1E;
  letter-spacing: 0.04em;
}

.insc-webinar-card__category {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insc-webinar-card__body {
  padding: 18px 20px;
  min-height: 0;
}

.insc-webinar-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #1E1E1E;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.insc-webinar-card__title a { color: inherit; }
.insc-webinar-card__title a:hover { color: #0072C0; }

.insc-webinar-card__ponente-avatar {
  width: 36px;
  height: 36px;
  background: #0072C0;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

.insc-webinar-card__desc {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.insc-webinar-card__desc-label {
  font-size: 11px;
  font-weight: 800;
  color: #0072C0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.insc-webinar-card__meta {
  border-top: 1px solid #E5E5E5;
}

/* ── Banner usuario logueado: gradient + border específicos ─ */
.insc-user-banner {
  background: linear-gradient(135deg, #EDF6FC 0%, #FFF3CC 100%);
  border: 1px solid #D6EDFA;
}

.insc-user-banner__avatar {
  width: 52px;
  height: 52px;
  background: #0072C0;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  object-position: center;
  display: block;
}

.insc-user-banner__overline {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0072C0;
}

.insc-user-banner__name {
  font-size: 18px;
  font-weight: 800;
  color: #1E1E1E;
  margin-top: 2px;
  line-height: 1.2;
}

/* ── Pantalla de verificación ────────────────────────── */
.insc-verify__icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, #EDF6FC 0%, transparent 70%);
  position: relative;
}

.insc-verify__icon-spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed #5BB5E8;
  animation: insc-spin 18s linear infinite;
}

.insc-verify__icon {
  width: 80px;
  height: 80px;
  background: #0072C0;
  box-shadow: 0 8px 24px rgba(0, 114, 192, 0.35);
}

.insc-verify__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 99px;
  font-size: 12px;
  color: #6B6B6B;
  margin-bottom: 22px;
}

.insc-verify__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28A745;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
  animation: insc-pulse 1.6s ease infinite;
}

@keyframes insc-spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@keyframes insc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(40, 167, 69, 0); }
}

.insc-verify__title {
  font-size: 22px;
  font-weight: 800;
  color: #1E1E1E;
  margin: 0 0 10px;
}

/* ── Input con icono interno (campo de formulario diseño Opción A) ─ */

.insc-field__input-wrap {
  position: relative;
}

.insc-field__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9E9E9E;
  pointer-events: none;
  z-index: 1;
}

.insc-field__input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1.5px solid #CACACA;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  color: #1E1E1E;
  outline: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 150ms ease;
  margin: 0;
  box-sizing: border-box;
}

.insc-field__input--lg { height: 54px; }
.insc-field__input--no-icon { padding-left: 16px; }

.insc-field__input:focus {
  border-color: #0072C0;
  box-shadow: 0 0 0 4px rgba(0, 114, 192, 0.1);
}

/* ── Helper para alinear iconos SVG dentro de `.button` ───────── */
.button.has-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ── Icono de éxito (confirmación) ───────────────────── */
.insc-success-header__icon {
  width: 56px;
  height: 56px;
  background: #28A745;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.32);
}

.insc-success-header__overline {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #1E7E34;
  margin-bottom: 4px;
}

.insc-success-header__title {
  font-size: 22px;
  font-weight: 800;
  color: #1E1E1E;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ── Mensaje de webinar cerrado: solo color rojo + weight 800 ── */
.insc-closed__title {
  font-size: 22px;
  font-weight: 800;
  color: #DC3545;
  margin: 0 0 8px;
}

/* ── DateBlock: bloque día/mes en la tarjeta del webinar ─ */
.insc-date-block {
  width: 60px;
  text-align: center;
  border-radius: 6px;
  border: 1.5px solid #FFB300;
  overflow: hidden;
  line-height: 1;
}
.insc-date-block__month {
  background: #FFB300;
  color: #1E1E1E;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 0;
  letter-spacing: .08em;
}
.insc-date-block__day {
  font-size: 26px;
  font-weight: 800;
  color: #1E1E1E;
  padding: 4px 0 6px;
}

/* ── Cuenta atrás de la pantalla de confirmación ─ */
.insc-countdown__label {
  font-size: 12px;
  font-weight: 700;
  color: #6B6B6B;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.insc-countdown__cell {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  background: #fff;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  min-width: 70px;
}
.insc-countdown__num {
  font-size: 34px;
  font-weight: 800;
  color: #1E1E1E;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.insc-countdown__lbl {
  font-size: 11px;
  color: #6B6B6B;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}
@media screen and (max-width: 40em) {
  .insc-countdown { gap: 6px; }
  .insc-countdown__cell { padding: 12px 4px; min-width: 0; }
  .insc-countdown__num { font-size: 26px; }
  .insc-countdown__lbl { font-size: 10px; }
}

/* ── Añadir a calendario ─────────────────────────────── */
.insc-calendar .insc-calendar__label {
  letter-spacing: .08em;
  text-transform: uppercase;
}
.insc-calendar a.insc-calendar__btn {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 150ms ease;
}
.insc-calendar a.insc-calendar__btn:hover,
.insc-calendar a.insc-calendar__btn:focus-visible {
  opacity: .85;
  text-decoration: none;
}
.insc-calendar a.insc-calendar__btn:focus-visible {
  outline: 2px solid #0072C0;
  outline-offset: 2px;
}
.insc-calendar a.insc-calendar__btn--google,
.insc-calendar a.insc-calendar__btn--google:hover,
.insc-calendar a.insc-calendar__btn--google:focus-visible {
  background: #1967D2;
  color: #fff;
  border-color: #1967D2;
}
.insc-calendar a.insc-calendar__btn--outlook,
.insc-calendar a.insc-calendar__btn--outlook:hover,
.insc-calendar a.insc-calendar__btn--outlook:focus-visible {
  background: #0078D4;
  color: #fff;
  border-color: #0078D4;
}
.insc-calendar a.insc-calendar__btn--ics,
.insc-calendar a.insc-calendar__btn--ics:hover,
.insc-calendar a.insc-calendar__btn--ics:focus-visible {
  background: #fff;
  border-color: #6B6B6B;
  color: #1E1E1E;
}

/* ── Bloque "Comparte" ────────────────────────────────── */
.insc-share .social-share-list {
  list-style: none;
}
.insc-share .social-share-list > li {
  display: flex;
}
.insc-share__copy {
  background-color: #6B6B6B;
  border: 0;
  cursor: pointer;
  color: #fff;
}
.insc-share__copy:hover { opacity: .85; }
.insc-share__copy--ok { background-color: #1E7E34; }

/* ── Responsive: en móvil card primero y altura libre ─ */
@media screen and (max-width: 63.9375em) {
  .insc-webinar-card {
    order: -1;
    height: auto;
    min-height: 0;
  }
}
