/* XANY UI Contract — Cuenta: páginas y secciones (overview, subpages, forms, rewards) */
/* Shell polish (!important) permanece en xany-v2-app-shell.css                         */


/* ══════════════════════════════════════════════
   OVERVIEW PAGE
   ══════════════════════════════════════════════ */

/* ─── shell ─── */
.xany-account-overview-shell {
  width: min(100%, 1200px);
  display: grid;
  gap: 12px;
  align-content: start;
}

/* ─── shared surface: hero / card / activity ─── */
.xany-account-overview-hero,
.xany-account-overview-card,
.xany-account-overview-activity {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,250,255,.90));
  border: 1px solid rgba(139,92,246,.14);
  box-shadow: 0 18px 48px rgba(15,23,42,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ─── hero layout ─── */
.xany-account-overview-hero {
  min-height: 240px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
  gap: 24px;
  align-items: stretch;
  isolation: isolate;
}

.xany-account-overview-hero::before,
.xany-account-overview-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.xany-account-overview-hero::before {
  width: 420px;
  height: 420px;
  right: -90px;
  top: -180px;
  background: radial-gradient(circle, rgba(139,92,246,.18), rgba(30,185,255,.08) 45%, transparent 70%);
}

.xany-account-overview-hero::after {
  width: 380px;
  height: 380px;
  left: -120px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(139,92,246,.10), rgba(255,255,255,0) 70%);
}

.xany-account-overview-hero-copy,
.xany-account-overview-hero-panel {
  position: relative;
  z-index: 1;
}

/* ─── kicker pill ─── */
.xany-account-overview-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(139,92,246,.12);
  color: #7c3aed;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── title / subtitle (text-wrap; color/size overridden by shell polish) ─── */
.xany-account-overview-title {
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255,255,255,.72);
}

.xany-account-overview-subtitle {
  text-wrap: pretty;
}

/* ─── hero right panel ─── */
.xany-account-overview-hero-panel {
  align-self: stretch;
  padding: 24px 24px 22px;
  border-radius: 28px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(245,243,255,.82));
  border: 1px solid rgba(139,92,246,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 14px 30px rgba(109,40,217,.08);
}

.xany-account-overview-hero-eyebrow,
.xany-account-overview-card-label,
.xany-account-overview-activity-head small,
.xany-account-overview-activity-columns span {
  color: #64748b;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.xany-account-overview-hero-panel strong {
  color: #111827;
  font-size: 28px;
  line-height: 1.02;
  font-weight: 1000;
  letter-spacing: -.05em;
}

.xany-account-overview-hero-panel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 700;
}

/* ─── hero orb ─── */
.xany-account-overview-hero-orb {
  width: 100%;
  min-height: 88px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 22% 38%, rgba(139,92,246,.26), transparent 32%),
    radial-gradient(circle at 76% 32%, rgba(30,185,255,.20), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(243,244,255,.76));
  border: 1px solid rgba(139,92,246,.12);
}

/* ─── metrics grid ─── */
.xany-account-overview-metrics {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

/* ─── metric cards ─── */
.xany-account-overview-card {
  min-height: 158px;
  padding: 20px;
  border-radius: 28px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.xany-account-card-points,
.xany-account-card-bucks {
  grid-column: span 6;
}

.xany-account-card-balance,
.xany-account-card-orders,
.xany-account-card-tickets {
  grid-column: span 4;
}

.xany-account-overview-card::before {
  content: "";
  position: absolute;
  inset: auto -34px -40px auto;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139,92,246,.13), rgba(30,185,255,.06) 48%, transparent 72%);
  pointer-events: none;
}

.xany-account-overview-card-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.xany-account-overview-card-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .02em;
  background:
    linear-gradient(135deg, rgba(255,255,255,.30), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #8b5cf6, #1eb9ff);
  box-shadow: 0 14px 24px rgba(109,40,217,.18);
}

.xany-account-overview-card-head small {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
}

.xany-account-overview-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #111827;
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 1000;
}

@media (hover: hover) and (pointer: fine) {
  .xany-account-overview-card:hover {
    transform: translateY(-2px);
    border-color: rgba(139,92,246,.24);
    box-shadow: 0 22px 52px rgba(15,23,42,.08);
  }
}

/* ─── activity ─── */
.xany-account-overview-activity {
  padding: 12px;
  border-radius: 24px;
}

.xany-account-overview-activity-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  padding: 2px 4px 8px;
}

.xany-account-overview-activity-head span {
  display: block;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.xany-account-overview-activity-head small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
}

/* ─── activity rows: definicion sobre la card (light) ─── */
.xany-home-v2-platform .xany-account-activity-row {
  border-color: rgba(15, 23, 42, .08);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
}

.xany-home-v2-platform .xany-account-activity-row:hover {
  border-color: rgba(124, 58, 237, .34);
  background: rgba(245, 240, 255, .92);
}

/* ─── empty state ─── */
.xany-account-overview-empty {
  margin: 10px;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px dashed rgba(139,92,246,.18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248,250,252,.9), rgba(255,255,255,.82));
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 900;
  text-align: center;
}

/* ─── responsive ─── */
@media (max-width: 1180px) {
  .xany-account-overview-hero {
    grid-template-columns: 1fr;
  }
}


/* ── overview polish (no !important — shell polish la sobreescribe) ── */

/* animation: settle */
.xany-home-v2-platform.is-account-overview-mode .xany-account-overview-shell {
  animation: xanyAccountOverviewSettle .34s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes xanyAccountOverviewSettle {
  from { opacity: .88; transform: translateY(10px) scale(.992); }
  to   { opacity: 1;   transform: translateY(0)    scale(1); }
}

/* hero polish */
.xany-account-overview-hero {
  min-height: 252px;
  box-shadow:
    0 24px 70px rgba(15,23,42,.065),
    inset 0 1px 0 rgba(255,255,255,.86);
}

.xany-account-overview-hero::before {
  opacity: .92;
  filter: blur(.2px);
}

.xany-account-overview-hero-copy::after {
  content: "";
  display: block;
  width: min(360px, 62%);
  height: 3px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139,92,246,.95), rgba(30,185,255,.78), rgba(255,255,255,0));
  box-shadow: 0 10px 22px rgba(30,185,255,.12);
}

.xany-account-overview-kicker {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 10px 24px rgba(109,40,217,.08);
}

.xany-account-overview-hero-panel {
  overflow: hidden;
  min-height: 178px;
}

.xany-account-overview-hero-panel::before {
  content: "";
  position: absolute;
  inset: -70px -62px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139,92,246,.22), rgba(30,185,255,.08) 50%, transparent 70%);
  pointer-events: none;
}

.xany-account-overview-hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0) 40%),
    linear-gradient(135deg, rgba(139,92,246,.20), rgba(30,185,255,.14));
  border: 1px solid rgba(139,92,246,.12);
  transform: rotate(8deg);
  pointer-events: none;
}

.xany-account-overview-hero-eyebrow {
  color: #7c3aed;
}

.xany-account-overview-metrics {
  align-items: stretch;
}

.xany-account-overview-card {
  isolation: isolate;
  box-shadow:
    0 18px 44px rgba(15,23,42,.055),
    inset 0 1px 0 rgba(255,255,255,.82);
}

.xany-account-overview-card::after {
  content: "\203A";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #7c3aed;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  background: rgba(245,243,255,.86);
  border: 1px solid rgba(139,92,246,.12);
  opacity: .86;
  transform: translateX(0);
  transition: transform .18s ease, opacity .18s ease, background .18s ease;
  z-index: 2;
}

.xany-account-card-points .xany-account-overview-card-icon {
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #6d28d9, #1eb9ff);
}

.xany-account-card-bucks .xany-account-overview-card-icon {
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #8b5cf6, #22c55e);
}

.xany-account-card-balance .xany-account-overview-card-icon {
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #1eb9ff, #8b5cf6);
}

.xany-account-card-orders .xany-account-overview-card-icon {
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #7c3aed, #f472b6);
}

.xany-account-card-tickets .xany-account-overview-card-icon {
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), rgba(255,255,255,0) 36%),
    linear-gradient(135deg, #0ea5e9, #6d28d9);
}

.xany-account-overview-card-head small,
.xany-account-overview-card-label {
  max-width: calc(100% - 28px);
}

.xany-account-overview-card strong {
  padding-right: 34px;
}

@media (hover: hover) and (pointer: fine) {
  .xany-account-overview-card:hover::after {
    opacity: 1;
    transform: translateX(2px);
    background: #f5f3ff;
  }
}

.xany-account-overview-activity {
  box-shadow:
    0 22px 62px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.86);
}

.xany-account-overview-activity-head span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.xany-account-overview-activity-head span::before {
  content: "";
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .22);
  background-color: rgba(248, 250, 252, .84);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364758b' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86);
}

.xany-account-overview-empty::before {
  content: "";
  width: 34px;
  height: 34px;
  display: block;
  margin: 0 auto 8px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, .22);
  background-color: rgba(245, 243, 255, .72);
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 19V5'/%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='m7 16 4-4 3 3 5-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
}

.xany-account-overview-empty {
  align-content: center;
}

@media (max-width: 860px) {
  .xany-account-overview-hero::before {
    right: -160px;
  }
  .xany-account-overview-hero-panel {
    display: none;
  }
  .xany-account-overview-card::after {
    top: 14px;
    right: 14px;
  }
  .xany-account-overview-card strong {
    padding-right: 24px;
  }
}


/* ══════════════════════════════════════════════
   SECTION PANEL — SISTEMA DE ANIMACIÓN
   ══════════════════════════════════════════════ */

.xany-account-section-panel.is-active-account-section {
  animation: xanyAccountSectionIn .28s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes xanyAccountSectionIn {
  from { opacity: 0; transform: translateY(8px) scale(.995); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.xany-account-section-panel {
  transform-origin: top center;
  will-change: opacity, transform, filter;
}

.xany-account-section-panel.is-account-section-entering {
  animation: xanyAccountPanelEnter .48s cubic-bezier(.2,.8,.2,1) both;
}

.xany-account-section-panel.is-account-section-leaving {
  animation: xanyAccountPanelLeave .24s ease both;
  pointer-events: none;
}

.xany-account-section-panel.is-account-section-entering .xany-account-overview-hero,
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-hero,
.xany-account-section-panel.is-account-section-entering .xany-account-overview-activity,
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-panel {
  animation: xanyAccountBlockRise .52s cubic-bezier(.2,.8,.2,1) both;
}

.xany-account-section-panel.is-account-section-entering .xany-account-overview-metrics > *,
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-grid > *,
.xany-account-section-panel.is-account-section-entering .xany-account-reward-grid > *,
.xany-account-section-panel.is-account-section-entering .xany-account-flow-steps > * {
  animation: xanyAccountCardCascade .46s cubic-bezier(.2,.8,.2,1) both;
}

.xany-account-section-panel.is-account-section-entering .xany-account-overview-metrics > *:nth-child(1),
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-grid > *:nth-child(1),
.xany-account-section-panel.is-account-section-entering .xany-account-reward-grid > *:nth-child(1),
.xany-account-section-panel.is-account-section-entering .xany-account-flow-steps > *:nth-child(1) { animation-delay: 70ms; }
.xany-account-section-panel.is-account-section-entering .xany-account-overview-metrics > *:nth-child(2),
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-grid > *:nth-child(2),
.xany-account-section-panel.is-account-section-entering .xany-account-reward-grid > *:nth-child(2),
.xany-account-section-panel.is-account-section-entering .xany-account-flow-steps > *:nth-child(2) { animation-delay: 115ms; }
.xany-account-section-panel.is-account-section-entering .xany-account-overview-metrics > *:nth-child(3),
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-grid > *:nth-child(3),
.xany-account-section-panel.is-account-section-entering .xany-account-reward-grid > *:nth-child(3),
.xany-account-section-panel.is-account-section-entering .xany-account-flow-steps > *:nth-child(3) { animation-delay: 160ms; }
.xany-account-section-panel.is-account-section-entering .xany-account-overview-metrics > *:nth-child(4),
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-grid > *:nth-child(4),
.xany-account-section-panel.is-account-section-entering .xany-account-reward-grid > *:nth-child(4),
.xany-account-section-panel.is-account-section-entering .xany-account-flow-steps > *:nth-child(4) { animation-delay: 205ms; }
.xany-account-section-panel.is-account-section-entering .xany-account-overview-metrics > *:nth-child(5),
.xany-account-section-panel.is-account-section-entering .xany-account-subpage-grid > *:nth-child(5),
.xany-account-section-panel.is-account-section-entering .xany-account-reward-grid > *:nth-child(5),
.xany-account-section-panel.is-account-section-entering .xany-account-flow-steps > *:nth-child(5) { animation-delay: 250ms; }

@keyframes xanyAccountPanelEnter {
  0%   { opacity: 0; transform: translateY(14px) scale(.992); filter: blur(5px); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0); }
}

@keyframes xanyAccountPanelLeave {
  0%   { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
  100% { opacity: 0; transform: translateY(8px) scale(.994); filter: blur(4px); }
}

@keyframes xanyAccountBlockRise {
  0%   { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@keyframes xanyAccountCardCascade {
  0%   { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0); }
}


/* ══════════════════════════════════════════════
   SUBPAGES
   ══════════════════════════════════════════════ */

/* ─── shared surface ─── */
.xany-account-subpage-hero,
.xany-account-subpage-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,250,255,.90));
  border: 1px solid rgba(139,92,246,.14);
  box-shadow: 0 22px 62px rgba(15,23,42,.06), inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ─── hero ─── */
.xany-account-subpage-hero {
  min-height: 238px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
  gap: 24px;
  align-items: stretch;
  isolation: isolate;
}

.xany-account-subpage-hero::before,
.xany-account-subpage-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.xany-account-subpage-hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: -190px;
  background: radial-gradient(circle, rgba(139,92,246,.18), rgba(30,185,255,.08) 46%, transparent 70%);
}

.xany-account-subpage-hero::after {
  width: 360px;
  height: 360px;
  left: -130px;
  bottom: -230px;
  background: radial-gradient(circle, rgba(30,185,255,.10), rgba(255,255,255,0) 70%);
}

.xany-account-subpage-copy,
.xany-account-subpage-status-card {
  position: relative;
  z-index: 1;
}

.xany-account-subpage-copy::after {
  content: "";
  display: block;
  width: min(360px, 62%);
  height: 3px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139,92,246,.95), rgba(30,185,255,.78), rgba(255,255,255,0));
  box-shadow: 0 10px 22px rgba(30,185,255,.12);
}

/* ─── status card ─── */
.xany-account-subpage-status-card {
  align-self: stretch;
  padding: 24px;
  border-radius: 28px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(245,243,255,.84));
  border: 1px solid rgba(139,92,246,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 14px 30px rgba(109,40,217,.08);
}

.xany-account-subpage-status-card::before {
  content: "";
  position: absolute;
  inset: -70px -62px auto auto;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139,92,246,.22), rgba(30,185,255,.08) 50%, transparent 70%);
  pointer-events: none;
}

.xany-account-subpage-status-card span {
  color: #7c3aed;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.xany-account-subpage-status-card strong {
  color: #111827;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.055em;
}

.xany-account-subpage-status-card small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

/* ─── grid ─── */
.xany-account-subpage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* ─── panel ─── */
.xany-account-subpage-panel {
  border-radius: 30px;
  padding: 18px;
}

/* ─── empty ─── */
.xany-account-subpage-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 24px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 850;
  text-align: center;
  background: linear-gradient(180deg, rgba(248,250,252,.78), rgba(255,255,255,.88));
  border: 1px solid rgba(139,92,246,.10);
}

.xany-account-subpage-empty::before {
  content: "";
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto 14px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,0) 38%),
    linear-gradient(135deg, rgba(139,92,246,.85), rgba(30,185,255,.82));
  box-shadow: 0 14px 28px rgba(109,40,217,.16);
}

/* ─── responsive ─── */
@media (max-width: 1180px) {
  .xany-account-subpage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ══════════════════════════════════════════════
   CORE FORM + FLOW STEPS
   ══════════════════════════════════════════════ */

.xany-account-core-panel {
  padding: clamp(18px, 2vw, 24px);
}

.xany-account-core-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.xany-account-core-form label,
.xany-account-core-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

.xany-account-core-form legend {
  margin-bottom: 8px;
  color: #111827;
  font-size: 13px;
  font-weight: 1000;
}

.xany-account-core-form input[type="text"],
.xany-account-core-form select,
.xany-account-core-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(139,92,246,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
  color: #111827;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.88), 0 10px 24px rgba(15,23,42,.035);
  outline: none;
  font: inherit;
  font-weight: 850;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.xany-account-core-form textarea {
  min-height: 126px;
  resize: vertical;
  line-height: 1.55;
}

.xany-account-core-form input[type="text"]:focus,
.xany-account-core-form select:focus,
.xany-account-core-form textarea:focus {
  border-color: rgba(139,92,246,.48);
  box-shadow: 0 0 0 4px rgba(139,92,246,.10), inset 0 1px 0 rgba(255,255,255,.92);
}

.xany-account-core-form small {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.xany-account-core-form button,
.xany-account-reward-card button {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  box-shadow: 0 16px 34px rgba(109,40,217,.20), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.xany-account-core-form button:hover,
.xany-account-reward-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(109,40,217,.26), inset 0 1px 0 rgba(255,255,255,.22);
}

.xany-account-core-form button:disabled,
.xany-account-reward-card button:disabled {
  cursor: not-allowed;
  opacity: .58;
  filter: grayscale(.18);
  transform: none;
  box-shadow: none;
}

/* ─── checks (outer shell .xany-account-core-checks tiene !important en shell) ─── */
.xany-account-core-checks label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(139,92,246,.10);
}

.xany-account-core-checks input {
  accent-color: #8b5cf6;
}

/* ─── flow steps ─── */
.xany-account-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.xany-account-flow-steps span {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 18px;
  color: #64748b;
  font-size: 12px;
  font-weight: 950;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(139,92,246,.14);
  box-shadow: 0 12px 28px rgba(15,23,42,.035), inset 0 1px 0 rgba(255,255,255,.90);
}

.xany-account-flow-steps b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #7c3aed;
  background: rgba(124,58,237,.10);
  border: 1px solid rgba(124,58,237,.12);
}

.xany-account-flow-steps span.is-active {
  color: #111827;
  background: rgba(255,255,255,.94);
  border-color: rgba(124,58,237,.32);
  box-shadow: 0 14px 34px rgba(124,58,237,.10), inset 0 1px 0 rgba(255,255,255,.94);
}

.xany-account-flow-steps span.is-active b,
.xany-account-flow-steps span.is-done b {
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border-color: rgba(124,58,237,.22);
  box-shadow: 0 10px 22px rgba(124,58,237,.20);
}


/* ══════════════════════════════════════════════
   STATUS PILL
   ══════════════════════════════════════════════ */

.xany-account-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #6d28d9;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
  text-transform: uppercase;
  background: rgba(245,243,255,.94);
  border: 1px solid rgba(139,92,246,.16);
}

.xany-account-status-pill.is-verified,
.xany-account-status-pill.is-done {
  color: #047857;
  background: rgba(220,252,231,.86);
  border-color: rgba(34,197,94,.24);
}

.xany-account-status-pill.is-error {
  color: #b45309;
  background: rgba(255,247,237,.92);
  border-color: rgba(251,146,60,.26);
}


/* ══════════════════════════════════════════════
   RECOMPENSAS
   ══════════════════════════════════════════════ */

.xany-account-reward-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.xany-account-reward-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 176px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(139,92,246,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,243,255,.74));
  box-shadow: 0 16px 36px rgba(15,23,42,.05), inset 0 1px 0 rgba(255,255,255,.86);
}

.xany-account-reward-card::before {
  content: "";
  position: absolute;
  inset: -72px -70px auto auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139,92,246,.20), rgba(30,185,255,.10) 48%, transparent 72%);
  pointer-events: none;
}

.xany-account-reward-card span,
.xany-account-reward-card small,
.xany-account-reward-card strong,
.xany-account-reward-card button {
  position: relative;
  z-index: 1;
}

.xany-account-reward-card span {
  color: #7c3aed;
  font-size: 11px;
  font-weight: 1000;
  text-transform: uppercase;
}

.xany-account-reward-card strong {
  color: #111827;
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.055em;
}

.xany-account-reward-card small {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.xany-account-reward-card.is-redeemed {
  opacity: .76;
}


/* ══════════════════════════════════════════════
   CUPONES / MINI LISTA
   ══════════════════════════════════════════════ */

.xany-account-coupon-list,
.xany-account-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.xany-account-coupon-list article,
.xany-account-mini-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 68px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(139,92,246,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.xany-account-coupon-list strong,
.xany-account-mini-list strong {
  color: #111827;
  font-size: 14px;
  font-weight: 1000;
}

.xany-account-coupon-list span,
.xany-account-mini-list small {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.xany-account-mini-list em {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: #6d28d9;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
  background: rgba(245,243,255,.92);
}

/* ─── responsive ─── */
@media (max-width: 1180px) {
  .xany-account-reward-grid,
  .xany-account-flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .xany-account-reward-grid,
  .xany-account-flow-steps {
    grid-template-columns: 1fr;
  }

  .xany-account-coupon-list article,
  .xany-account-mini-list article {
    align-items: flex-start;
    flex-direction: column;
  }
}
