﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100vh;
  display: flex;
  background: #fbfaf8;
}

.registro-contenedor {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.registro-izquierda {
  background: linear-gradient(135deg, #2f2a2c, #b62b5d 58%, #d9a4b8);
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 40px;
}

.logo-registro {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  background: white;
}

.registro-izquierda p {
  font-size: 18px;
  margin-bottom: 40px;
}

.beneficios {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.beneficio {
  background-color: rgba(255,255,255,0.2);
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 15px;
}

.registro-derecha {
  width: 55%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fbfaf8;
  padding: 40px;
}

.registro-caja {
  width: 100%;
  max-width: 480px;
  background: #fff;
  padding: 34px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(40,32,35,0.08);
}

.registro-caja h2 {
  color: #b62b5d;
  font-size: 32px;
  margin-bottom: 5px;
}

.registro-subtitulo {
  color: #888;
  margin-bottom: 25px;
  font-size: 15px;
}

.fila-doble {
  display: flex;
  gap: 15px;
}

.fila-doble .campo {
  flex: 1;
}

.campo {
  margin-bottom: 18px;
}

.campo label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
  font-weight: bold;
}

.campo input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.campo input:focus {
  border-color: #b62b5d;
  box-shadow: 0 0 0 3px rgba(182,43,93,0.15);
}

.terminos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #555;
}

.terminos input {
  width: 16px;
  height: 16px;
  accent-color: #b62b5d;
}

.boton-registro {
  width: 100%;
  padding: 14px;
  background-color: #b62b5d;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.boton-registro:hover {
  background-color: #8f2049;
  transform: scale(1.02);
}

.login-texto {
  text-align: center;
  color: #555;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 15px;
}

.login-texto a {
  color: #b62b5d;
  text-decoration: none;
  font-weight: bold;
}

.login-texto a:hover {
  text-decoration: underline;
}

.volver {
  display: block;
  text-align: center;
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.volver:hover {
  color: #b62b5d;
}

@media (max-width: 768px) {
  body { height: auto; }
  .registro-contenedor { flex-direction: column; min-height: auto; }
  .registro-izquierda { width: 100%; padding: 35px 20px 25px; }
  .logo-registro { width: 100px; height: 100px; }
  .registro-izquierda p { font-size: 15px; margin-bottom: 20px; }
  .beneficios { gap: 10px; }
  .beneficio { padding: 10px 18px; font-size: 14px; }
  .registro-derecha { width: 100%; padding: 25px 20px 40px; }
  .registro-caja h2 { font-size: 26px; }
  .fila-doble { flex-direction: column; gap: 0; }
}

/* PREMIUM AUTH POLISH */
body {
  color: #2f2a2c;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.registro-izquierda {
  position: relative;
  isolation: isolate;
  background: linear-gradient(140deg, rgba(47, 42, 44, 0.96), rgba(143, 32, 73, 0.9)), url("https://images.unsplash.com/photo-1509631179647-0177331693ae?w=1200&q=75") center/cover;
}

.registro-izquierda::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 45%);
  z-index: -1;
}

.logo-registro {
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 44px rgba(47, 42, 44, 0.22);
}

.registro-izquierda p {
  max-width: 360px;
  line-height: 1.45;
}

.beneficio {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.registro-caja {
  border: 1px solid #eadfda;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(47, 42, 44, 0.08);
}

.registro-caja h2 {
  color: #2f2a2c;
  line-height: 1.12;
}

.registro-subtitulo,
.login-texto,
.campo label,
.terminos {
  color: #756b70;
}

.campo input {
  min-height: 46px;
  border-color: #eadfda;
  background: #fff;
}

.campo input:focus {
  border-color: #8f2049;
  box-shadow: 0 0 0 4px rgba(143, 32, 73, 0.12);
}

.boton-registro {
  min-height: 48px;
  background: #2f2a2c;
  border-radius: 8px;
}

.boton-registro:hover {
  background: #8f2049;
  transform: translateY(-1px);
}

.login-texto a,
.volver:hover {
  color: #8f2049;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(143, 32, 73, 0.28);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .registro-izquierda {
    min-height: 290px;
  }

  .registro-derecha {
    align-items: flex-start;
  }

  .registro-caja {
    padding: 28px 22px;
  }
}

/* AUTH EXPERIENCE FINAL */
:root {
  --auth-ink: #2f2a2c;
  --auth-muted: #756b70;
  --auth-brand: #b62b5d;
  --auth-brand-dark: #8f2049;
  --auth-line: #eadfda;
  --auth-soft: #fbfaf8;
  --auth-blush: #f7f1ee;
  --auth-gold: #c9a45c;
  --auth-shadow: 0 24px 70px rgba(47, 42, 44, 0.10);
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(182, 43, 93, 0.07), transparent 28%),
    linear-gradient(135deg, #fbfaf8 0%, #f7f1ee 100%);
}

.registro-contenedor {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 42px);
}

.registro-izquierda,
.registro-derecha {
  min-height: calc(100vh - clamp(36px, 8vw, 84px));
}

.registro-izquierda {
  width: 46%;
  align-items: flex-start;
  padding: clamp(34px, 5vw, 70px);
  border-radius: 18px 0 0 18px;
  overflow: hidden;
  text-align: left;
}

.registro-izquierda::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  pointer-events: none;
}

.logo-registro {
  width: 88px;
  height: 88px;
  margin: 0 0 24px;
}

.auth-eyebrow,
.auth-form-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--auth-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registro-izquierda h1 {
  max-width: 430px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.06;
  letter-spacing: 0;
}

.registro-izquierda p {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.beneficios {
  width: min(100%, 380px);
  margin-top: auto;
}

.beneficio {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.beneficio i {
  width: 18px;
  color: var(--auth-gold);
}

.registro-derecha {
  width: 54%;
  padding: clamp(24px, 4vw, 58px);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--auth-shadow);
  backdrop-filter: blur(18px);
}

.registro-caja {
  max-width: 500px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.registro-caja h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: 0;
}

.registro-subtitulo {
  max-width: 390px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.fila-doble {
  gap: 12px;
}

.campo {
  margin-bottom: 14px;
}

.campo label {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
}

.campo input {
  height: 48px;
  padding: 0 15px;
  border-radius: 10px;
  color: var(--auth-ink);
  font-family: inherit;
}

.campo input::placeholder {
  color: #b5aaae;
}

.terminos {
  align-items: flex-start;
  margin: 4px 0 18px;
  line-height: 1.45;
}

.terminos input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.boton-registro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  box-shadow: 0 14px 28px rgba(47, 42, 44, 0.16);
}

.boton-registro:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.login-texto {
  margin-top: 22px;
}

.volver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  color: var(--auth-muted);
  background: #fff;
  font-weight: 600;
}

.volver:hover {
  border-color: #d9c7c0;
  background: var(--auth-blush);
  text-decoration: none;
}

.notificacion-form {
  border-radius: 10px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .registro-contenedor {
    display: block;
    padding: 0;
  }

  .registro-izquierda,
  .registro-derecha {
    width: 100%;
    min-height: auto;
    border-radius: 0;
  }

  .registro-izquierda {
    padding: 30px 22px;
  }

  .registro-izquierda::before {
    inset: 12px;
  }

  .logo-registro {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .registro-izquierda h1 {
    font-size: 29px;
  }

  .beneficios {
    margin-top: 14px;
    gap: 8px;
  }

  .beneficio {
    padding: 10px 12px;
  }

  .registro-derecha {
    padding: 30px 20px 42px;
    box-shadow: none;
  }

  .registro-caja {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .fila-doble {
    display: block;
  }
}

/* DESKTOP HEIGHT BALANCE */
@media (min-width: 981px) {
  body {
    overflow: hidden;
  }

  .registro-contenedor {
    height: 100vh;
    min-height: 680px;
    padding: clamp(14px, 2.8vw, 28px);
  }

  .registro-izquierda,
  .registro-derecha {
    min-height: 0;
    height: 100%;
  }

  .registro-izquierda {
    padding: clamp(28px, 4vw, 54px);
  }

  .registro-izquierda::before {
    inset: 16px;
  }

  .logo-registro {
    width: 78px;
    height: 78px;
    margin-bottom: 18px;
  }

  .registro-izquierda h1 {
    font-size: clamp(32px, 3.1vw, 44px);
  }

  .registro-derecha {
    padding: clamp(22px, 3.4vw, 46px);
    overflow-y: auto;
  }

  .registro-subtitulo {
    margin-bottom: 18px;
  }

  .campo {
    margin-bottom: 12px;
  }

  .campo input {
    height: 46px;
  }

  .beneficios {
    gap: 10px;
  }

  .beneficio {
    padding: 10px 12px;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .registro-contenedor {
    min-height: 620px;
    padding: 12px;
  }

  .registro-izquierda,
  .registro-derecha {
    padding: 28px 42px;
  }

  .registro-caja h2 {
    font-size: 34px;
  }

  .login-texto {
    margin-top: 16px;
  }
}

/* MOBILE PREMIUM PASS */
@media (max-width: 980px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    min-width: 320px;
    display: block;
  }

  .registro-contenedor {
    min-height: 100svh;
    background: linear-gradient(180deg, rgba(47, 42, 44, 0.03), rgba(247, 241, 238, 0.82));
  }

  .registro-izquierda {
    min-height: 0;
    padding: 26px 20px 22px;
  }

  .registro-izquierda::before {
    inset: 10px;
    border-radius: 12px;
  }

  .logo-registro {
    width: 64px;
    height: 64px;
    margin-bottom: 14px;
  }

  .auth-eyebrow,
  .auth-form-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .registro-izquierda h1 {
    max-width: 11ch;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.04;
  }

  .registro-izquierda p {
    max-width: 30ch;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .beneficios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 18px;
    gap: 8px;
  }

  .beneficio {
    min-width: 0;
    padding: 9px 10px;
    gap: 8px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.3;
  }

  .beneficio i {
    width: 15px;
    font-size: 13px;
  }

  .registro-derecha {
    padding: 22px 18px 34px;
    background: transparent;
  }

  .registro-caja {
    max-width: 480px;
    padding: 22px 18px;
    border: 1px solid var(--auth-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 38px rgba(47, 42, 44, 0.08);
    backdrop-filter: blur(14px);
  }

  .registro-caja h2 {
    margin-bottom: 8px;
    font-size: clamp(27px, 8vw, 34px);
  }

  .registro-subtitulo {
    max-width: 32ch;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.55;
  }

  .fila-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .campo {
    margin-bottom: 12px;
  }

  .campo label {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .campo input {
    height: 45px;
    min-height: 45px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 15px;
  }

  .terminos {
    gap: 9px;
    margin: 2px 0 15px;
    font-size: 12px;
  }

  .terminos input {
    width: 18px;
    height: 18px;
  }

  .boton-registro {
    min-height: 46px;
    border-radius: 9px;
    font-size: 15px;
  }

  .login-texto {
    margin: 17px 0 12px;
    font-size: 13px;
  }

  .volver {
    min-height: 40px;
    border-radius: 9px;
    font-size: 12px;
  }

  .notificacion-form {
    padding: 11px 14px;
    font-size: 13px;
  }
}

@media (max-width: 560px) {
  .registro-izquierda {
    padding: 22px 18px 20px;
  }

  .beneficios {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .beneficio {
    min-height: 38px;
  }

  .registro-derecha {
    padding: 18px 14px 28px;
  }

  .registro-caja {
    padding: 20px 16px;
  }

  .fila-doble {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 390px) {
  .registro-izquierda h1,
  .registro-caja h2 {
    font-size: 26px;
  }

  .registro-subtitulo,
  .registro-izquierda p {
    font-size: 13px;
  }

  .registro-caja {
    padding: 18px 14px;
  }
}

