/* IDOKIA PAY — portal del cliente */

/* ---------- Acceso ---------- */
.auth { min-height: 100dvh; display: flex; flex-direction: column; background:
  radial-gradient(120% 55% at 100% 0%, rgba(124,92,255,.5), transparent 60%),
  radial-gradient(90% 45% at 0% 8%, rgba(34,211,238,.35), transparent 60%),
  linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--gray-50) 40.1%); }
.auth-top { padding: 22px 20px 0; display: flex; justify-content: space-between; align-items: center; }
.auth-back { color: #c3d4f5; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.auth-back .ico { width: 18px; height: 18px; }
.auth-hero { padding: 30px 24px 24px; color: #fff; max-width: 480px; width: 100%; margin: 0 auto; }
.auth-hero h1 { font-size: 28px; font-weight: 800; }
.auth-hero p { color: #c3d0f5; margin-top: 8px; font-size: 15px; }
.auth-card { width: min(100% - 32px, 460px); margin: 0 auto 24px; padding: 26px 22px 22px; border-radius: var(--radius-lg); }
.auth-card .btn--block { margin-top: 6px; min-height: 52px; font-size: 16px; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; background: var(--blue-50); border-radius: 13px; color: var(--navy-700); font-size: 13px; }
.secure-note .ico { width: 20px; height: 20px; color: var(--blue-500); flex: none; }
.auth-links { text-align: center; margin-top: 18px; display: grid; gap: 10px; font-size: 14px; color: var(--gray-500); }
.auth-links a { font-weight: 650; }
.auth-foot { text-align: center; font-size: 12px; color: var(--gray-400); padding: 0 20px 24px; margin-top: auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.success-box { text-align: center; padding: 10px 4px; }
.success-box .badge { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--grad-aqua); color: #fff; box-shadow: var(--shadow-glow); }
.success-box .badge .ico { width: 32px; height: 32px; }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 8px 0 16px; }
.otp-inputs input { width: 46px; height: 56px; text-align: center; font-size: 22px; font-weight: 700; border-radius: 13px; border: 1.5px solid var(--gray-200); font-family: var(--font-display); }
.otp-inputs input:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--focus); }
.provider-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 14px; padding: 11px 13px; border-radius: 12px; background: var(--amber-100); color: #96560a; font-size: 12.5px; }
.provider-note .ico { width: 17px; height: 17px; flex: none; margin-top: 1px; }

/* ---------- Estructura ---------- */
.shell { min-height: 100dvh; padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top)); background: rgba(255,255,255,.9); backdrop-filter: saturate(1.5) blur(12px); border-bottom: 1px solid var(--gray-100); }
.topbar .logo-mark { width: 32px; height: 32px; }
.topbar .logo-word { font-size: 17px; }
.topbar-actions { display: flex; gap: 2px; }
.main { width: 100%; max-width: 620px; margin: 0 auto; padding: 18px 16px 8px; }
.page-title { font-size: 23px; font-weight: 800; color: var(--navy-800); margin: 4px 0 16px; }
.page-head { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.page-head .page-title { margin: 0; flex: 1; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0 12px; }
.section-head h2 { font-size: 17px; color: var(--navy-800); }
.section-head a { font-size: 13.5px; font-weight: 650; }
.greet { margin: 2px 0 16px; }
.greet h1 { font-size: 25px; font-weight: 800; color: var(--navy-800); }
.greet p { color: var(--gray-500); font-size: 14px; margin-top: 2px; }

/* ---------- Checklist de onboarding ---------- */
.onboard { padding: 18px; border-radius: var(--radius-lg); background: var(--grad-deep); color: #fff; position: relative; overflow: hidden; }
.onboard::after { content:''; position:absolute; right:-50px; top:-50px; width:180px; height:180px; border-radius:50%; background: radial-gradient(circle, rgba(34,211,238,.3), transparent 70%); }
.onboard h2 { font-size: 17px; margin-bottom: 4px; }
.onboard p { color: #c3d0f5; font-size: 13px; margin-bottom: 14px; }
.ob-steps { display: grid; gap: 8px; position: relative; z-index: 1; }
.ob-step { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.08); }
.ob-step .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.15); color: #fff; }
.ob-step.done .tick { background: var(--grad-aqua); }
.ob-step .tick .ico { width: 15px; height: 15px; }
.ob-step b { font-size: 14px; flex: 1; }
.ob-step .go { font-size: 12.5px; font-weight: 700; color: #8fd9ec; }
.ob-step.done b { color: #aec4ef; text-decoration: line-through; }
.progress-ring { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.progress-ring .bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.15); overflow: hidden; }
.progress-ring .bar > i { display: block; height: 100%; border-radius: 99px; background: var(--grad-aqua); transition: width .5s; }

/* ---------- Finanzas tres niveles ---------- */
.fin-hero { position: relative; overflow: hidden; padding: 20px; border-radius: var(--radius-lg); color: #fff; background: var(--grad-deep); box-shadow: 0 22px 44px -22px rgba(6,15,42,.8); }
.fin-hero::after { content:''; position:absolute; right:-60px; bottom:-80px; width:220px; height:220px; border-radius:50%; border: 30px solid rgba(255,255,255,.05); }
.fin-head { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.fin-label { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 14px; color: #cdd9f7; }
.fin-amount { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 2px; font-family: var(--font-display); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.fin-sub { font-size: 13px; color: #bccbf0; position: relative; z-index: 1; }
.fin-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.fin-tile { padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.fin-tile .t { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; color: var(--gray-500); }
.fin-tile .t .ico { width: 17px; height: 17px; }
.fin-tile b { display: block; font-size: 21px; font-weight: 800; color: var(--navy-800); margin-top: 8px; font-variant-numeric: tabular-nums; }
.fin-tile.pend .t { color: var(--amber-500); }
.fin-tile.disp .t { color: var(--green-500); }
.fin-legend { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; padding: 11px 13px; border-radius: 12px; background: var(--blue-50); color: var(--navy-700); font-size: 12.5px; }
.fin-legend .ico { width: 17px; height: 17px; color: var(--blue-500); flex: none; margin-top: 1px; }

/* (retirado) estilos de la antigua tarjeta de saldo informativo */
.info-card { padding: 16px 18px; border-radius: var(--radius); border: 1.5px dashed var(--gray-300); background: repeating-linear-gradient(45deg, #fff, #fff 12px, var(--gray-50) 12px, var(--gray-50) 24px); }
.info-card .t { display: flex; align-items: center; justify-content: space-between; }
.info-card .t b { font-size: 13.5px; color: var(--gray-700); display: flex; gap: 8px; align-items: center; }
.info-card .amt { font-size: 24px; font-weight: 800; color: var(--gray-500); margin-top: 6px; font-variant-numeric: tabular-nums; }
.info-card small { font-size: 12px; color: var(--gray-400); }

/* ---------- Servicios ---------- */
.svc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.svc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 2px 10px; border: 0; background: none; cursor: pointer; border-radius: 15px; text-align: center; transition: background .15s; }
.svc:hover { background: #fff; box-shadow: var(--shadow-sm); }
.svc-ico { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-glow); }
.svc-ico .ico { width: 25px; height: 25px; }
.svc-name { font-size: 12px; font-weight: 600; color: var(--navy-800); line-height: 1.2; }
.svc-tag { position: absolute; top: 2px; right: 50%; transform: translateX(32px); padding: 2px 7px; border-radius: 99px; font-size: 9.5px; font-weight: 750; background: var(--violet-500); color: #fff; box-shadow: 0 0 0 2px var(--gray-50); }
.svc--off .svc-ico { color: var(--gray-400); background: #fff !important; box-shadow: none; border: 1.5px dashed var(--gray-300); }
.svc--off .svc-name { color: var(--gray-400); }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-card { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 0; text-align: left; cursor: pointer; font: inherit; }
.svc-card .svc-ico { width: 50px; height: 50px; box-shadow: none; }
.svc-card h3 { font-size: 15.5px; color: var(--navy-800); } .svc-card p { font-size: 13px; color: var(--gray-500); }
.svc-card .pill { align-self: flex-start; }

/* ---------- Banner ---------- */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 14px; }
.banners::-webkit-scrollbar { display: none; }
.banner { scroll-snap-align: start; display: grid; grid-template-columns: 1fr 42%; min-height: 150px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg,#fff,var(--blue-50)); }
.banner-text { padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.banner-text h3 { font-size: 17px; color: var(--navy-800); font-weight: 800; }
.banner-text p { font-size: 13.5px; color: var(--gray-500); }
.banner-text .btn { margin-top: auto; align-self: flex-start; }
.banner-media { position: relative; background: var(--blue-100); }
.banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-media .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue-500); }

/* ---------- Listas / feed ---------- */
.list-wrap { max-width: 640px; }
.feed-day { font-size: 12.5px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; margin: 18px 4px 8px; }
.feed { padding: 4px 0; }
.feed-item { display: flex; gap: 14px; padding: 14px 16px; align-items: flex-start; width: 100%; border: 0; background: none; text-align: left; font: inherit; }
button.feed-item { cursor: pointer; } button.feed-item:hover { background: var(--gray-50); }
.feed-item + .feed-item { border-top: 1px solid var(--gray-100); }
.feed-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--blue-100); color: var(--blue-600); }
.feed-ico .ico { width: 20px; height: 20px; }
.feed-ico--ok { background: var(--green-100); color: var(--green-500); }
.feed-ico--warn { background: var(--amber-100); color: var(--amber-500); }
.feed-ico--note { background: #efe9ff; color: var(--violet-500); }
.feed-body { flex: 1; min-width: 0; }
.feed-body h4 { font-size: 14.5px; color: var(--navy-800); }
.feed-body p { font-size: 13px; color: var(--gray-500); margin-top: 2px; overflow-wrap: anywhere; }
.feed-time { font-size: 12px; color: var(--gray-400); white-space: nowrap; }
.info-strip { display: flex; gap: 10px; padding: 12px 14px; border-radius: 13px; background: var(--blue-50); color: var(--navy-700); font-size: 13px; margin-bottom: 8px; }
.info-strip .ico { width: 18px; height: 18px; color: var(--blue-500); flex: none; }

/* ---------- Solicitudes ---------- */
.req-card { padding: 16px 18px; display: grid; gap: 8px; }
.req-card .row1 { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.req-ref { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); }
.req-meta { font-size: 13px; color: var(--gray-500); }
.timeline2 { display: grid; gap: 0; }
.tl2 { display: flex; gap: 12px; padding: 10px 0; }
.tl2 .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--blue-500); margin-top: 4px; flex: none; box-shadow: 0 0 0 4px var(--blue-100); }
.tl2 b { font-size: 14px; color: var(--navy-800); } .tl2 p { font-size: 13px; color: var(--gray-500); } .tl2 small { font-size: 12px; color: var(--gray-400); }

/* ---------- Verificación / cámara ---------- */
.verify-steps { display: flex; gap: 6px; margin-bottom: 16px; }
.verify-steps i { flex: 1; height: 6px; border-radius: 99px; background: var(--gray-200); }
.verify-steps i.done { background: var(--grad-aqua); } .verify-steps i.cur { background: var(--grad-brand-soft); }
.consent-item { display: flex; gap: 12px; padding: 14px; border-radius: 14px; background: var(--gray-50); margin-bottom: 10px; }
.consent-item input { width: 20px; height: 20px; accent-color: var(--blue-600); flex: none; margin-top: 2px; }
.consent-item b { font-size: 14px; color: var(--navy-800); } .consent-item p { font-size: 12.5px; color: var(--gray-500); margin-top: 2px; }
.cam-wrap { position: relative; width: 100%; aspect-ratio: 3/4; max-height: 60vh; margin: 0 auto 14px; border-radius: 22px; overflow: hidden; background: #0a1a3f; }
.cam-wrap.doc { aspect-ratio: 4/3; }
.cam-wrap video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.cam-wrap.doc video { transform: none; }
.cam-guide { position: absolute; inset: 0; pointer-events: none; }
.cam-oval { position: absolute; left: 19%; top: 16%; width: 62%; height: 62%; border: 3px solid rgba(255,255,255,.6); border-radius: 50%; transition: border-color .2s; }
.cam-oval.ok { border-color: var(--aqua); box-shadow: 0 0 30px rgba(22,224,181,.5); }
.cam-rect { position: absolute; left: 8%; top: 15%; right: 8%; bottom: 15%; border: 3px solid rgba(255,255,255,.6); border-radius: 14px; transition: border-color .2s; }
.cam-rect.ok { border-color: var(--aqua); box-shadow: 0 0 30px rgba(22,224,181,.5); }
.cam-hint { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.6); padding: 0 16px; }
.cam-shots { display: flex; gap: 8px; justify-content: center; margin-bottom: 14px; }
.cam-shot { width: 56px; height: 72px; border-radius: 12px; background: var(--gray-100); overflow: hidden; border: 2px solid transparent; position: relative; }
.cam-shot.filled { border-color: var(--green-500); }
.cam-shot img { width: 100%; height: 100%; object-fit: cover; }
.cam-shot .n { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gray-400); font-weight: 700; }
.photo-slot { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--gray-200); margin-bottom: 10px; }
.photo-slot .thumb { width: 54px; height: 54px; border-radius: 12px; background: var(--gray-100); display: grid; place-items: center; color: var(--gray-400); overflow: hidden; flex: none; }
.photo-slot .thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot b { font-size: 14px; color: var(--navy-800); } .photo-slot span { font-size: 12.5px; color: var(--gray-500); }
.photo-slot.done { border-color: var(--green-500); background: var(--green-100); }

/* ---------- Cuenta ---------- */
.profile { display: flex; gap: 14px; align-items: center; padding: 20px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: var(--grad-brand); flex: none; font-family: var(--font-display); }
.profile h2 { font-size: 18px; color: var(--navy-800); }
.list { padding: 4px 0; margin-top: 14px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; width: 100%; background: none; border: 0; text-align: left; font: inherit; }
button.list-row { cursor: pointer; } button.list-row:hover { background: var(--gray-50); }
.list-row + .list-row { border-top: 1px solid var(--gray-100); }
.list-row > .ico:first-child { color: var(--blue-600); width: 21px; height: 21px; flex: none; }
.list-row .lr-body { flex: 1; min-width: 0; }
.list-row .lr-label { font-size: 12.5px; color: var(--gray-500); }
.list-row .lr-value { font-weight: 600; color: var(--navy-800); overflow-wrap: anywhere; }
.list-row .chev { color: var(--gray-300); width: 18px; height: 18px; }
.list-row--danger > .ico:first-child, .list-row--danger .lr-value { color: var(--red-500); }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { opacity: 0; position: absolute; inset: 0; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--gray-300); transition: background .2s; pointer-events: none; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s; }
.switch input:checked + span { background: var(--green-500); }
.switch input:checked + span::after { transform: translateX(18px); }

/* ---------- Notificaciones ---------- */
.notif-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: inherit; text-decoration: none !important; }
.notif-row + .notif-row { border-top: 1px solid var(--gray-100); }
.notif-row:hover { background: var(--gray-50); }
.notif-row .chev { width: 18px; height: 18px; color: var(--gray-300); }
.notif-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.notif-text b { font-size: 14.5px; color: var(--navy-800); }
.notif-text > span { font-size: 13px; color: var(--gray-500); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notif-text small { font-size: 12px; color: var(--gray-400); }
.notif-row.unread { background: linear-gradient(90deg, rgba(47,107,255,.06), transparent 60%); }
.notif-row.unread b::after { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); margin-left: 8px; vertical-align: middle; }
.nd { padding: 22px 20px; margin-top: 10px; }
.nd-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); margin-bottom: 14px; }
.nd h2 { font-size: 20px; color: var(--navy-800); } .nd time { display: block; font-size: 13px; color: var(--gray-500); margin-top: 6px; }
.nd-body { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--gray-700); white-space: pre-line; }

/* ---------- Navegación inferior ---------- */
.tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--gray-100); box-shadow: 0 -10px 30px -18px rgba(10,26,63,.35); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 0; border-radius: 12px; color: var(--gray-400); font-size: 11px; font-weight: 650; text-decoration: none !important; }
.tab .ico { width: 23px; height: 23px; }
.tab.is-active { color: var(--blue-600); }
.tab.is-active .ico { filter: drop-shadow(0 4px 8px rgba(47,107,255,.4)); }

.modal-img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; margin-bottom: 14px; }
.app-cards:empty { display: none; }
.install { display: flex; gap: 14px; align-items: center; padding: 14px 16px; margin-top: 14px; }
.install-ico img { width: 46px; height: 46px; border-radius: 13px; }
.install-ico--bell { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); flex: none; }
.install > div:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.install b { color: var(--navy-800); font-size: 14.5px; } .install span { font-size: 13px; color: var(--gray-500); }
.live-alert { position: fixed; z-index: 950; left: 12px; right: 12px; top: calc(10px + env(safe-area-inset-top)); display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); color: inherit; text-decoration: none !important; transform: translateY(-140%); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); max-width: 480px; margin: 0 auto; }
.live-alert.is-in { transform: none; }
.live-alert img { width: 36px; height: 36px; border-radius: 10px; }
.live-alert .t { flex: 1; min-width: 0; display: grid; }
.live-alert b { font-size: 14px; color: var(--navy-800); } .live-alert .t span { font-size: 13px; color: var(--gray-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (min-width: 960px) {
  body { background: var(--gray-100); }
  .shell { display: grid; grid-template-columns: 240px 1fr; grid-template-rows: auto 1fr; padding-bottom: 0; }
  .topbar { grid-column: 1 / -1; padding: 14px 28px; }
  .tabbar { position: sticky; top: 69px; align-self: start; height: calc(100dvh - 69px); grid-template-columns: 1fr; grid-auto-rows: min-content; gap: 4px; padding: 20px 14px; border-top: 0; border-right: 1px solid var(--gray-200); box-shadow: none; background: #fff; }
  .tab { flex-direction: row; gap: 12px; padding: 12px 14px; font-size: 14.5px; }
  .tab.is-active { background: var(--blue-50); }
  .main { max-width: 1060px; padding: 28px 32px 40px; }
  .home-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
  .toast-host { top: auto; bottom: 24px; left: auto; right: 24px; transform: none; width: 380px; }
}

/* Compatibilidad con capture.js (clases g-ok / g-bad y barra de progreso --hold) */
.cam-oval.g-ok, .cam-rect.g-ok { border-color: var(--aqua); box-shadow: 0 0 30px rgba(22,224,181,.5); }
.cam-oval.g-bad, .cam-rect.g-bad { border-color: rgba(255,170,90,.8); }
.cam-hint.h-ok { color: #9ff3dc; } .cam-hint.h-bad { color: #ffd9a8; }

/* Buscador de bancos (dropdown) */
.bank-results { position: relative; margin-top: 4px; border: 1px solid var(--gray-200); border-radius: 12px; box-shadow: var(--shadow); max-height: 220px; overflow: auto; background: #fff; }
.bank-results button { display: block; width: 100%; text-align: left; padding: 10px 14px; border: 0; background: none; cursor: pointer; font-size: 14px; }
.bank-results button:hover { background: var(--blue-50); }

/* ---------- Ventana de validación en vivo (verificación) ---------- */
.validating { text-align: center; padding: 34px 22px; }
.spinner { width: 92px; height: 92px; margin: 0 auto 20px; position: relative; }
.spinner svg { width: 100%; height: 100%; animation: spinRot 1.4s linear infinite; }
.spinner .ring-bg { stroke: var(--gray-200); }
.spinner .ring-fg { stroke: url(#spinGrad); stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 110; }
.spinner .core { position: absolute; inset: 0; display: grid; place-items: center; }
.spinner .core .ico { width: 34px; height: 34px; color: var(--blue-500); }
@keyframes spinRot { to { transform: rotate(360deg); } }
.validating h2 { font-size: 21px; color: var(--navy-800); margin-bottom: 8px; }
.validating p { color: var(--gray-500); max-width: 360px; margin: 0 auto; }
.val-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: 99px; background: var(--blue-50); color: var(--blue-600); font-size: 13px; font-weight: 650; }
.val-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); animation: pulse 1.2s ease-in-out infinite; }
.val-live.reviewing { background: var(--amber-100); color: #a35908; }
.val-live.reviewing i { background: var(--amber-500); }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.5); } }
.val-steps { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.val-steps span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--gray-400); }
.val-steps span.on { color: var(--green-500); font-weight: 650; }
.val-steps .ico { width: 15px; height: 15px; }
.val-result { text-align: center; padding: 20px; }
.val-result .big { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; color: #fff; animation: popIn .4s cubic-bezier(.2,.9,.3,1.4); }
.val-result .big.ok { background: var(--grad-aqua); } .val-result .big.no { background: linear-gradient(135deg,#f0453f,#f59e0b); }
.val-result .big .ico { width: 40px; height: 40px; }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } }

/* ---- PENDIENTE / DISPONIBLE (dos categorías) ---- */
.fin-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
@media (max-width: 720px) { .fin-cats { grid-template-columns: 1fr; } }
.fin-cat { padding: 18px; position: relative; overflow: hidden; }
.fin-cat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; }
.fin-cat--pend::before { background: var(--amber-500, #f59e0b); }
.fin-cat--disp::before { background: var(--green-500, #16a34a); }
.fin-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fin-cat-tag { font-size: 12px; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.fin-cat--pend .fin-cat-tag { color: #9a5b00; background: #fff4e0; }
.fin-cat--disp .fin-cat-tag { color: #0f7a4f; background: #e7f6ee; }
.fin-cat-amt { font-size: 30px; font-weight: 800; color: var(--navy-800, #0b1b46); margin-top: 10px; font-variant-numeric: tabular-nums; }
.fin-cat-sub { margin: 2px 0 10px; font-size: 13px; color: var(--gray-500, #6b7280); }
.fin-cat-info { padding: 10px 12px; border-radius: 12px; font-size: 14px; white-space: pre-wrap; background: var(--gray-50, #f6f7f9); }
.fin-cat--pend .fin-cat-info { background: #fff8eb; border: 1px solid #f6dfb1; }
.fin-cat--disp .fin-cat-info { background: #ecf8f1; border: 1px solid #bfe6cf; }
.fin-cat-warn { margin: 10px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff4e0; color: #7a4a00; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.fin-cat-warn .ico { width: 15px; height: 15px; flex: none; }
