/* =============================================================
   AEEB — Estilos de autenticación (Login + Suscripción)
   ============================================================= */
html, body.aeeb{ margin:0; padding:0; }
.aeeb-auth{
  min-height: 640px;
  width: 100%;
  display:grid;
  grid-template-columns: 1fr 440px;
  background:#fff;
  font-family: var(--aeeb-font-body);
}
.aeeb-auth__visual{
  position:relative;
  overflow:hidden;
  background:#1c1c1c center/cover no-repeat;
  display:flex; flex-direction:column; justify-content:center;
  padding: 0;
  color:#fff;
  isolation:isolate;
  min-height: 640px;
}
.aeeb-auth__visual > div{
  padding: 40px 64px;
  max-width: 640px;
}
.aeeb-auth__visual::before{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 60%);
  z-index:1;
  pointer-events:none;
}
.aeeb-auth__visual > *{
  position:relative;
  z-index:2;
}
.aeeb-auth__visual h1{
  font-family: var(--aeeb-font-head);
  font-weight:700; font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color:#fff;
  letter-spacing:-.02em;
  max-width: 720px;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.aeeb-auth__visual p.sub{
  margin-top:14px; max-width:520px; color: rgba(255,255,255,.95);
  font-size:17px; line-height:1.55;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.aeeb-auth__panel{
  padding: 100px 64px;
  display:flex; flex-direction:column; gap:36px;
  max-width: 520px; width:100%; margin:0 auto;
}
.aeeb-auth__brand{
  display:flex; align-items:center; gap:14px;
}
.aeeb-auth__brand .logo{
  width:56px; height:56px; border-radius:50%;
  background: var(--aeeb-purple); border:3px solid var(--aeeb-orange);
  overflow:hidden;
}
.aeeb-auth__brand .logo img{ width:100%; height:100%; object-fit:cover; }
.aeeb-auth__brand span{
  font-family:"Poppins", var(--aeeb-font-head); font-weight:700;
  font-size:20px; color:var(--aeeb-ink);
}
.aeeb-auth__title{
  font-family:"Poppins", var(--aeeb-font-head); font-weight:700;
  font-size:20px; color:#1a1a1a;
}
.aeeb-auth__subtitle{
  margin-top:4px; color:#666; font-size:14px;
}
.aeeb-field{ display:flex; flex-direction:column; gap:8px; }
.aeeb-field label{
  font-family: var(--aeeb-font-body);
  font-size:11px; letter-spacing:.3px;
  color:#333; padding:0 16px;
}
.aeeb-field label .req{ color: #FF383C; margin-left:2px; }
.aeeb-field .input-wrap{ position:relative; }
.aeeb-field input, .aeeb-field select{
  width:100%; height:48px;
  background: #F2F2F2; border:.5px solid #E5E5E5;
  border-radius:6px;
  padding: 8px 44px 8px 16px;
  font-family: var(--aeeb-font-body); font-size:14px; color:#1a1a1a;
  outline:none; transition: border .2s, background .2s;
}
.aeeb-field input::placeholder{ color:#8a8a8a; font-size:11px; letter-spacing:.3px; }
.aeeb-field input:focus, .aeeb-field select:focus{
  border-color: var(--aeeb-purple); background:#fff;
}
.aeeb-field .input-wrap .eye{
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  width:24px; height:24px; border:none; background:transparent; cursor:pointer;
  color:#4D4D4D; display:inline-flex; align-items:center; justify-content:center;
}
.aeeb-field__hint{ font-size:11px; margin-top:4px; padding:0 16px; letter-spacing:.3px; }
.aeeb-field__hint.is-error{ color:#FF383C; }
.aeeb-field__hint.is-warn{ color:#FF8C00; }
.aeeb-field__hint.is-ok{ color:#26A212; }

.aeeb-auth__form{ display:flex; flex-direction:column; gap:20px; }
.aeeb-auth__grid{
  display:grid; grid-template-columns: 1fr 1fr; gap:16px;
}
.aeeb-auth__row{
  display:flex; justify-content:space-between; align-items:center;
  font-size:12px; color:#4D4D4D;
}
.aeeb-auth__row a{ color: var(--aeeb-purple); font-weight:600; }
.aeeb-auth__check{ display:flex; align-items:center; gap:8px; }
.aeeb-auth__check input{ width:16px; height:16px; accent-color: var(--aeeb-purple); }

.aeeb-auth__cta{
  width:100%; height:44px; border:none; cursor:pointer;
  background: var(--aeeb-lime); color:#393E00;
  border-radius:4px;
  font-family:"Inter", var(--aeeb-font-body); font-weight:600; font-size:16px;
  transition: transform .15s, background .2s;
}
.aeeb-auth__cta:hover{ background:#C9ED00; }
.aeeb-auth__sep{
  display:flex; align-items:center; gap:12px;
  color:#999; font-size:12px;
  margin: 4px 0;
}
.aeeb-auth__sep::before,
.aeeb-auth__sep::after{ content:""; flex:1; height:1px; background:#E5E5E5; }

.aeeb-auth__google{
  width:100%; height:40px; border:none; cursor:pointer;
  background:#333; color:#fff;
  border-radius:6px;
  font-family: var(--aeeb-font-body); font-size:12px; letter-spacing:.3px;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  transition: background .2s;
}
.aeeb-auth__google:hover{ background:#1F1F1F; }
.aeeb-auth__google .g{
  width:20px; height:20px;
  display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.aeeb-auth__google .g svg{ width:20px; height:20px; display:block; }
.aeeb-auth__foot{
  margin-top:auto; padding-top:24px;
  text-align:center;
  font-size:13px; color:#666;
}
.aeeb-auth__foot a{ color: var(--aeeb-purple); font-weight:600; }

/* stepper de suscripción */
.aeeb-steps{ display:flex; gap:6px; margin-bottom:8px; }
.aeeb-steps span{
  flex:1; height:4px; border-radius:2px; background:#E5E5E5;
}
.aeeb-steps span.is-active{ background: var(--aeeb-lime); }
.aeeb-steps span.is-done{ background: var(--aeeb-purple); }
.aeeb-step-label{
  font-size:11px; color:#666; letter-spacing:.3px;
  font-family: var(--aeeb-font-body);
}

/* Bloque beneficios/cuota dentro de suscripción */
.aeeb-auth__benefits{
  margin-top: 32px;
  padding: 28px;
  background: var(--aeeb-paper);
  border: 1px solid var(--aeeb-line);
  border-radius: 12px;
}
.aeeb-auth__benefits h3{
  font-family: var(--aeeb-font-head);
  font-weight: 700; font-size: 18px;
  color: var(--aeeb-ink);
  margin-bottom: 6px;
}
.aeeb-auth__benefits > p{
  color:#666; font-size:13px; line-height:1.55;
  margin-bottom: 18px;
}
.aeeb-auth__benefits ul{
  list-style:none; padding:0; margin:0;
  display:flex; flex-direction:column; gap:12px;
}
.aeeb-auth__benefits li{
  display:grid; grid-template-columns: 28px 1fr; gap:10px;
  align-items:flex-start;
  font-size:13px; color: var(--aeeb-ink);
  line-height:1.5;
}
.aeeb-auth__benefits li::before{
  content:"✓";
  width:22px; height:22px; border-radius:50%;
  background: var(--aeeb-lime); color:#393E00;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:800;
  margin-top:1px;
}
.aeeb-auth__quota{
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--aeeb-ink);
  color:#fff;
  border-radius: 10px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
}
.aeeb-auth__quota .amount{
  font-family: var(--aeeb-font-head);
  font-weight: 800; font-size: 26px;
  color: var(--aeeb-lime);
  line-height:1;
}
.aeeb-auth__quota .amount small{
  font-size:12px; font-weight:500; color: rgba(255,255,255,.7);
  margin-left:4px;
}
.aeeb-auth__quota .quota-label{
  font-size:12px; color: rgba(255,255,255,.7);
  margin-bottom:2px;
  letter-spacing:.3px; text-transform: uppercase;
}
.aeeb-auth__quota .quota-note{
  font-size:12px; color: rgba(255,255,255,.75);
  max-width: 220px; line-height:1.45;
  text-align:right;
}

@media (max-width: 640px){
  .aeeb-auth{ grid-template-columns: 1fr; }
  .aeeb-auth__visual{ min-height:320px; padding:48px 32px; }
  .aeeb-auth__visual h1{ font-size: 56px; }
  .aeeb-auth__panel{ padding: 48px 28px; }
}
@media (max-width: 560px){
  .aeeb-auth__grid{ grid-template-columns: 1fr; }
  .aeeb-auth__visual{ min-height:240px; padding:36px 24px; }
  .aeeb-auth__visual h1{ font-size: 44px; }
}
/* =============================================================
   NUEVOS BLOQUES VISUALES (SUSCRIPCIÓN)
   ============================================================= */

/* Convertir la pantalla entera en un fondo oscuro para la tarjeta */
body.aeeb {
  background-color: #222; /* Fondo oscuro exterior */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* Ajustes a la tarjeta principal para que flote como un modal */
.aeeb-auth {
  max-width: 1400px; /* Más ancha para que quepa todo */
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.6);
  grid-template-columns: 1.4fr 450px; /* Columna izq más ancha */
}

.aeeb-auth__visual {
  justify-content: flex-start;
  padding: 60px 50px;
}

.aeeb-auth__visual h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: none;
}

/* Caja de texto blanca (Intro) */
.aeeb-intro-box {
  background: #ffffff;
  color: #1a1a1a;
  padding: 16px 24px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Títulos secundarios ("Por una cuota...", "Los asociados...") */
.aeeb-section-title {
  font-size: 20px;
  font-weight: 600;
  margin-top: 36px !important;
  margin-bottom: 16px !important	;
  color: #ffffff !important;
}

/* Grid de Cuotas (Moradas) */
.aeeb-quota-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.aeeb-quota-card {
  background: #6a5acd; /* Morado AEEB */
  padding: 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.aeeb-quota-card .price-text {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.aeeb-quota-btn {
  background: #d4f11e; /* Lima / Amarillo */
  color: #121212;
  border: none;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-decoration: none;
  flex: 1;
}

/* Grid de Ventajas (Beige) */
.aeeb-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.aeeb-benefit-card {
  background: #fff8e1; /* Beige claro */
  color: #1a1a1a;
  padding: 16px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
}

/* Ajustes a los pasos del formulario (Círculos) */
.aeeb-steps-circles {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 200px;
  margin: 0 auto 30px auto;
}
.aeeb-steps-circles::before {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 2px; background: #e5e5e5;
  z-index: 1; transform: translateY(-50%);
}
.aeeb-step-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e5e5;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: #999;
  position: relative; z-index: 2;
}
.aeeb-step-dot.is-active {
  background: #0056b3; /* Azul AEEB */
  border-color: #0056b3;
  color: #fff;
}

/* Responsive adicional */
@media (max-width: 1024px) {
  .aeeb-auth { grid-template-columns: 1fr; }
  .aeeb-quota-grid, .aeeb-benefits-grid { grid-template-columns: 1fr; }
}
/* =============================================================
   AJUSTE A PANTALLA COMPLETA (FULL-BLEED)
   ============================================================= */

/* Solo afecta a las páginas con la clase aeeb-auth-page */
body.aeeb-auth-page {
  padding: 0 !important;
  margin: 0;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.aeeb-auth {
  max-width: 100% !important;
  width: 100%;
  min-height: 100vh; /* Fuerza a que ocupe el 100% de la altura de la ventana */
  border-radius: 0 !important; /* Quitamos los bordes redondeados */
  box-shadow: none !important;
}

/* Centramos el formulario verticalmente para aprovechar el nuevo espacio */
.aeeb-auth__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px; 
}

/* Le damos un poco más de aire lateral al fondo del balón */
.aeeb-auth__visual {
  padding: 80px;
}

/* Ajuste para pantallas más pequeñas */
@media (max-width: 1024px) {
  .aeeb-auth__visual, .aeeb-auth__panel {
    padding: 40px;
  }
}

/* =============================================================
   AMPLIAR Y CENTRAR CONTENIDO DE LA IZQUIERDA
   ============================================================= */

.aeeb-auth__visual > div {
  max-width: 850px !important; /* Hace que los bloques sean mucho más anchos */
  margin: 0 auto !important;   /* Centra todo el bloque perfectamente */
  width: 100%;
}
