/* ==========================================================
   Nexo Play — Iniciar sesión y Registro
   Valores de los frames "INICIAR SESION", "REGISTRO DE SESION"
   y el componente "REGISTRO Y ACTIVACIÓN DE SUSCRIPCION" en Figma
   ========================================================== */

:root {
  --blue: #10009e;
  --blue-night: #060038;
  --orange: #ff8300;
  --white: #ffffff;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background-color: var(--blue-night);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
/* Los paneles con display:flex pisan el atributo hidden si no se fuerza aquí */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Fondos: degradado azul + foto de catálogo encima */
.auth {
  min-height: 100vh;
  position: relative;
  background: linear-gradient(180deg, var(--blue-night) 0%, var(--blue) 100%);
  background-attachment: fixed;
}
.auth::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.auth--login::before {
  background-image: url("../assets/img/login-bg.webp");
  opacity: .18;
}
.auth--registro::before {
  background-image: url("../assets/img/registro-bg.webp");
  opacity: .55;
  mix-blend-mode: multiply;
}
.auth > * { position: relative; z-index: 1; }

/* Panel de vidrio */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(219, 219, 219, .06));
  border: 1.3px solid rgba(255, 255, 255, .45);
  border-radius: 46px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

/* Botones píldora */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, filter .15s ease;
}
.btn-pill:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-pill--orange {
  min-width: 168px;
  padding: 3px 20px;
  border-radius: 19px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
}
.btn-pill--blue {
  padding: 17px 18px;
  border-radius: 21px;
  background: var(--blue);
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill-title {
  display: inline-block;
  padding: 17px;
  border-radius: 28px;
  background: var(--blue);
  color: var(--orange);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
  text-transform: uppercase;
}
.pill-title--lg { padding: 19px; border-radius: 27px; font-size: 29px; }

/* ==========================================================
   LOGIN
   ========================================================== */
.login {
  min-height: 100vh;
  max-width: 1238px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
}

.login__panel {
  flex: 0 0 418px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.login__card {
  width: 400px;
  min-height: 639px;
  padding: 80px 28px 40px;
  border-radius: 42px;
  background: rgba(255, 255, 255, .78);
  color: var(--blue);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login__logo img { width: 92px; height: 109px; object-fit: contain; }

.login__title {
  margin-top: 38px;
  color: var(--orange);
  font-size: 33px;
  font-weight: 900;
  line-height: 40px;
  text-transform: uppercase;
}
.login__subtitle { font-size: 14.6px; font-weight: 500; }

.login__form {
  width: 100%;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.login__field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 14.5px;
  font-weight: 600;
}
.login__field input {
  width: 190px;
  padding: 4px 16px;
  border: 0;
  border-radius: 10.6px;
  background: #cdcdcd;
  color: var(--blue);
  font: 400 12.7px var(--font);
  text-align: center;
}
.login__field input::placeholder { color: #9f9c9c; }
.login__field input[type="password"] { font-size: 14px; }
.login__field input:focus { outline: 2px solid var(--blue); }

.login__forgot {
  margin-top: 16px;
  font-size: 11.8px;
  font-weight: 500;
}
.login__forgot:hover { text-decoration: underline; }
.login__submit {
  margin-top: 4px;
  padding: 4px 13px;
  border: 0;
  border-radius: 13px;
  background: var(--blue);
  color: var(--orange);
  font: 800 13px var(--font);
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s, filter .15s;
}
.login__submit:hover { transform: translateY(-1px); filter: brightness(1.2); }

.login__register {
  margin-top: 20px;
  color: #000;
  font-size: 13.2px;
  line-height: 23px;
  display: flex;
  flex-direction: column;
}
.login__register a { color: var(--blue); }
.login__register a:hover { text-decoration: underline; }

.login__copy { font-size: 18px; font-weight: 500; }

.login__art {
  flex: 0 1 785px;
  height: 703px;
  border-radius: 56px;
  overflow: hidden;
  background: #d9d9d9;
}
.login__art img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   REGISTRO
   ========================================================== */
.side-menu {
  position: fixed !important;
  left: max(16px, calc(50vw - 617px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 5 !important;
  width: 64px;
  padding: 18px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.side-menu a,
.side-menu button {
  width: 43px; height: 43px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .15s, color .15s;
}
.side-menu a:hover,
.side-menu button:hover { background: rgba(255, 255, 255, .15); color: var(--orange); }
.side-menu svg {
  width: 30px; height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps {
  min-height: 100vh;
  padding: 40px 20px 40px 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
}
.step {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  max-width: 1125px;
  display: none;
  flex-direction: column;
  align-items: center;
}
.step.is-active { display: flex; animation: step-in .35s ease both; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---- Paso 1: crea tu usuario ---- */
.account {
  width: 100%;
  min-height: 804px;
  padding: 44px 36px 44px 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.account__art {
  flex: 0 0 539px;
  height: 715px;
  border-radius: 55px;
  overflow: hidden;
}
.account__art img { width: 100%; height: 100%; object-fit: cover; }

.account__form {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.account__logo img { width: 103px; height: 122px; object-fit: contain; }
.account__title { font-size: 49px; font-weight: 700; line-height: 57px; }
.account__fields {
  width: 100%;
  max-width: 411px;
  padding: 21px 15px;
  display: flex;
  flex-direction: column;
  gap: 14.7px;
}
.account__fields input {
  width: 100%;
  height: 33px;
  padding: 0 16px;
  border: 0;
  border-radius: 20.5px;
  background: rgba(255, 255, 255, .28);
  color: var(--white);
  font: 300 19.5px var(--font);
  text-align: center;
}
.account__fields input::placeholder { color: var(--white); opacity: 1; }
.account__fields input:focus { outline: 2px solid var(--orange); background: rgba(255, 255, 255, .36); }
.account__login {
  font-size: 11.5px;
  line-height: 17px;
  display: flex;
  flex-direction: column;
}
.account__login strong { font-weight: 800; }
.account__login a:hover { text-decoration: underline; color: var(--orange); }

/* ---- Paso 2: planes ---- */
.reg-plans {
  display: flex;
  gap: 21px;
  justify-content: center;
  flex-wrap: wrap;
}
.reg-plan {
  width: 263px;
  min-height: 511px;
  padding: 27px 37px;
  border-radius: 45px;
  border: 4px solid transparent;
  background: var(--white);
  color: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, padding .2s ease;
}
.reg-plan:hover,
.reg-plan:focus-within {
  border-color: var(--orange);
  transform: translateY(-4px);
  padding-inline: 20px;
}

.reg-plan__head { width: 100%; display: flex; flex-direction: column; align-items: center; }
.reg-plan__head h2 {
  width: 100%;
  padding: 2px 8px;
  border-radius: 23px;
  background: var(--blue);
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
  line-height: 31px;
  white-space: nowrap;
}
.reg-plan__head span { font-size: 14px; font-weight: 700; }

.reg-plan__channels {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.reg-plan__channels b {
  min-width: 77px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--orange);
  font-size: 25.9px;
  font-weight: 900;
  text-align: center;
}
.reg-plan__channels p { font-size: 15px; line-height: 17px; }
.reg-plan__channels strong { display: block; font-size: 21px; font-weight: 900; text-transform: uppercase; }

.reg-plan__feature {
  width: 100%;
  padding: 4px 8px;
  border: 1px solid var(--blue);
  border-radius: 12.4px;
  font-size: 9.5px;
  line-height: 13px;
  color: var(--orange);
}
.reg-plan__feature strong {
  display: block;
  font-size: 18.5px;
  font-weight: 900;
  line-height: 20px;
}
.reg-plan__feature:last-of-type strong { text-transform: uppercase; }

.reg-plan__note { font-size: 10.5px; color: var(--blue); }
.reg-plan__stores { width: 189px; height: 33px; object-fit: contain; }

.reg-plan__price {
  width: 157px;
  height: 107px;
  border-radius: 29px;
  background: var(--blue);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}
.reg-plan__price span { align-self: flex-end; margin: 0 4px 30px 0; font-size: 20px; }
.reg-plan__price b { font-size: 56px; letter-spacing: -1px; }
.reg-plan__price sup { align-self: flex-end; margin-bottom: 32px; font-size: 16px; }

.reg-plan__cta {
  width: 100%;
  margin-top: auto;
  padding: 3px 10px;
  border: 0;
  border-radius: 15px;
  background: var(--blue);
  color: var(--orange);
  font-size: 11.3px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .15s;
}
.reg-plan__cta:hover { filter: brightness(1.3); }

/* ---- Paso 3: contenido +18 ---- */
.extras {
  position: relative;
  width: 100%;
  max-width: 945px;
  min-height: 483px;
  padding: 29px 64px 46px;
  border-radius: 51px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.extras__track {
  width: 100%;
  display: flex;
  gap: 13px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
          mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.extras__track::-webkit-scrollbar { display: none; }
.extras__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.extras__track.is-dragging .extra { pointer-events: none; }
.extras__track img { -webkit-user-drag: none; }

.extra {
  flex: 0 0 199px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.extra img {
  width: 185px;
  height: 251px;
  margin: 7px;
  border-radius: 27.6px;
  border: 2px solid transparent;
  object-fit: cover;
  background: #d9d9d9;
  filter: blur(4px);
  transition: filter .25s ease, border-color .2s ease;
}
.extra:hover img,
.extra.is-selected img { filter: none; }
.extra.is-selected img { border-color: var(--orange); }
.extra__add {
  padding: 7px;
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color .15s;
}
.extra.is-selected .extra__add { background: var(--orange); }

.cart {
  position: absolute;
  right: -42px;
  bottom: -40px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35);
}
.cart img { width: 70px; height: auto; }
.cart__count {
  position: absolute;
  top: 26px;
  right: 22px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 11px;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.cart.bump { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.12); } }

.step--extras .btn-pill--blue { margin-top: 42px; }

/* ---- Paso 4: método de pago ---- */
.payment {
  width: 100%;
  max-width: 1057px;
  min-height: 645px;
  padding: 85px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.payment__subtitle { font-size: 20.7px; font-weight: 900; text-transform: uppercase; }
.payment__options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 27px;
}
.pay-option {
  width: 231px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pay-option img {
  width: 100%;
  height: 256px;
  border-radius: 36px;
  border: 4px solid transparent;
  object-fit: cover;
  background: var(--white);
  transition: border-color .2s ease, transform .2s ease;
}
.pay-option span {
  padding: 0 8px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  line-height: 23px;
  transition: background-color .2s, color .2s;
}
.pay-option:hover img,
.pay-option:focus-visible img { border-color: var(--orange); transform: translateY(-3px); }
.pay-option:hover span,
.pay-option:focus-visible span { background: var(--orange); color: var(--blue); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .login__art { display: none; }
  .account__art { flex-basis: 40%; height: 560px; }
  .account { min-height: 0; padding-left: 36px; }
}

@media (max-width: 760px) {
  .login { padding: 24px 16px; }
  .login__panel { flex: 1 1 auto; width: 100%; }
  .login__card { width: 100%; max-width: 400px; min-height: 0; padding: 48px 20px 32px; }
  .login__copy { font-size: 14px; }

  .side-menu {
    top: auto;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 6px 14px;
    flex-direction: row;
    gap: 16px;
  }

  .steps { padding: 24px 16px 96px; place-items: start center; }
  .glass { border-radius: 32px; }

  .account { flex-direction: column; padding: 24px 16px 32px; }
  .account__art { display: none; }
  .account__title { font-size: 34px; line-height: 40px; }
  .account__fields { padding: 8px 0; }
  .account__fields input { font-size: 16px; }

  .reg-plan { width: 100%; max-width: 300px; }

  .extras { padding: 24px 16px 60px; border-radius: 32px; }
  .cart { width: 84px; height: 84px; right: 8px; bottom: -34px; }
  .cart img { width: 50px; }
  .cart__count { top: 16px; right: 14px; }

  .payment { padding: 40px 16px; }
  .pill-title--lg { font-size: 20px; padding: 14px 18px; }
  .pay-option { width: 100%; max-width: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .step.is-active { animation: none; }
}

/* ==========================================================
   Registro conectado a la API: campos, errores y planes dinámicos
   ========================================================== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.account__fields { gap: 10px; padding: 8px 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; display: flex; flex-direction: column; }
.field select,
.field input {
  width: 100%;
  height: 33px;
  padding: 0 14px;
  border: 1.5px solid transparent;
  border-radius: 20.5px;
  background: rgba(255, 255, 255, .28);
  color: var(--white);
  font: 300 16px var(--font);
  text-align: center;
}
.field input::placeholder { color: var(--white); opacity: .9; }
.field select { appearance: none; cursor: pointer; text-align-last: center; }
.field select option { color: #000; }
.field input:focus,
.field select:focus { outline: 2px solid var(--orange); background: rgba(255, 255, 255, .36); }
.field--date input { color-scheme: dark; }
.field__hint {
  position: absolute;
  top: -8px;
  left: 16px;
  font-size: 10px;
  line-height: 1;
  opacity: .85;
}
.field.has-error input,
.field.has-error select { border-color: #ff5a5a; background: rgba(255, 90, 90, .18); }
.field__error {
  margin-top: 2px;
  color: #ffd0d0;
  font-size: 11px;
  line-height: 1.2;
}

.form-alert {
  max-width: 420px;
  padding: 8px 16px;
  border-radius: 14px;
  background: rgba(255, 90, 90, .22);
  border: 1px solid rgba(255, 120, 120, .6);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.form-alert.is-ok { background: rgba(60, 200, 120, .22); border-color: rgba(90, 220, 140, .6); }

.step--plans { gap: 22px; }
.reg-plans__status { font-size: 16px; font-weight: 600; }
.reg-plan__list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reg-plan__list li {
  padding: 5px 8px;
  border: 1px solid var(--blue);
  border-radius: 12.4px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.reg-plan.is-preselected { border-color: var(--orange); }
.reg-plan__cta[disabled] { opacity: .7; cursor: progress; }
.reg-plan__cta.is-loading::after {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-left: 6px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Elegir plan + resumen antes de crear la cuenta */
.reg-plan { cursor: pointer; }
.reg-plan.is-selected {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 131, 0, .25);
}
.reg-plan.is-selected .reg-plan__cta { background: var(--orange); color: var(--blue); }

.plan-summary {
  width: 100%;
  max-width: 620px;
  margin-top: 4px;
  padding: 18px 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.plan-summary__text { font-size: 18px; line-height: 1.4; }
.plan-summary__text strong { color: var(--orange); font-weight: 800; }
.plan-summary__user { font-size: 13px; opacity: .85; }
.plan-summary .btn-pill--orange { min-width: 260px; padding: 8px 24px; }
.plan-summary .btn-pill--orange[disabled] { opacity: .7; cursor: progress; }

/* ==========================================================
   Paso 4: pago con QR
   ========================================================== */
.plan-summary__nota { font-size: 12px; opacity: .8; }

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  max-width: 460px;
}

.qr-code {
  padding: 16px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.qr-code img { width: 240px; height: 240px; image-rendering: pixelated; }

.qr-monto { font-size: 22px; }
.qr-monto strong { color: var(--orange); font-weight: 900; }
.qr-ref { font-size: 12px; opacity: .8; letter-spacing: .5px; }
.qr-timer { font-size: 16px; }
.qr-timer strong { color: var(--orange); font-variant-numeric: tabular-nums; }

.qr-estado {
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .16);
  font-size: 14px;
  font-weight: 600;
}
.qr-ayuda { font-size: 13px; line-height: 1.5; opacity: .9; max-width: 380px; }

.qr-spinner {
  width: 46px; height: 46px;
  border: 4px solid rgba(255, 255, 255, .3);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}

.qr-box--ok h3 { font-size: 26px; font-weight: 800; }
.qr-check {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: #2fbf71;
  color: var(--white);
  font-size: 42px;
  line-height: 74px;
  font-weight: 900;
}
.qr-box--ok .btn-pill { margin-top: 6px; }
.qr-box--error .form-alert { max-width: 380px; }

@media (max-width: 760px) {
  .qr-code { padding: 12px; border-radius: 18px; }
  .qr-code img { width: 200px; height: 200px; }
  .qr-monto { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-spinner { animation-duration: 3s; }
}


/* ==========================================================
   Mi cuenta
   ========================================================== */
.login__alert { max-width: 300px; margin-top: 10px; font-size: 12px; }

.cuenta-top {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cuenta-top__logo img { width: 58px; height: 69px; object-fit: contain; }

.cuenta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px 60px;
  display: grid;
  place-items: center;
}
.cuenta__panel {
  width: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cuenta__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cuenta__saludo { font-size: 16px; opacity: .85; }
.cuenta__cliente { font-size: 34px; font-weight: 800; line-height: 1.2; }
.cuenta__usuario { margin-top: 4px; font-size: 14px; opacity: .9; }
.cuenta__estado {
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .18);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.cuenta__estado.is-activo { background: #2fbf71; }

.cuenta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.dato {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dato__rotulo { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; opacity: .8; }
.dato__valor { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }

.cuenta__avisos { display: flex; flex-direction: column; gap: 8px; }
.cuenta__acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.cuenta__acciones .btn-pill { padding: 10px 20px; font-size: 14px; text-decoration: none; }

@media (max-width: 760px) {
  .cuenta__panel { padding: 22px 16px; border-radius: 26px; }
  .cuenta__cliente { font-size: 26px; }
  .cuenta__acciones .btn-pill { flex: 1 1 140px; justify-content: center; }
}

/* Recuperar contraseña: la tarjeta va centrada, sin la imagen lateral */
.login--solo { justify-content: center; }
.login--solo .login__card { padding-top: 56px; }
.login__card .qr-check { margin: 0 auto 10px; }
