.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#page-auth-becasauth-register-step1 #page,
#page-auth-becasauth-register-step1 #page-content,
#page-auth-becasauth-register-step1 #region-main-box,
#page-auth-becasauth-register-step1 #region-main,
#page-auth-becasauth-register-step1 .container-fluid,
#page-auth-becasauth-register-step1 .row,
#page-auth-becasauth-register-step1 .login-container,
#page-auth-becasauth-register-step1 .login-wrapper,
#page-auth-becasauth-register-step1 .main-content,
#page-auth-becasauth-register-step2 #page,
#page-auth-becasauth-register-step2 #page-content,
#page-auth-becasauth-register-step2 #region-main-box,
#page-auth-becasauth-register-step2 #region-main,
#page-auth-becasauth-register-step2 .container-fluid,
#page-auth-becasauth-register-step2 .row,
#page-auth-becasauth-register-step2 .login-container,
#page-auth-becasauth-register-step2 .login-wrapper,
#page-auth-becasauth-register-step2 .main-content {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#page-auth-becasauth-register-step1 .login-wrapper,
#page-auth-becasauth-register-step2 .login-wrapper {
  min-height: 100vh !important;
}

#page-auth-becasauth-register-step1 #page-footer,
#page-auth-becasauth-register-step1 .btn-footer-popover,
#page-auth-becasauth-register-step1 .footer-popover,
#page-auth-becasauth-register-step1 .logininfo,
#page-auth-becasauth-register-step1 .footerinfo,
#page-auth-becasauth-register-step1 .sitelink,
#page-auth-becasauth-register-step1 .homelink,
#page-auth-becasauth-register-step1 .tool_mobile_app,
#page-auth-becasauth-register-step1 .helplink,
#page-auth-becasauth-register-step1 .contentinfo,
#page-auth-becasauth-register-step2 #page-footer,
#page-auth-becasauth-register-step2 .btn-footer-popover,
#page-auth-becasauth-register-step2 .footer-popover,
#page-auth-becasauth-register-step2 .logininfo,
#page-auth-becasauth-register-step2 .footerinfo,
#page-auth-becasauth-register-step2 .sitelink,
#page-auth-becasauth-register-step2 .homelink,
#page-auth-becasauth-register-step2 .tool_mobile_app,
#page-auth-becasauth-register-step2 .helplink,
#page-auth-becasauth-register-step2 .contentinfo {
  display: none !important;
}

.becas-register-page {
  min-height: 100vh;
  background: #FAFAFA;
  color: #212121;
}

.becas-register-stage {
  min-height: 100vh;
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(320px, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
}

.becas-register-panel {
  background: #fafafa;
  border-radius: 34px;
  padding: 34px clamp(24px, 4vw, 42px) 40px;
  /*box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);*/
}

.becas-auth-backlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #2f2f2f;
  font-size: 1rem;
  text-decoration: none;
}

.becas-register-header {
  max-width: 520px;
  margin-bottom: 26px;
}

.becas-register-header__title {
  margin: 0 0 12px;
  color: #cc4d3f;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.becas-register-header__text,
.becas-register-header__hint {
  margin: 0;
  color: #303030;
  font-size: 1.05rem;
  line-height: 1.45;
}

.becas-register-header__hint {
  margin-top: 12px;
  color: #6e6e6e;
}

.becas-register-alert {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(180, 35, 24, 0.1);
  color: #8f2d24;
  font-size: 0.95rem;
}

.becas-register-form {
  display: grid;
  gap: 14px;
}

.becas-register-grid {
  display: grid;
  gap: 12px;
}

.becas-register-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.becas-register-grid--phone {
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 1.1fr);
}

.becas-register-field {
  display: grid;
  gap: 7px;
}

.becas-register-field input,
.becas-register-field select,
.becas-register-password {
  width: 100%;
  min-height: 50px;
  border: 1px solid #b8b8b8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #242424;
  font-size: 1rem;
}

.becas-register-field input,
.becas-register-field select {
  padding: 0 16px;
}

.becas-register-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #777 50%),
    linear-gradient(135deg, #777 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.becas-register-field input::placeholder,
.becas-register-field select {
  color: #8f8f8f;
}

.becas-register-field input:focus-within,
.becas-register-field select:focus-within,
.becas-register-password:focus-within,
.becas-register-profile-trigger:focus {
  outline: none;
  border-color: #cc4d3f;
  box-shadow: 0 0 0 4px rgba(204, 77, 63, 0.12);
}

.becas-register-field.has-error input,
.becas-register-field.has-error select,
.becas-register-field.has-error .becas-register-password,
.becas-register-field.has-error .becas-register-profile-trigger {
  border-color: #b42318;
}

.becas-register-field__error {
  color: #b42318;
  font-size: 0.88rem;
}

.becas-register-password {
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
}

.becas-register-password input {
  min-height: 48px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.becas-register-password input:focus {
  box-shadow: none;
}

.becas-register-password__toggle {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  color: #979797;
}

.becas-register-submit {
  width: fit-content;
  min-width: 192px;
  min-height: 50px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #d65747 0%, #c54639 100%);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(197, 70, 57, 0.18);
}

.becas-register-submit[disabled] {
  background: #cfcfcf;
  box-shadow: none;
  cursor: not-allowed;
}

.becas-register-visual {
  display: flex;
  justify-content: center;  /* horizontal */
  align-items: center;      /* vertical */
  height: 100%;             /* importante */
  min-height: 100vh;        /* asegura centrado en pantalla */
  position: relative;
}

.becas-register-visual__shape {
  position: absolute;
  top: 48px;
  right: 54px;
  width: min(78%, 360px);
  height: min(76%, 520px);
  border-radius: 34px;
  background: #d14d3f;
  transform: rotate(8deg);
}

.becas-register-visual__photo {
  width: 400px;
  height: 520px;

  background-image: var(--register-visual);
  background-size: contain; /* 👈 clave */
  background-position: center;
  background-repeat: no-repeat;
}


.becas-register-legal {
  margin: 4px 0 0;
  color: #343434;
  font-size: 0.95rem;
}

.becas-register-legal a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.becas-register-legal--mobile {
  display: none;
  align-items: center;
  gap: 10px;
}

.becas-register-legal--mobile input {
  width: 18px;
  height: 18px;
  accent-color: #cc4d3f;
}

.becas-register-form--step1 #terms:not(:checked) ~ .becas-register-submit {
  opacity: 0.58;
  pointer-events: none;
}

.becas-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.becas-modal.is-open {
  display: flex;
}

.becas-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.6);
}

.becas-modal__dialog {
  position: relative;
  width: min(720px, calc(100% - 48px));
  border-radius: 26px;
  padding: 58px 28px;
  background: linear-gradient(180deg, #c85545 0%, #c04439 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.45);
}

.becas-modal__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
}

.becas-modal__title {
  margin: 0 0 16px;
  font-size: 1.8rem;
  font-weight: 500;
}

.becas-modal__text {
  margin: 0 auto 30px;
  max-width: 440px;
  font-size: 1rem;
  line-height: 1.5;
}

.becas-modal__actions {
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.becas-modal__btn {
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.becas-modal__btn--primary {
  background: #fff;
  color: #b33e34;
  font-weight: 700;
}

.becas-modal__btn--secondary {
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff;
}

@media (max-width: 991.98px) {
  .becas-register-stage {
    width: min(100%, calc(100% - 32px));
    padding: 20px 0 28px;
    grid-template-columns: 1fr;
  }

  .becas-register-visual {
    min-height: 300px;
  }

  .becas-register-visual__shape {
    top: 24px;
    right: 50%;
    width: min(66%, 280px);
    height: 220px;
    transform: translateX(32%) rotate(8deg);
  }

  .becas-register-visual__photo {
    position: relative;
    width: min(78%, 320px);
    height: 350px;
    margin: 0 auto;
  }
}



@media (max-width: 575.98px) {
  .becas-register-stage {
    width: calc(100% - 20px);
    gap: 18px;
  }

  .becas-register-panel {
    padding: 22px 18px 28px;
    border-radius: 24px;
  }

  .becas-auth-backlink {
    margin-bottom: 14px;
    font-size: 0.92rem;
  }

  .becas-register-header {
    margin-bottom: 20px;
    text-align: center;
  }

  .becas-register-header__title {
    font-size: 1.8rem;
  }

  .becas-register-header__text,
  .becas-register-header__hint {
    font-size: 0.98rem;
  }

  .becas-register-grid--split,
  .becas-register-grid--phone {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .becas-register-field input,
  .becas-register-field select,
  .becas-register-password,
  .becas-register-submit {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .becas-register-password input {
    min-height: 42px;
  }

  .becas-register-submit {
    min-width: 138px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
  }

  .becas-register-legal--desktop {
    display: none;
  }

  .becas-register-legal--mobile {
    display: inline-flex;
  }

  .becas-register-visual {
    min-height: 250px;
  }

  .becas-register-visual__shape {
    width: min(76%, 250px);
    height: 180px;
    transform: translateX(30%) rotate(8deg);
  }

  .becas-modal__dialog {
    width: min(420px, calc(100% - 28px));
    padding: 44px 20px;
  }
}
