/* ==========================================================================
   RECLUTAMIENTO KJA — ESTILOS COMPLEMENTARIOS (HEREDA DE TERAPIA.CSS)
   Línea visual 100% fiel a Terapia y Cursos KJA
   ========================================================================== */

/* Asegurar fondo blanco y tipografía Poppins como en Terapia */
body.rec-page {
  background-color: #ffffff !important;
  color: var(--text-dark, #333333);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* ==========================================================================
   INDICADOR DE PASOS SUPERIOR (ESTILO TABS TERAPIA)
   ========================================================================== */
.rec-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rec-step-tab-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: #4b5563;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-right: 6px;
  transition: all 0.25s ease;
}

.therapy-tab.active .rec-step-tab-num {
  background: #ffffff;
  color: #FE037C;
}

.therapy-tab.completed {
  border-color: #fbcfe8;
  color: #111827;
}

.therapy-tab.completed .rec-step-tab-num {
  background: #10b981;
  color: #ffffff;
}

/* ==========================================================================
   HERO RECLUTAMIENTO — PILLS DESTACADOS & ESTILO EDITORIAL
   ========================================================================== */
.rec-hero-highlights {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px 0;
}

.rec-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(254, 3, 124, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  font-size: 0.83rem;
  font-weight: 700;
  color: #1f2937;
  transition: all 0.25s ease;
}

.rec-hero-pill:hover {
  transform: translateY(-2px);
  border-color: #FE037C;
  box-shadow: 0 6px 18px rgba(254, 3, 124, 0.14);
}

.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  color: #FE037C;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FE037C;
  box-shadow: 0 0 0 4px rgba(254, 3, 124, 0.22);
  display: inline-block;
}

/* ==========================================================================
   CABECERA DE SECCIÓN & STEPPER DE LUJO KJA (ESTÉTICA IMPECABLE)
   ========================================================================== */
.rec-page .catalog-section.section-padding {
  padding: 42px 0 36px 0 !important;
}

.rec-header-text {
  text-align: center;
  margin-bottom: 2.2rem !important;
  position: relative;
  z-index: 10;
  padding: 0 15px;
}

.rec-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 9999px;
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  color: #db2777;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rec-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FE037C;
}

.rec-page .section-subtitle-v2 {
  font-size: 1.02rem;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.rec-page .tabs-center-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.2rem !important;
  position: relative;
  z-index: 12;
}

.rec-stepper-track-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 9999px;
  padding: 6px 12px;
  border: 1.5px solid #f3f4f6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(254, 3, 124, 0.04);
  max-width: 100%;
}

.rec-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  white-space: nowrap;
}

.rec-step-btn:hover:not(.active) {
  color: #FE037C;
  background: #fff8fc;
}

.rec-step-btn.active {
  background: #FE037C;
  background: linear-gradient(135deg, #FE037C 0%, #db2777 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(254, 3, 124, 0.38);
  transform: translateY(-1px);
}

.rec-step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  background: #f3f4f6;
  color: #6b7280;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.rec-step-btn:hover .rec-step-circle {
  background: #fbcfe8;
  color: #FE037C;
}

.rec-step-btn.active .rec-step-circle {
  background: #ffffff;
  color: #FE037C;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.rec-step-btn.completed:not(.active) {
  color: #111827;
}

.rec-step-btn.completed:not(.active) .rec-step-circle {
  background: #10b981;
  color: #ffffff;
  font-size: 0;
}

.rec-step-btn.completed:not(.active) .rec-step-circle::after {
  content: '✓';
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 800;
}

.rec-step-connector {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 9999px;
  margin: 0 2px;
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .rec-stepper-track-wrap {
    border-radius: 20px;
    padding: 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 480px;
  }
  .rec-step-connector {
    display: none;
  }
  .rec-step-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .rec-step-text {
    font-size: 0.8rem;
  }
  .rec-step-btn {
    padding: 8px 10px;
  }
}

/* ==========================================================================
   VIEWPORT & TRACK DESLIZANTE HORIZONTAL CON ALTURA ADAPTATIVA
   Elimina los espacios vacíos gigantes cuando se navega entre pasos
   ========================================================================== */
.rec-slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 28px;
  padding: 4px 0;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rec-slider-track {
  display: flex;
  width: 100%;
  align-items: flex-start;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.rec-slide-panel {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 4px 6px;
  opacity: 0.2;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.rec-slide-panel.active {
  opacity: 1;
  pointer-events: auto;
}

/* Cuadrícula balanceada de 4 tarjetas en Paso 1 (sin huecos vacíos) */
.rec-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

/* El flyer contiene texto: conservar todo el encuadre, incluso en hover. */
.rec-catalog-grid .rec-flyer-image-wrap img {
  object-fit: cover;
  object-position: center;
  transform: none;
}

@media (max-width: 1100px) {
  .rec-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .rec-catalog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Formulario & Controles integrados en tarjetas KJA */
.rec-form-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.rec-form-heading {
  margin-bottom: 22px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 14px;
}

.rec-form-heading h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.rec-form-heading p {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0;
}

.rec-input-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.rec-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}

.rec-field.full-width {
  grid-column: 1 / -1;
}

.rec-field label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #374151;
}

.rec-field input[type="text"],
.rec-field input[type="tel"],
.rec-field input[type="email"],
.rec-field input[type="date"],
.rec-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  background: #fafafa;
  font-family: inherit;
  font-size: 0.95rem;
  color: #111827;
  outline: none;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.rec-field input:focus,
.rec-field textarea:focus {
  border-color: #FE037C;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(254, 3, 124, 0.12);
}

/* ==========================================================================
   CUSTOM DROPDOWN SELECTS (ACOMODADOS DIRECTO EN EL INPUT)
   Evita que el menú del navegador se abra en otra parte de la pantalla
   ========================================================================== */
.kja-custom-select {
  position: relative;
  width: 100%;
}

.kja-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  background: #fafafa;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  text-align: left;
}

.kja-select-trigger:hover {
  border-color: #fbcfe8;
  background: #ffffff;
}

.kja-custom-select.is-open .kja-select-trigger,
.kja-select-trigger:focus-visible {
  border-color: #FE037C;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(254, 3, 124, 0.14);
}

.kja-select-value {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
}

.kja-select-arrow {
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.25s ease, color 0.2s ease;
}

.kja-custom-select.is-open .kja-select-arrow {
  transform: rotate(180deg);
  color: #FE037C;
}

/* Menú flotante directo anclado al input */
.kja-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1.5px solid #fce7f3;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(254, 3, 124, 0.06);
  padding: 6px;
  z-index: 120;
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: #fbcfe8 transparent;
}

.kja-custom-select.is-open .kja-select-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.kja-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.kja-select-option:hover {
  background: #fdf2f8;
  color: #FE037C;
  transform: translateX(2px);
}

.kja-select-option.selected {
  background: #fdf2f8;
  color: #FE037C;
  font-weight: 700;
}

.kja-select-check {
  display: none;
  color: #FE037C;
  flex-shrink: 0;
}

.kja-select-option.selected .kja-select-check {
  display: block;
}

/* ==========================================================================
   CUSTOM DATEPICKER (CALENDARIO 100% INTEGRADO DENTRO DE LA TARJETA)
   Evita que el calendario nativo del navegador se abra fuera de la pestaña
   ========================================================================== */
.kja-custom-datepicker {
  position: relative;
  width: 100%;
}

.kja-date-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1.5px solid #e5e7eb;
  background: #fafafa;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  text-align: left;
}

.kja-date-trigger:hover {
  border-color: #fbcfe8;
  background: #ffffff;
}

.kja-custom-datepicker.is-open .kja-date-trigger,
.kja-date-trigger:focus-visible {
  border-color: #FE037C;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(254, 3, 124, 0.14);
}

.kja-date-display {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kja-date-icon {
  color: #FE037C;
  flex-shrink: 0;
}

.kja-date-value {
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kja-date-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #db2777;
  background: #fdf2f8;
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid #fce7f3;
  flex-shrink: 0;
}

/* Pastillas de selección rápida (1 clic: Mañana, +2 días, etc.) */
.kja-date-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.kja-quick-date-btn {
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s ease;
}

.kja-quick-date-btn:hover {
  border-color: #FE037C;
  color: #FE037C;
  background: #fdf2f8;
}

.kja-quick-date-btn.active {
  background: #FE037C;
  border-color: #FE037C;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(254, 3, 124, 0.3);
}

/* Popover Calendario 100% integrado dentro de la tarjeta */
.kja-datepicker-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid #fce7f3;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14), 0 4px 15px rgba(254, 3, 124, 0.08);
  padding: 16px;
  z-index: 150;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.kja-custom-datepicker.is-open .kja-datepicker-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.kja-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.kja-cal-month-year {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
  text-transform: capitalize;
}

.kja-cal-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #f3f4f6;
  background: #fafafa;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #4b5563;
  transition: all 0.15s ease;
}

.kja-cal-nav-btn:hover:not(:disabled) {
  background: #fdf2f8;
  color: #FE037C;
  border-color: #fbcfe8;
}

.kja-cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.kja-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.kja-cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.kja-cal-day {
  height: 36px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.15s ease;
  user-select: none;
}

.kja-cal-day:hover:not(:disabled):not(.empty) {
  background: #fdf2f8;
  color: #FE037C;
  transform: scale(1.05);
}

.kja-cal-day.selected {
  background: #FE037C !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(254, 3, 124, 0.35);
}

.kja-cal-day.today:not(.selected) {
  border: 1.5px solid #FE037C;
  color: #FE037C;
}

.kja-cal-day:disabled {
  color: #d1d5db;
  cursor: not-allowed;
  opacity: 0.45;
}

.kja-cal-day.empty {
  pointer-events: none;
  cursor: default;
}

.kja-cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #f3f4f6;
}

.kja-cal-action-btn {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.kja-cal-action-btn.primary {
  background: #fdf2f8;
  color: #FE037C;
}

.kja-cal-action-btn.primary:hover {
  background: #fce7f3;
}

.kja-cal-action-btn.secondary {
  background: #f3f4f6;
  color: #4b5563;
}

.kja-cal-action-btn.secondary:hover {
  background: #e5e7eb;
}

/* ==========================================================================
   MÓDULO DE ADJUNTAR CV / CURRÍCULUM VITAE
   ========================================================================== */
.rec-cv-dropzone {
  border: 2px dashed #fbcfe8;
  border-radius: 20px;
  background: #fff8fc;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  outline: none;
}

.rec-cv-dropzone:hover,
.rec-cv-dropzone.dragover {
  border-color: #FE037C;
  background: #fdf2f8;
  box-shadow: 0 6px 20px rgba(254, 3, 124, 0.08);
}

.rec-cv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.rec-cv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(254, 3, 124, 0.12);
  border: 1px solid #fce7f3;
}

.rec-cv-texts strong {
  display: block;
  font-size: 0.98rem;
  color: #111827;
  font-weight: 700;
  margin-bottom: 2px;
}

.rec-cv-texts span {
  display: block;
  font-size: 0.82rem;
  color: #6b7280;
}

.rec-cv-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #FE037C;
  color: #FE037C;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rec-cv-browse-btn:hover {
  background: #FE037C;
  color: #ffffff;
}

/* Vista de archivo cargado */
.rec-cv-loaded {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  border-radius: 16px;
  padding: 16px 20px;
  border: 1.5px solid #fbcfe8;
  box-shadow: 0 4px 15px rgba(254, 3, 124, 0.06);
}

.rec-cv-file-info {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.rec-cv-file-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fdf2f8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.rec-cv-file-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rec-cv-filename {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  word-break: break-all;
}

.rec-cv-filesize {
  font-size: 0.8rem;
  color: #6b7280;
}

.rec-cv-status-tag {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  margin-top: 2px;
}

.rec-cv-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rec-cv-btn-change,
.rec-cv-btn-remove {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.rec-cv-btn-change {
  background: #f3f4f6;
  color: #374151;
}

.rec-cv-btn-change:hover {
  background: #e5e7eb;
}

.rec-cv-btn-remove {
  background: #fef2f2;
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rec-cv-btn-remove:hover {
  background: #fee2e2;
}

/* ==========================================================================
   SELECTOR DE HORARIOS (PILLS KJA)
   ========================================================================== */
.rec-slots-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.rec-slot-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 9999px;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rec-slot-btn:hover {
  border-color: #FE037C;
  color: #FE037C;
  background: #fdf2f8;
}

.rec-slot-btn.active {
  background: #FE037C;
  border-color: #FE037C;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(254, 3, 124, 0.3);
}

/* ==========================================================================
   TEST DISC COMPACTO (CERO SCROLL MASIVO CON NAVEGADOR DE BLOQUES)
   ========================================================================== */
.rec-disc-intro-card {
  background: linear-gradient(135deg, #fdf2f8 0%, #eff6ff 100%);
  border-radius: 20px;
  padding: 20px 24px;
  border: 1px solid rgba(254, 3, 124, 0.15);
  margin-bottom: 20px;
}

.rec-disc-intro-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.rec-disc-intro-card p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

/* Carril de números de bloques [1] a [12] */
.rec-disc-stepper-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.rec-disc-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  background: #f9fafb;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #f3f4f6;
}

.rec-disc-block-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: all 0.2s ease;
  padding: 0;
}

.rec-disc-block-num:hover {
  border-color: #FE037C;
  color: #FE037C;
}

.rec-disc-block-num.active {
  background: #FE037C;
  border-color: #FE037C;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(254, 3, 124, 0.35);
}

.rec-disc-block-num.completed:not(.active) {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #059669;
}

/* Tarjeta individual de bloque activo */
.rec-disc-active-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid #f3f4f6;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.rec-disc-row {
  display: grid;
  grid-template-columns: 1fr 100px 100px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f9fafb;
}

.rec-disc-row:last-child {
  border-bottom: none;
}

.rec-disc-desc strong {
  display: block;
  font-size: 0.95rem;
  color: #1f2937;
  font-weight: 700;
}

.rec-disc-desc small {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
}

.rec-choice-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.rec-choice-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #FE037C;
  cursor: pointer;
}

/* Navegación interna entre bloques */
.rec-disc-inner-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.rec-disc-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rec-disc-nav-btn:hover:not(:disabled) {
  border-color: #FE037C;
  color: #FE037C;
  background: #fdf2f8;
}

.rec-disc-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================================================
   CHECKLIST DE VALIDACIÓN (PASO 1)
   ========================================================================== */
.rec-checklist-box {
  background: #fff;
  border-radius: 20px;
  border: 2px dashed #fbcfe8;
  padding: 24px;
  margin-top: 24px;
}

.rec-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.5;
}

.rec-check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: #FE037C;
  cursor: pointer;
}

/* ==========================================================================
   BARRAS PSICOMÉTRICAS (CONFIRMACIÓN)
   ========================================================================== */
.rec-bars-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.rec-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rec-bar-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
}

.rec-bar-track {
  height: 10px;
  background: #f3f4f6;
  border-radius: 9999px;
  overflow: hidden;
}

.rec-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.rec-bar-fill.d { background: linear-gradient(90deg, #f87171, #ef4444); }
.rec-bar-fill.i { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.rec-bar-fill.s { background: linear-gradient(90deg, #34d399, #10b981); }
.rec-bar-fill.c { background: linear-gradient(90deg, #60a5fa, #3b82f6); }

/* ==========================================================================
   BOTONES DE ACCIÓN DEL FLUJO
   ========================================================================== */
.rec-flow-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.rec-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.rec-btn-pill.primary {
  background: #FE037C;
  background: linear-gradient(135deg, #FE037C 0%, #db2777 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(254, 3, 124, 0.35);
}

.rec-btn-pill.primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(254, 3, 124, 0.45);
}

.rec-btn-pill.secondary {
  background: #f3f4f6;
  color: #4b5563;
}

.rec-btn-pill.secondary:hover {
  background: #e5e7eb;
}

.rec-btn-pill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   RESPONSIVIDAD Y ADAPTACIONES
   ========================================================================== */
@media (max-width: 900px) {
  .rec-steps-indicator {
    gap: 4px;
  }
  .rec-steps-indicator .tab span {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .rec-input-grid {
    grid-template-columns: 1fr;
  }
  .rec-disc-row {
    grid-template-columns: 1fr 75px 75px;
  }
  .rec-flow-actions {
    flex-direction: column-reverse;
  }
  .rec-btn-pill {
    width: 100%;
    justify-content: center;
  }
  .rec-cv-loaded {
    flex-direction: column;
    align-items: flex-start;
  }
  .rec-cv-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .rec-steps-indicator {
    flex-direction: column;
    width: 100%;
  }
  .rec-steps-indicator .tab {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SECCIÓN VERACIDAD INSTITUCIONAL: MULTIMEDIA SPLIT & CUADRÍCULA DE FOTOS REALES
   ========================================================================== */
.rec-multimedia-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .rec-multimedia-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.rec-video-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
  overflow: hidden;
  border-radius: 20px;
  background: #061a38;
}

.rec-video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.4s ease;
}

.rec-video-card:hover .rec-video-thumb-wrap img {
  transform: scale(1.04);
}

.rec-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
  padding: 24px;
}

.rec-veracidad-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 100%;
  align-content: stretch;
}

.rec-veracidad-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 155px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(0, 0, 0, 0.06);
  background: #061a38;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.rec-veracidad-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(254, 3, 124, 0.25);
  border-color: rgba(254, 3, 124, 0.45);
}

.rec-veracidad-card:focus-visible {
  outline: 3px solid #FE037C;
  outline-offset: 2px;
}

.rec-veracidad-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.45s ease;
}

.rec-veracidad-card:hover img {
  transform: scale(1.08);
}

.rec-veracidad-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 32px 14px 12px 14px;
  background: linear-gradient(to top, rgba(6, 26, 56, 0.96) 0%, rgba(6, 26, 56, 0.65) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.rec-veracidad-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  text-align: left;
}

.rec-veracidad-tag {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FE037C;
  line-height: 1.2;
}

.rec-veracidad-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}


@media (max-width: 600px) {
  .rec-veracidad-grid {
    grid-template-rows: auto auto;
  }
  .rec-veracidad-card {
    height: 130px;
    min-height: 130px;
  }
  .rec-veracidad-overlay {
    padding: 20px 10px 8px 10px;
  }
  .rec-veracidad-title {
    font-size: 0.72rem;
  }
  .rec-veracidad-tag {
    font-size: 0.6rem;
  }
}
