/*
  REGISTRO / LOGIN - REDISENO 10-2026 (variante B del test A/B)
  Todas las clases llevan prefijo reg26-. No toca el CSS antiguo (.newRegisterImage ...).
  Los !important solo estan donde el JS antiguo escribe estilos en linea (color y fondo de
  botones y enlaces) o donde hay reglas globales con !important (.scrollingWrap .tooltipBox).
*/

/* ---------- contenedor del popup (overlay #registroUsuario2.scrollingWrap lo pone editas.php) ---------- */
.scrollingWrap .scrollingBox .tooltipBox.reg26 {
  --reg26-brand: #3533AD;
  --reg26-brand-dark: #2a2889;
  --reg26-ink: #17172b;
  --reg26-muted: #55556b;
  --reg26-soft: #8a8a9e;
  --reg26-line: #d7d7e0;
  --reg26-surface: #f4f4f7;
  --reg26-error: #d1253a;

  /* mismo esquema que el popup antiguo: capa a pantalla completa con data-simplebar (slider) y
     el modal centrado en .simplebar-content, que ya es flex por la regla global de .scrollingBox */
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  transform: none !important;
  z-index: 9999999;
  box-sizing: border-box;
  background: none;
  font-family: "PlusJakartaSans", Helvetica, Arial, sans-serif;
  color: var(--reg26-ink);
  -webkit-font-smoothing: antialiased;
}

.reg26 *,
.reg26 *::before,
.reg26 *::after {
  box-sizing: border-box;
}

.reg26 button,
.reg26 input {
  font-family: inherit;
}

.reg26 .reg26-hidden {
  display: none !important;
}

.scrollingWrap .scrollingBox .reg26 .simplebar-content {
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.scrollingWrap .scrollingBox .reg26 .simplebar-scroll-content {
  margin-bottom: 0 !important;
}

.reg26 .reg26-modal {
  position: relative;
  display: flex;
  flex: none;
  width: 1000px;
  max-width: calc(100% - 48px);
  /* 660 en ventanas altas; en las bajas se encoge para verse entero (ventana - 48 de margen)
     y solo por debajo de 540 aparece el slider */
  height: clamp(540px, calc(100vh - 48px), 660px);
  margin: 24px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

/* pantallas de menos de 1400 de ancho o menos de 1000 de alto: el popup nunca pasa de 1100 x 700.
   Con ancho >= 1400 y alto >= 1000 se queda con el tamano base de arriba. */
@media (max-width: 1399px), (max-height: 999px) {
  .reg26 .reg26-modal {
    max-width: min(1100px, calc(100% - 48px));
    max-height: 700px;
  }
}

/* ---------- cerrar ---------- */
.reg26 .reg26-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--reg26-surface);
  cursor: pointer;
  transition: background 0.15s ease;
}
.reg26 .reg26-close:hover {
  background: #e6e6ee;
}
.reg26 .reg26-close::before,
.reg26 .reg26-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2.2px;
  margin: -1.1px 0 0 -9px;
  border-radius: 2px;
  background: var(--reg26-ink);
}
.reg26 .reg26-close::before {
  transform: rotate(45deg);
}
.reg26 .reg26-close::after {
  transform: rotate(-45deg);
}

/* ---------- columna de imagen ---------- */
.reg26 .reg26-aside {
  position: relative;
  flex: 0 0 480px;
  overflow: hidden;
}
.reg26 .reg26-aside-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.reg26 .reg26-aside-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 16, 60, 0.88) 0%, rgba(20, 16, 60, 0.5) 30%, rgba(20, 16, 60, 0) 55%);
}
.reg26 .reg26-aside-content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reg26 .reg26-aside-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: pretty;
}
.reg26 .reg26-proof {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.reg26 .reg26-avatars {
  display: flex;
  flex: none;
}
.reg26 .reg26-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  color: var(--reg26-ink);
}
.reg26 .reg26-avatar + .reg26-avatar {
  margin-left: -10px;
}
.reg26 .reg26-avatar-1 { background: #f0a58c; }
.reg26 .reg26-avatar-2 { background: #8fb3e8; }
.reg26 .reg26-avatar-3 { background: #c9a3e8; }
.reg26 .reg26-avatar-4 { background: #f3d27a; }
.reg26 .reg26-proof-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.reg26 .reg26-stars {
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
  color: #ffb400;
}
.reg26 .reg26-proof-line {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.reg26 .reg26-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.reg26 .reg26-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

/* ---------- columna principal ---------- */
.reg26 .reg26-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 64px;
  overflow-y: auto;
}
.reg26 .reg26-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.reg26 .reg26-logo {
  align-self: flex-start;
  height: 28px;
  width: auto;
  flex: none;
  display:none;
}
.reg26 .reg26-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reg26 .reg26-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--reg26-ink);
  text-wrap: pretty;
}
.reg26 .reg26-title.header-smaller {
  font-size: 22px;
}
.reg26 .reg26-sub {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--reg26-muted);
}

/* ---------- botones ---------- */
.reg26 .reg26-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg26 .reg26-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1.5px solid var(--reg26-line);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--reg26-ink);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.reg26 .reg26-btn svg {
  flex: none;
}
.reg26 .reg26-btn:hover {
  border-color: var(--reg26-brand);
  background: #f8f8fd;
  color: var(--reg26-ink);
}
.reg26 .reg26-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(53, 51, 173, 0.25);
}
.reg26 .reg26-btn-main {
  border-color: var(--reg26-ink);
}
.reg26 .reg26-btn-guest {
  border-style: dashed;
  color: var(--reg26-muted);
}

/* el JS pone background-color inline (#2fada4) y display:block: se ignora el color, el display se compensa con line-height */
.reg26 .reg26-btn.reg26-btn-primary {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-color: var(--reg26-brand);
  border-radius: 10px;
  background: var(--reg26-brand) !important;
  box-shadow: 0 8px 20px rgba(53, 51, 173, 0.28);
  font-size: 16px;
  font-weight: 800;
  line-height: 49px;
  text-align: center;
  color: #fff;
}
.reg26 .reg26-btn.reg26-btn-primary:hover {
  border-color: var(--reg26-brand-dark);
  background: var(--reg26-brand-dark) !important;
  color: #fff;
}

/* ---------- textos legales y cambio login/registro ---------- */
.reg26 .reg26-legal p {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  color: var(--reg26-muted);
}
.reg26 .reg26-legal a {
  font-weight: 600;
  color: var(--reg26-brand);
  text-decoration: none;
}
.reg26 .reg26-legal a:hover {
  text-decoration: underline;
}
.reg26 .reg26-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.reg26 .reg26-switch a,
.reg26 .reg26-switch a#link_register_or_access {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--reg26-brand) !important;
  text-decoration: none !important;
  cursor: pointer;
}
.reg26 .reg26-switch a:hover,
.reg26 .reg26-switch a#link_register_or_access:hover {
  color: var(--reg26-brand-dark) !important;
  text-decoration: underline !important;
}
.reg26 .reg26-switch a#activateChat {
  font-weight: 600;
  color: var(--reg26-muted) !important;
}

/* ---------- paso 2: formulario de email ---------- */
.reg26 .reg26-head-email {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.reg26 .reg26-head-email .reg26-title {
  font-size: 26px;
}
.reg26 .reg26-back {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--reg26-surface);
  cursor: pointer;
  transition: background 0.15s ease;
}
.reg26 .reg26-back:hover {
  background: #e6e6ee;
}
.reg26 .reg26-back::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -3px;
  border-left: 2.2px solid var(--reg26-ink);
  border-bottom: 2.2px solid var(--reg26-ink);
  transform: rotate(45deg);
}
.reg26 .reg26-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.reg26 .reg26-msg {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--reg26-muted);
}
.reg26 .reg26-msg:has(#login_what_email:empty) {
  display: none;
}
.reg26 .reg26-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0;
  border: 1.5px solid var(--reg26-line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.reg26 .reg26-field:focus-within {
  border-color: var(--reg26-brand);
  box-shadow: 0 0 0 3px rgba(53, 51, 173, 0.15);
}
.reg26 .reg26-field input {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  outline: 0;
  box-shadow: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--reg26-ink);
  -webkit-appearance: none;
  appearance: none;
}
.reg26 .reg26-field input::placeholder {
  color: var(--reg26-soft);
  font-weight: 400;
}
.reg26 .reg26-field .reg26-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  margin: -18px 0 0;
  padding: 0;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2355556b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7S1 12 1 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / 20px no-repeat;
  cursor: pointer;
}
.reg26 .reg26-field-code .reg26-code-btn {
  flex: none;
  width: auto;
  height: 36px;
  margin: 0 8px 0 0;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: var(--reg26-brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 36px;
  color: #fff;
  cursor: pointer;
}

/* errores: el JS los muestra y oculta con style.display */
.reg26 .containerErrorP {
  width: 100%;
  min-height: 0 !important;
  margin: 0 !important;
}
.reg26 .containerErrorP p {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--reg26-error);
}
.reg26 .containerErrorP p:empty {
  display: none;
}

/* casillas */
.reg26 .reg26-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.reg26 .reg26-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.reg26 .reg26-check input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1.5px solid var(--reg26-line);
  border-radius: 5px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.reg26 .reg26-check input[type="checkbox"]:checked {
  border-color: var(--reg26-brand);
  background: var(--reg26-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.reg26 .reg26-check input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(53, 51, 173, 0.25);
}
.reg26 .reg26-check label {
  flex: 1;
  margin: 0 !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--reg26-muted);
  cursor: pointer;
}
.reg26 .reg26-check label span {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
}
.reg26 .reg26-check-terms {
  display: block;
  height: 0;
  overflow: hidden;
}

.reg26 .reg26-submit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.reg26 .reg26-oneuse {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-align: center;
  color: var(--reg26-soft);
}
.reg26 .reg26-oneuse a {
  font-size: 14px;
  font-weight: 700;
  color: var(--reg26-brand);
  text-decoration: none;
}
.reg26 .reg26-oneuse a:hover {
  text-decoration: underline;
}

/* ---------- pantallas medias ---------- */
@media (max-width: 1040px) and (min-width: 761px) {
  .reg26 .reg26-aside {
    flex-basis: 42%;
  }
  .reg26 .reg26-main {
    padding: 44px 36px;
  }
  .reg26 .reg26-title {
    font-size: 26px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .reg26 .reg26-main {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .reg26 .reg26-step {
    gap: 18px;
  }
}

/* ---------- movil: hoja inferior con banner arriba ---------- */
@media (max-width: 760px) {
  .scrollingWrap .scrollingBox .reg26 .simplebar-content {
    align-items: flex-end;
  }
  .reg26 .reg26-modal {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    border-radius: 20px 20px 0 0;
  }
  .reg26 .reg26-close {
    background: rgba(255, 255, 255, 0.92);
  }
  .reg26 .reg26-aside {
    flex: none;
    height: 190px;
  }
  .reg26 .reg26-aside-img {
    object-position: center 45%;
  }
  .reg26 .reg26-aside-shade {
    background: linear-gradient(0deg, rgba(20, 16, 60, 0.85) 0%, rgba(20, 16, 60, 0.2) 75%);
  }
  .reg26 .reg26-aside-content {
    left: 20px;
    right: 56px;
    bottom: 18px;
    gap: 10px;
  }
  .reg26 .reg26-aside-title {
    font-size: 19px;
  }
  .reg26 .reg26-proof {
    display: none;
  }
  .reg26 .reg26-chip {
    padding: 6px 9px;
    font-size: 11px;
  }
  .reg26 .reg26-main {
    flex: none;
    justify-content: flex-start;
    padding: 24px 20px 28px;
    overflow: visible;
  }
  .reg26 .reg26-step {
    gap: 18px;
  }
  .reg26 .reg26-logo {
    display: none;
  }
  .reg26 .reg26-title {
    font-size: 24px;
  }
  .reg26 .reg26-head-email .reg26-title {
    font-size: 21px;
  }
  .reg26 .reg26-sub {
    font-size: 15px;
  }
}



.not-valid .reg26 .reg26-resend a,
.not-valid .reg26 #botonValidateRegister + .get-code a {
  text-decoration: underline !important;
}

@media (max-width: 760px) {
  .scrollingWrap .scrollingBox .reg26[data-ab="register_10_2026_validate"] .simplebar-content {
    align-items: center;
  }
  .reg26 .reg26-modal.reg26-validate {
    width: calc(100% - 32px);
    max-width: 480px;
    margin: 16px;
    border-radius: 20px;
  }
  .reg26 .reg26-validate .reg26-aside-title {
    font-size: 22px;
  }
  .reg26 .reg26-validate .reg26-vtitle {
    display: none;
  }
  .reg26 .reg26-validate .reg26-main {
    padding: 22px 20px 24px;
  }
}











/* ===== Popup final (#congratulations): listado de checks y boton "Start designing" ===== */

/* listado */
#congratulations .re-design-doubleBlock .col-redesign .bloquer ul.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#congratulations .re-design-doubleBlock .col-redesign .bloquer ul.check-list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 14px;
  padding: 0 0 0 46px;
  font-family: 'PlusJakartaSans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: #17172b;
  text-align: left;
}
#congratulations .re-design-doubleBlock .col-redesign .bloquer ul.check-list li:last-of-type {
  margin-bottom: 0;
}
#congratulations .re-design-doubleBlock .col-redesign .bloquer ul.check-list li:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 32px;
  margin: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ececf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233533AD' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px 16px no-repeat !important;
}

/* boton (sin flecha) */
#congratulations .re-design-doubleBlock button.btn-rounded.pink-button:not([id^="suscribete_div_mkt"]) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  height: 54px;
  min-height: 54px;
  margin: 0;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: #3533AD;
  box-shadow: 0 8px 20px rgba(53, 51, 173, 0.28);
  font-family: 'PlusJakartaSans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  will-change: auto;
}
#congratulations .re-design-doubleBlock button.btn-rounded.pink-button:not([id^="suscribete_div_mkt"]):hover {
  background: #2a2889;
  box-shadow: 0 10px 24px rgba(53, 51, 173, 0.34);
}
#congratulations .re-design-doubleBlock button.btn-rounded.pink-button:not([id^="suscribete_div_mkt"]):active {
  background: #222070;
  box-shadow: 0 4px 12px rgba(53, 51, 173, 0.28);
}
#congratulations .re-design-doubleBlock button.btn-rounded.pink-button:not([id^="suscribete_div_mkt"]):before,
#congratulations .re-design-doubleBlock button.btn-rounded.pink-button:not([id^="suscribete_div_mkt"]):after {
  display: none;
}