/* =========================================================
   VIKO · Accesos (compradores, socios y administración)
   ========================================================= */
.auth-body { background: #fff; min-height: 100vh; }
.auth-wrap { display: grid; grid-template-columns: minmax(380px, 46%) 1fr; min-height: 100vh; }
.auth-side { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 40px clamp(32px, 5vw, 72px); border-right: 1px solid var(--line); background:
  radial-gradient(600px 400px at 85% 10%, #efeaff 0%, transparent 60%),
  radial-gradient(500px 380px at 0% 100%, #f2f6ff 0%, transparent 60%), #fbfbfe; }
.auth-side-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-brand img { height: 34px; }
.auth-tag { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: #fff; border: 1px solid var(--line); color: var(--primary); }
.auth-side-body { margin-top: auto; padding-top: 40px; max-width: 520px; position: relative; z-index: 2; }
.auth-side h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 16px; }
.auth-side p { font-size: 1.05rem; color: var(--ink-2); }
.auth-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; }
.auth-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.auth-points li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--green-50); color: var(--green); flex-shrink: 0; }
.auth-side-art { position: relative; height: 170px; margin: 34px 0 10px; z-index: 1; }
.art-card { position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 14px 40px rgba(15, 23, 42, .10); border: 1px solid var(--line-2); min-width: 240px; animation: float 7s ease-in-out infinite; }
.art-card .ico { color: var(--primary); }
.art-card div { display: flex; flex-direction: column; }
.art-card small { color: var(--muted); }
.art-card.c1 { left: 0; top: 0; }
.art-card.c2 { left: 120px; top: 86px; animation-delay: -3s; }
.auth-switch { margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px; padding-top: 24px; position: relative; z-index: 2; }
.auth-switch a { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.auth-switch a:hover { color: var(--primary); }

/* Portal de socios: lado morado */
.auth-seller .auth-side { background: linear-gradient(150deg, #5b3df5 0%, #7a5cff 55%, #9b7dff 100%); color: #fff; border-right: 0; }
.auth-seller .auth-side p, .auth-seller .auth-points li { color: rgba(255, 255, 255, .92); }
.auth-seller .auth-points li span { background: rgba(255, 255, 255, .18); color: #fff; }
.auth-seller .auth-tag { background: rgba(255, 255, 255, .15); color: #fff; border-color: rgba(255, 255, 255, .25); }
.auth-seller .auth-switch a { color: rgba(255, 255, 255, .9); }
.auth-seller .auth-switch a:hover { color: #fff; }
.auth-seller .auth-side::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -180px; bottom: -200px; background: rgba(255, 255, 255, .08); }

/* Administración: lado oscuro */
.auth-admin .auth-side { background: radial-gradient(700px 500px at 100% 0%, #1e1b4b 0%, transparent 60%), #0b1120; color: #fff; border-right: 0; }
.auth-admin .auth-side p, .auth-admin .auth-points li { color: #cbd5e1; }
.auth-admin .auth-points li span { background: rgba(91, 61, 245, .25); color: #c4b5fd; }
.auth-admin .auth-tag { background: rgba(255, 255, 255, .06); color: #c4b5fd; border-color: rgba(255, 255, 255, .12); }
.auth-admin .auth-switch a { color: #94a3b8; }
.auth-admin .auth-switch a:hover { color: #fff; }
.auth-admin .art-card { background: #111a2e; border-color: #1f2a44; color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.auth-admin .art-card .ico { color: #a78bfa; }
.auth-admin .art-card small { color: #94a3b8; }

/* Columna del formulario */
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: #fff; }
.auth-inner { width: 100%; max-width: 440px; }
.auth-inner.wide { max-width: 680px; }
.auth-card { background: #fff; }
.auth-card h1 { font-size: 2rem; letter-spacing: -.025em; margin: 10px 0 6px; }
.auth-kicker { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--primary-50); padding: 5px 10px; border-radius: 6px; }
.auth-admin .auth-kicker { color: #fff; background: var(--ink); }
.auth-card .form { margin-top: 24px; }
.auth-card .btn-lg { margin-top: 6px; }
.input-ico { position: relative; display: block; }
.input-ico > .ico { position: absolute; left: 15px; top: 14px; color: var(--muted); pointer-events: none; z-index: 1; }
.input-ico input { padding-left: 44px !important; height: 50px !important; }
.input-ico.pass-field .icon-btn { top: 5px; }
.auth-alt { margin-top: 22px; padding: 16px; border-radius: 12px; background: var(--bg-soft); text-align: center; font-size: .92rem; }
.auth-logo-m { display: none; margin-bottom: 18px; }
.step-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1rem; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.step-title:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.step-title span { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
.auth-main .toasts.static { max-width: none; }

@media (max-width: 960px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-logo-m { display: block; }
  .auth-main { padding: 28px 18px; align-items: flex-start; }
  .auth-card h1 { font-size: 1.6rem; }
}

.auth-seller .art-card { color: var(--ink); }


.auth-side, .auth-seller .auth-side, .auth-admin .auth-side { min-height: 100dvh; }
.auth-buyer .auth-side { background: #ffedab; }
.auth-seller .auth-side { background: #143c70; }
.auth-admin .auth-side { background: #08254d; }
.auth-brand { background: #fff; border-radius: 10px; padding: 8px 12px; }
.auth-side h2 { letter-spacing: -.065em; }
.auth-side .art-card { animation: none; }
.auth-admin .auth-points li span, .auth-admin .auth-tag, .auth-admin .art-card .ico { color: #ffda64; background: #ffffff16; }
