/* assets/css/auth.css — acceso de vendedores (login, registro, recuperación).
   Mismo sistema visual que el panel: navy #1D2530, cartón #CD9765/#AB733C, fondos lino. */
:root {
    --navy: #1D2530; --navy-2: #2c3644; --navy-3: #0f141b; --carton: #CD9765; --carton-d: #AB733C; --carton-l: #f0e0cc;
    --linen: #fdf6ea; --linen-2: #f6ecda; --ink: #2a1e0e; --ink-2: #5c4a30; --muted: #8a7660; --line: #e8dcc6;
    --ok: #16a34a; --err: #ba1a1a; --err-soft: #fdecea; --radius: 14px;
    --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body.ika { font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--linen); -webkit-font-smoothing: antialiased; display: grid; grid-template-columns: minmax(420px, 46%) 1fr; min-height: 100vh; }
.ika a { color: inherit; }
.ika .material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400; font-size: 20px; line-height: 1; vertical-align: middle; display: inline-block; white-space: nowrap; direction: ltr; user-select: none; }
.ika h1, .ika h2, .ika h3 { font-family: Manrope, Inter, sans-serif; letter-spacing: -.02em; margin: 0; }

/* ── Panel de marca ─────────────────────────────────────────────── */
.ika-aside { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 0% 0%, #2c3644 0%, var(--navy) 45%, var(--navy-3) 100%); display: flex; flex-direction: column; padding: 40px 48px; min-height: 100vh; position: sticky; top: 0; height: 100vh; }
.ika-aside::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(80% 70% at 60% 40%, #000 30%, transparent 100%); animation: gridPan 40s linear infinite; }
@keyframes gridPan { to { background-position: 44px 44px, 44px 44px; } }
.ika-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.ika-blob.b1 { width: 420px; height: 420px; background: var(--carton-d); top: -140px; right: -120px; animation: blob 16s ease-in-out infinite; }
.ika-blob.b2 { width: 340px; height: 340px; background: #3b4b66; bottom: -120px; left: -100px; animation: blob 20s ease-in-out infinite reverse; }
@keyframes blob { 0%, 100% { transform: translate(0,0) scale(1); } 33% { transform: translate(-40px, 30px) scale(1.08); } 66% { transform: translate(25px, -20px) scale(.95); } }
.ika-aside > :not(.ika-blob) { position: relative; z-index: 1; }
.ika [hidden] { display: none !important; }
.ika-logo img { height: 36px; width: auto; display: block; }
.ika-pitch { margin-top: auto; }
.ika-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(205,151,101,.16); border: 1px solid rgba(205,151,101,.35); color: #f3cfa9; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ika-eyebrow .material-symbols-outlined { font-size: 15px; }
.ika-pitch h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.12; font-weight: 800; margin: 16px 0 12px; }
.ika-pitch h2 em { font-style: normal; background: linear-gradient(90deg, #f3cfa9, var(--carton)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ika-pitch > p { color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.6; max-width: 440px; margin: 0; }

/* tarjetas flotantes (maqueta del producto) */
.ika-stage { position: relative; height: 270px; margin: 34px 0 30px; }
.ika-glass { position: absolute; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; box-shadow: 0 24px 50px rgba(0,0,0,.28); padding: 16px 18px; animation: floatY 7s ease-in-out infinite, cardIn .8s var(--ease) both; }
.ika-glass small { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); font-weight: 600; letter-spacing: .02em; }
.ika-glass b { font-family: Manrope, sans-serif; font-size: 22px; font-weight: 800; }
.g-kpi { left: 0; top: 0; width: 290px; animation-delay: 0s, .15s; }
.g-kpi .row { display: flex; justify-content: space-between; align-items: flex-start; }
.g-kpi .chip { font-size: 11px; font-weight: 800; color: #86efac; background: rgba(34,197,94,.14); padding: 4px 8px; border-radius: 999px; }
.g-bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; margin-top: 12px; }
.g-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--carton), rgba(205,151,101,.35)); transform-origin: bottom; animation: barUp 1.1s var(--ease) both; }
.g-bars i:nth-child(odd) { background: linear-gradient(180deg, #e5ecff, rgba(229,236,255,.3)); }
@keyframes barUp { from { transform: scaleY(0); } }
.g-msg { right: 0; top: 96px; width: 270px; display: flex; gap: 12px; animation-delay: -2.4s, .35s; }
.g-av { flex: 0 0 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--carton), var(--carton-d)); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.g-msg p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.88); }
.g-typing { display: inline-flex; gap: 3px; margin-top: 7px; } .g-typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); animation: typing 1.2s infinite; } .g-typing i:nth-child(2) { animation-delay: .15s; } .g-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.g-badge { left: 40px; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; animation-delay: -4.6s, .55s; }
.g-badge .material-symbols-outlined { font-variation-settings: 'FILL' 1; color: #86efac; font-size: 26px; }
.g-badge span:last-child { font-size: 13.5px; font-weight: 700; }
.g-badge small { font-weight: 500; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }

.ika-perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; margin: 0; padding: 0; list-style: none; }
.ika-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,.78); line-height: 1.45; opacity: 0; animation: fadeUp .6s var(--ease) forwards; animation-delay: calc(.7s + var(--i, 0) * .09s); }
.ika-perks li .material-symbols-outlined { color: var(--carton); font-size: 20px; flex-shrink: 0; }
.ika-perks li b { color: #fff; display: block; font-size: 13.5px; }
.ika-aside-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.45); }
.ika-aside-foot a { text-decoration: none; } .ika-aside-foot a:hover { color: #fff; }

/* resumen de plan (registro) */
.ika-plan-sum { margin-top: 26px; border-radius: 18px; padding: 18px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.ika-plan-sum .top { display: flex; justify-content: space-between; align-items: baseline; }
.ika-plan-sum .top span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); font-weight: 700; }
.ika-plan-sum .top b { font-family: Manrope, sans-serif; font-size: 26px; font-weight: 800; transition: opacity .2s; }
.ika-plan-sum .top b small { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); }
.ika-plan-sum h3 { font-size: 18px; margin: 4px 0 10px; }
.ika-plan-sum ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.ika-plan-sum li { display: flex; gap: 6px; align-items: center; animation: fadeUp .35s var(--ease) both; animation-delay: calc(var(--i, 0) * .04s); }
.ika-plan-sum li .material-symbols-outlined { color: #86efac; font-size: 16px; }

/* ── Columna del formulario ─────────────────────────────────────── */
.ika-main { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 22px 40px 28px; background: radial-gradient(70% 50% at 100% 0%, rgba(205,151,101,.14), transparent 70%), radial-gradient(60% 40% at 0% 100%, rgba(29,37,48,.05), transparent 70%), var(--linen); }
.ika-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ika-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; padding: 8px 12px 8px 8px; border-radius: 10px; transition: background .2s, color .2s; }
.ika-back:hover { background: rgba(205,151,101,.14); color: var(--navy); }
.ika-back .material-symbols-outlined { transition: transform .2s; } .ika-back:hover .material-symbols-outlined { transform: translateX(-3px); }
.ika-mlogo { display: none; } .ika-mlogo img { height: 30px; }
.ika-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px 0; }
.ika-card { width: 100%; max-width: 440px; animation: cardRise .7s var(--ease) both; }
.ika-card.is-wide { max-width: 600px; }
@keyframes cardRise { from { opacity: 0; transform: translateY(18px); } }
.ika-head { margin-bottom: 26px; }
.ika-head .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #fff; box-shadow: 0 12px 26px rgba(29,37,48,.22); margin-bottom: 18px; }
.ika-head .ico .material-symbols-outlined { font-size: 26px; color: var(--carton); }
.ika-head h1 { font-size: 30px; font-weight: 800; color: var(--navy); }
.ika-head p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.ika-head p a { color: var(--carton-d); font-weight: 700; text-decoration: none; } .ika-head p a:hover { text-decoration: underline; }

.ika-anim > * { opacity: 0; animation: fadeUp .55s var(--ease) forwards; animation-delay: calc(.12s + var(--i, 0) * .06s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ika-anim > .is-invalid { opacity: 1; animation: shake .4s; }

/* campos */
.ika-field { display: block; margin-bottom: 16px; }
.ika-label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.ika-label a { font-weight: 700; color: var(--carton-d); text-decoration: none; font-size: 12.5px; } .ika-label a:hover { text-decoration: underline; }
.ika-label .opt { font-weight: 500; color: var(--muted); }
.ika-input { position: relative; }
.ika-input > .material-symbols-outlined { z-index: 2; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; transition: color .2s; font-size: 20px; }
.ika-input input, .ika-input select, .ika select.ika-sel { width: 100%; height: 50px; padding: 0 16px 0 44px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none; }
.ika-input select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%238a7660' stroke-width='1.8'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.ika-input input::placeholder { color: #b5a58c; }
.ika-input input:hover, .ika-input select:hover { border-color: #d7c4a4; }
.ika-input input:focus, .ika-input select:focus { border-color: var(--carton); box-shadow: 0 0 0 4px rgba(205,151,101,.18); }
.ika-input:focus-within > .material-symbols-outlined { color: var(--carton-d); }
.ika-input .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.ika-input .eye:hover { background: var(--linen-2); color: var(--navy); }
.ika-input.has-eye input { padding-right: 52px; }
.ika-field.is-invalid input, .ika-field.is-invalid select, .ika-field.is-invalid .ik-select-trigger { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(186,26,26,.1) !important; }
.ika-field.is-invalid { animation: shake .4s; }
.ika-hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }
.ika-field.is-invalid .ika-hint[data-err] { color: var(--err); font-weight: 600; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.ika-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* medidor de contraseña */
.ika-meter { display: flex; gap: 5px; margin-top: 8px; } .ika-meter i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.ika-meter[data-s="1"] i:nth-child(1) { background: var(--err); }
.ika-meter[data-s="2"] i:nth-child(-n+2) { background: #d97706; }
.ika-meter[data-s="3"] i:nth-child(-n+3), .ika-meter[data-s="4"] i { background: var(--ok); }
.ika-meter-txt { font-size: 12px; color: var(--muted); margin-top: 6px; display: block; min-height: 15px; }

/* alertas */
.ika-alert { display: flex; gap: 10px; align-items: flex-start; padding: 13px 15px; border-radius: 12px; background: var(--err-soft); color: #8c1d18; font-size: 13.5px; font-weight: 600; margin-bottom: 18px; border: 1px solid #f5c6c2; animation: shake .45s, fadeUp .3s; }
.ika-alert .material-symbols-outlined { color: var(--err); font-size: 20px; }
.ika-alert.ok { background: #e8f6ed; color: #14532d; border-color: #bfe5cc; } .ika-alert.ok .material-symbols-outlined { color: var(--ok); }

/* botones */
.ika-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border-radius: var(--radius); border: 0; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s, opacity .2s; }
.ika-btn-primary { width: 100%; color: #fff; background: linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: 0 12px 24px rgba(29,37,48,.22); overflow: hidden; }
.ika-btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.16) 50%, transparent 70%); transform: translateX(-100%); transition: transform .7s; }
.ika-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(29,37,48,.28); }
.ika-btn-primary:hover::after { transform: translateX(100%); }
.ika-btn-primary:active { transform: translateY(0) scale(.99); }
.ika-btn .material-symbols-outlined { transition: transform .2s; } .ika-btn:hover .arrow { transform: translateX(3px); }
.ika-btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); } .ika-btn-ghost:hover { border-color: var(--carton); background: #fffaf2; }
.ika-btn.is-loading { pointer-events: none; color: transparent !important; }
.ika-btn.is-loading::before { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.ika-btn-ghost.is-loading::before { border-color: rgba(29,37,48,.2); border-top-color: var(--navy); }
@keyframes spin { to { transform: rotate(360deg); } }

.ika-sep { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ika-sep::before, .ika-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.ika-alt { text-align: center; font-size: 14px; color: var(--ink-2); margin: 22px 0 0; }
.ika-alt a { color: var(--carton-d); font-weight: 700; text-decoration: none; } .ika-alt a:hover { text-decoration: underline; }
.ika-legal { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 14px 0 0; text-align: center; }
.ika-legal a { color: var(--ink-2); font-weight: 600; }

/* cuentas demo */
.ika-demo { margin-top: 22px; border: 1.5px dashed var(--line); border-radius: 16px; background: rgba(255,255,255,.55); }
.ika-demo summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ika-demo summary::-webkit-details-marker { display: none; }
.ika-demo summary .chev { margin-left: auto; transition: transform .25s; } .ika-demo[open] summary .chev { transform: rotate(180deg); }
.ika-demo-list { display: grid; gap: 8px; padding: 0 12px 12px; }
.ika-demo-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, transform .15s; }
.ika-demo-list button:hover { border-color: var(--carton); transform: translateX(2px); }
.ika-demo-list .av { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--linen-2); color: var(--carton-d); font-weight: 800; font-size: 13px; }
.ika-demo-list b { display: block; font-size: 13.5px; } .ika-demo-list small { color: var(--muted); font-size: 12px; }
.ika-demo-list .role { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--linen-2); color: var(--ink-2); }

/* ── Registro por pasos ─────────────────────────────────────────── */
.ika-steps { display: flex; align-items: center; margin: 0 0 28px; padding: 0; list-style: none; }
.ika-steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); flex: 0 0 auto; transition: color .3s; }
.ika-steps li .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; font-size: 13px; transition: all .35s var(--ease); }
.ika-steps li .n .material-symbols-outlined { font-size: 18px; display: none; }
.ika-steps .bar { flex: 1; height: 2px; margin: 0 12px; background: var(--line); border-radius: 2px; position: relative; overflow: hidden; }
.ika-steps .bar::after { content: ''; position: absolute; inset: 0; background: var(--carton); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.ika-steps li.is-on { color: var(--navy); } .ika-steps li.is-on .n { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 0 0 5px rgba(29,37,48,.1); }
.ika-steps li.is-done { color: var(--ink-2); } .ika-steps li.is-done .n { border-color: var(--carton); background: var(--carton); color: #fff; }
.ika-steps li.is-done .n span:first-child { display: none; } .ika-steps li.is-done .n .material-symbols-outlined { display: inline-block; }
.ika-steps .bar.is-done::after { transform: scaleX(1); }
.ika-panel { display: none; } .ika-panel.is-on { display: block; animation: panelIn .45s var(--ease) both; } .ika-panel.is-on.from-left { animation-name: panelInL; }
@keyframes panelIn { from { opacity: 0; transform: translateX(26px); } } @keyframes panelInL { from { opacity: 0; transform: translateX(-26px); } }
.ika-panel h2 { font-size: 20px; font-weight: 800; color: var(--navy); } .ika-panel > p.sub { margin: 6px 0 20px; color: var(--ink-2); font-size: 14px; }
.ika-nav { display: flex; gap: 12px; margin-top: 8px; } .ika-nav .ika-btn-ghost { flex: 0 0 auto; width: 52px; padding: 0; }

.ika-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.ika-plan { position: relative; display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 16px 16px; background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.ika-plan:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(42,30,14,.08); }
.ika-plan input { position: absolute; opacity: 0; pointer-events: none; }
.ika-plan .check { position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: all .25s; }
.ika-plan .check .material-symbols-outlined { font-size: 15px; color: #fff; transform: scale(0); transition: transform .25s var(--ease); }
.ika-plan:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29,37,48,.08), 0 16px 32px rgba(29,37,48,.1); }
.ika-plan:has(input:checked) .check { background: var(--navy); border-color: var(--navy); } .ika-plan:has(input:checked) .check .material-symbols-outlined { transform: scale(1); }
.ika-plan .tag { position: absolute; top: -10px; left: 16px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, var(--carton-d), var(--carton)); box-shadow: 0 6px 14px rgba(171,115,60,.3); }
.ika-plan .nm { font-size: 14px; font-weight: 800; color: var(--navy); }
.ika-plan .pr { font-family: Manrope, sans-serif; font-size: 26px; font-weight: 800; margin: 6px 0 2px; color: var(--ink); } .ika-plan .pr small { font-size: 12px; color: var(--muted); font-weight: 600; font-family: Inter, sans-serif; }
.ika-plan .ds { font-size: 12px; color: var(--muted); line-height: 1.4; }
.ika-plan ul { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-2, #f1e8d8); display: grid; gap: 6px; font-size: 12.5px; color: var(--ink-2); }
.ika-plan ul li { display: flex; gap: 6px; } .ika-plan ul li .material-symbols-outlined { font-size: 15px; color: var(--ok); }

.ika-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.ika-seg label { position: relative; cursor: pointer; }
.ika-seg input { position: absolute; opacity: 0; }
.ika-seg label > span { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: all .25s; height: 100%; }
.ika-seg span .material-symbols-outlined { color: var(--muted); font-size: 22px; transition: color .25s; }
.ika-seg span b { font-size: 13.5px; } .ika-seg span small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.ika-seg label:hover span { border-color: #d7c4a4; }
.ika-seg input:checked + span { border-color: var(--carton); background: #fffaf2; box-shadow: 0 0 0 4px rgba(205,151,101,.15); }
.ika-seg input:checked + span .material-symbols-outlined { color: var(--carton-d); }
.ika-seg input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.ika-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease), opacity .3s; opacity: 0; }
.ika-reveal > div { overflow: hidden; } .ika-reveal.is-on { grid-template-rows: 1fr; opacity: 1; }
.ika-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 4px 0 18px; cursor: pointer; }
.ika-check input { width: 18px; height: 18px; accent-color: var(--navy); margin: 1px 0 0; flex-shrink: 0; }
.ika-check a { color: var(--carton-d); font-weight: 700; }

/* combobox de búsqueda (select.js) dentro del diseño */
.ika .ik-select { width: 100%; }
.ika .ika-input .ik-select-trigger { height: 50px; border-radius: var(--radius); border: 1.5px solid var(--line); padding-left: 44px; font-size: 15px; background: #fff; }
.ika .ika-input .ik-select.is-open .ik-select-trigger, .ika .ika-input .ik-select-trigger:focus { border-color: var(--carton); box-shadow: 0 0 0 4px rgba(205,151,101,.18); }

/* página simple (recuperación) */
.ika-done { text-align: center; } .ika-done .big { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; background: #e8f6ed; color: var(--ok); animation: pop .55s cubic-bezier(.3,1.6,.5,1) both; }
.ika-done .big .material-symbols-outlined { font-size: 38px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ── Comprador (marketplace) ────────────────────────────────────── */
.ika-aside--buyer { background: radial-gradient(110% 80% at 100% 0%, #6b4523 0%, #3a2818 38%, #1a1510 70%, var(--navy-3) 100%); }
.ika-aside--buyer .ika-blob.b1 { background: var(--carton); opacity: .45; }
.ika-aside--buyer .ika-blob.b2 { background: #6b4523; }
.ikb-stage { position: relative; height: 300px; margin: 30px 0 26px; }
.ikb-prod { position: absolute; display: flex; gap: 12px; align-items: center; width: 300px; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 22px 44px rgba(0,0,0,.35); animation: cardIn .8s var(--ease) both, floatY 8s ease-in-out infinite; animation-delay: calc(.15s + var(--i) * .15s), calc(var(--i) * -2.4s); }
.ikb-prod:nth-child(1) { left: 0; top: 0; } .ikb-prod:nth-child(2) { left: 70px; top: 92px; z-index: 2; } .ikb-prod:nth-child(3) { left: 20px; top: 184px; }
.ikb-img { flex: 0 0 64px; height: 64px; border-radius: 12px; background: var(--linen-2) center/cover no-repeat; }
.ikb-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ikb-body b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ikb-body small { display: flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.ikb-body small .material-symbols-outlined { font-size: 14px; color: #2563eb; font-variation-settings: 'FILL' 1; }
.ikb-price { font-family: Manrope, sans-serif; font-weight: 800; font-size: 15px; color: var(--carton-d); } .ikb-price i { font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted); font-family: Inter, sans-serif; }
.ikb-scan { position: absolute; right: 0; top: 18px; width: 200px; display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; animation: cardIn .8s var(--ease) .6s both, floatY 7s ease-in-out -1s infinite; }
.ikb-scan > .material-symbols-outlined { flex: 0 0 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--carton), var(--carton-d)); font-size: 20px; }
.ikb-scan b { display: block; font-size: 13px; } .ikb-scan small { font-size: 11.5px; color: rgba(255,255,255,.6); }
.ikb-line { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, #f3cfa9, transparent); box-shadow: 0 0 12px #f3cfa9; animation: scanY 2.4s ease-in-out infinite; }
@keyframes scanY { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.ikb-chat { position: absolute; right: 10px; bottom: 6px; z-index: 3; width: 230px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: var(--navy); border: 1px solid rgba(255,255,255,.12); font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.9); box-shadow: 0 18px 36px rgba(0,0,0,.35); animation: cardIn .8s var(--ease) .9s both, floatY 6s ease-in-out -3s infinite; }
.ikb-chat > .material-symbols-outlined { color: var(--carton); }
.ikb-chat small { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 2px; }

.ika-context { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin: -8px 0 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); animation: fadeUp .5s var(--ease) both; }
.ika-context .material-symbols-outlined { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #fbf3ea; color: var(--carton-d); }
.ika-context b { color: var(--navy); }
.ika-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.ika-kind label { position: relative; cursor: pointer; }
.ika-kind input { position: absolute; opacity: 0; }
.ika-kind label > span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: all .25s; }
.ika-kind label > span .material-symbols-outlined { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--linen-2); color: var(--muted); transition: all .25s; }
.ika-kind b { display: block; font-size: 14px; } .ika-kind small { font-size: 12px; color: var(--muted); }
.ika-kind input:checked + span { border-color: var(--carton); background: #fffaf2; box-shadow: 0 0 0 4px rgba(205,151,101,.15); }
.ika-kind input:checked + span .material-symbols-outlined { background: var(--carton); color: #fff; }
.ika-kind input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.ika-buyer .ika-btn-primary { background: linear-gradient(135deg, var(--carton-d) 0%, var(--carton) 100%); box-shadow: 0 12px 24px rgba(171,115,60,.3); }
.ika-buyer .ika-btn-primary:hover { box-shadow: 0 16px 30px rgba(171,115,60,.4); }
.ika-buyer .ika-head .ico { background: linear-gradient(145deg, var(--carton-d), var(--carton)); } .ika-buyer .ika-head .ico .material-symbols-outlined { color: #fff; }
.ika-more { margin: -2px 0 14px; }
.ika-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--carton-d); padding: 4px 0; }
.ika-more summary::-webkit-details-marker { display: none; }
.ika-more summary .material-symbols-outlined { font-size: 19px; transition: transform .3s var(--ease); }
.ika-more[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.ika-more summary .opt { color: var(--muted); font-weight: 500; }
.ika-more[open] > .ika-row { margin-top: 12px; animation: fadeUp .35s var(--ease) both; }
.ika-seller-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ika-seller-link a { color: var(--navy); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 2px; } .ika-seller-link a:hover { color: var(--carton-d); }
.ika-seller-link .material-symbols-outlined { font-size: 16px; }
@media (max-width: 1100px) { .ikb-prod { width: 260px; } .ikb-prod:nth-child(2) { left: 40px; } .ikb-scan { width: 180px; } }

.ika-touch-only { display: none; }
/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) { .ika-aside { padding: 34px 34px; } .g-kpi { width: 250px; } .g-msg { width: 240px; } .ika-perks { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
    body.ika { grid-template-columns: 1fr; }
    .ika-aside { display: none; }
    .ika-mlogo { display: block; }
    .ika-touch-only { display: block; }
    .ika-main { padding: 18px 20px 24px; }
}
@media (max-width: 640px) { .ika-plans, .ika-seg { grid-template-columns: 1fr; } .ika-row { grid-template-columns: 1fr; gap: 0; } .ika-head h1 { font-size: 26px; } .ika-steps li .lbl { display: none; } }
@media (prefers-reduced-motion: reduce) { .ika *, .ika *::before, .ika *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ── Continuar con Google / Facebook (includes/oauth.php) ── */
.ika-oauth { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 4px; }
.ika-oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: var(--radius); border: 1.5px solid #e3ddd2; background: #fff; color: #1f2329; font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.ika-oauth-btn:hover { border-color: #c9bda9; box-shadow: 0 8px 18px rgba(29,37,48,.08); transform: translateY(-1px); }
.ika-oauth-btn:active { transform: none; }
.ika-oauth-btn svg { flex: none; }
.ika-oauth-btn--facebook { background: #1877F2; border-color: #1877F2; color: #fff; }
.ika-oauth-btn--facebook:hover { border-color: #1466d6; background: #1466d6; }
.ika-oauth-btn--facebook svg path:first-child { fill: #fff; } .ika-oauth-btn--facebook svg path:last-child { fill: #1877F2; }
.ika-sep--oauth { margin: 16px 0 14px; }


/* ── Consola de administración (admin/login) ── */
.ika-aside--admin { background: radial-gradient(120% 90% at 0% 0%, #3a1f24 0%, #1a1418 50%, #0f1115 100%); }
.ika-aside--admin .ika-eyebrow { background: rgba(220,80,80,.16); border-color: rgba(220,80,80,.35); color: #ffd7d2; }
.ika-admin-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.ika-admin-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.82); }
.ika-admin-list .material-symbols-outlined { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); font-size: 19px; color: #f2b8b0; }
.ika-admin .ika-head .ico { background: linear-gradient(145deg, #3a1f24, #1a1418); color: #f2b8b0; }
.ika-admin .ika-btn-primary { background: linear-gradient(145deg, #2a1d22, #111318); }
