.becas-register-stage--step2 {
  align-items: start;
}

.becas-register-stage--step2 .becas-register-panel {
  max-width: 560px;
}

.becas-register-stage--step2 .becas-register-header {
  max-width: 500px;
}

.becas-register-stage--step2 .becas-register-header__text strong {
  font-weight: 800;
}

.becas-register-stage--step2 .becas-register-sidebar {
  position: relative;
  min-height: 620px;
}

.becas-register-stage--step2 .becas-register-visual {
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.becas-register-stage--step2 .becas-profile-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 28px;
  /*box-shadow: 0 28px 64px rgba(15, 23, 42, 0.12);*/
  box-shadow: 
    0 6px 18px rgba(0,0,0,0.04),
    0 0 0 1px rgba(209, 77, 63, 0.18),
    0 8px 24px rgba(209, 77, 63, 0.18);
  padding: 26px;
}

.becas-register-stage--step2 .becas-profile-card--desktop {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 540px);
  max-height: 850px;
  display: none;
}

.becas-register-page--step2.is-profile-panel-open .becas-profile-card--desktop {
  display: block;
}

/* Contenedor inferior */
.becas-profile-card__footer {
  margin-top: 16px;
  text-align: center;
}

/* Texto descriptivo */
.becas-profile-card__hint {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* BOTÓN CTA */
.becas-profile-cta {
    width: 100%;
    max-width: 420px;
    border: none;
    border-radius: 12px;
    padding: 6px 20px;
    font-size: 0.98rem;
    font-weight: 400;
    cursor: pointer;
    background: #FFE4DD;
    color: #c2412d;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

/* Hover */
.becas-profile-cta:hover {
  background: #efbdb3;
  transform: translateY(-1px);
}

/* Activo (cuando se selecciona) */
.becas-profile-cta.is-active {
  background: #e8a79a;
  color: #9a2c1a;
  box-shadow: 0 0 0 2px rgba(194, 65, 45, 0.2);
}

.becas-register-page--step2.is-profile-panel-open .becas-register-visual {
  opacity: 0;
  visibility: hidden;
}

.becas-register-stage--step2 .becas-profile-card--mobile {
  display: none;
  margin-top: -2px;
  margin-bottom: 4px;
}

.becas-profile-card__pointer {
  width: 28px;
  height: 28px;
  margin: -40px auto 18px 68px;
  background: #fff;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.becas-profile-card__header {
  text-align: center;
  margin-bottom: 18px;
}

/*.becas-profile-card__title {
  margin: 0 0 10px;
  color: #949494;
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 300;
}*/

.becas-profile-card__title {
  position: relative;
  display: inline-block;
}

.tooltip-icon {
  position: absolute;
  top: -4px;
  right: -18px;

  width: 16px;
  height: 16px;

  border-radius: 50%;
  background: #111;
  color: #fff;

  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.tooltip-text {
  position: absolute;
  top: -6px;
  left: 22px;

  background: #111;
  color: #fff;

  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;

  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.tooltip-icon:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.becas-profile-card__text {
  margin: 0 auto;
  max-width: 420px;
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.45;
}

.becas-profile-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  align-items: start;
}

.becas-profile-option {
  width: 100%;
  min-height: 74px;
  border: 1px solid #ececec;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  box-sizing: border-box;
}

.becas-profile-option__chip {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: #a8a8a8;
  font-size: 0.98rem;
  line-height: 1.25;
  display: block;
}

.becas-profile-option__text {
  display: none;
}

.becas-profile-option.is-active {
  background: #FFE4DD; /* rosado suave */
  border-color: transparent;
  box-shadow: none;
}

.becas-profile-option__text {
  color: #a8a8a8;
  font-size: 0.98rem;
  line-height: 1.45;
  padding-top: 10px;
}

.becas-profile-option.is-active .becas-profile-option__chip {  
  color: #C04439;
  border-color: transparent;
}

.becas-profile-option.is-active .becas-profile-option__text {
  color: #8c8c8c;
}

.becas-register-phone {
  display: grid;
  grid-template-columns: 146px minmax(0, 1fr);
  gap: 12px;
}

.becas-register-phone__prefix {
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #b8b8b8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #8f8f8f;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.becas-register-phone__flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(90deg, #db2d34 0 33%, #ffffff 33% 66%, #db2d34 66% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.becas-register-profile-trigger {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #b8b8b8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #8f8f8f;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
}

.becas-register-profile-trigger.is-selected {
  background-color: #FFE4DD;
  border: 2px solid #C04439;
  color: #C04439;
  font-weight: 400;
}

#convenio:focus,
#convenio:focus-visible {

  outline: none !important;
  border: 1px solid #C04439 !important;
  box-shadow: 0 0 10px rgba(192, 68, 57, 0.8) !important;
}

.tooltip-text {
  position: absolute;
  top: 50%;
  left: calc(100% + 8px); /* sale a la derecha del ícono */
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 180px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: center;
  z-index: 20;
}

.becas-register-profile-trigger__icon {
  color: #b3b3b3;
}

.becas-register-grid--minedu {
  margin-top: 2px;
}

.becas-register-stage--step2 .becas-register-submit {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  .becas-register-stage--step2 .becas-register-sidebar {
    min-height: 250px;
  }

  .becas-register-stage--step2 .becas-profile-card--desktop {
    display: none !important;
  }

  .becas-register-page--step2.is-profile-panel-open .becas-profile-card--mobile {
    display: block;
  }

  .becas-register-page--step2.is-profile-panel-open .becas-register-visual {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 575.98px) {
  .becas-register-phone {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }

  .becas-register-phone__prefix,
  .becas-register-profile-trigger,
  .becas-profile-option__chip,
  .becas-profile-option__text {
    font-size: 0.94rem;
  }

  .becas-profile-card {
    padding: 18px 14px 20px;
    border-radius: 22px;
    background: #E7E7E7 ;
  }

  .becas-profile-card__pointer {
    margin-left: 38px;
  }

  .becas-profile-card__title {
    font-weight: 500; /* 👈 clave */
    font-size: 28px;
    color: #1f2937; /* gris oscuro elegante */
    margin: 0;
  }

  .becas-profile-card__text {
    font-size: 0.92rem;
  }

  .becas-profile-option {
    grid-template-columns: 118px 1fr;
    gap: 10px;
  }

  .becas-profile-option__chip {
    min-height: 46px;
    border-radius: 14px;
  }

  .becas-profile-option__text {
    padding-top: 8px;
  }
}
