/* =========================================================
   /acciones_login/login.desktop.css
   DESKTOP ONLY (>=980px)
   - Panel lila izq + card blanca der
   - Card header corporativo (llena espacio vacío)
   - Features en hero lila (nítidos, sólidos)
   ========================================================= */

:root{
  --primary1:#2c1fe1;
  --primary2:#3b32f1;
  --accent:#00c2d1;

  --card:#ffffff;
  --txt:#0b1220;
  --muted:#6b7280;

  --radius:32px;
  --shadow: 0 40px 120px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:"Roboto",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  background: linear-gradient(135deg, var(--primary2) 0%, var(--primary1) 70%, #20189f 100%);
}

.wf-auth{
  min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  padding:34px;
}

.wf-stage{
  width:min(1160px, 100%);
  height:min(720px, calc(100vh - 68px));
  border-radius:var(--radius);
  overflow:hidden;
  display:grid;
  grid-template-columns: 56% 44%;
  box-shadow:var(--shadow);
  background:#fff;
  position:relative; z-index:1;
}

.wf-top{ display:none !important; }

/* ── Panel izquierdo lila ── */
.wf-brandbar,
.wf-hero{
  grid-column:1; color:#fff;
  background: linear-gradient(140deg, var(--primary2) 0%, var(--primary1) 62%, #20189f 100%);
}

.wf-brandbar{
  padding:56px 56px 0;
  display:flex; align-items:flex-start;
}
.wf-brandbar-inner{
  display:flex; align-items:center; gap:16px;
}

.wf-brandmark{
  width:64px; height:64px; border-radius:20px;
  background:rgba(255,255,255,.12);
  display:grid; place-items:center; overflow:hidden;
  backdrop-filter:blur(6px);
}
.wf-brandmark svg{ width:48px; height:48px; display:block; }
.wf-logoimg{
  width:100%; height:100%; display:block;
  object-fit:contain; padding:6px;
}

.wf-brandname{ font-weight:900; font-size:22px; line-height:1.1; }
.wf-brandsub{
  margin-top:2px; font-weight:900; font-size:12px;
  letter-spacing:.18em; opacity:.75;
}

.wf-hero{
  padding:120px 56px 56px;
  position:relative;
}
.wf-hero h1{
  margin:0 0 14px; font-size:44px; font-weight:900; line-height:1.05;
}
.wf-hero p{
  margin:0; font-size:14px; opacity:.86;
  max-width:46ch; line-height:1.5;
}

/* Círculos decorativos */
.wf-hero::before{
  content:""; position:absolute;
  width:520px; height:520px; border-radius:50%;
  background:rgba(255,255,255,.14);
  top:-210px; right:-220px;
}
.wf-hero::after{
  content:""; position:absolute;
  width:260px; height:260px; border-radius:50%;
  background:rgba(255,255,255,.12);
  bottom:-110px; left:90px;
}

/* ── Features hero lila — NÍTIDOS ── */
.wf-features{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:28px; position:relative; z-index:2;
}
.wf-feature{
  display:flex; align-items:center; gap:7px;
  background:#fff; border-radius:12px;
  padding:9px 16px 9px 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
  cursor:default;
  transition: transform .15s, box-shadow .15s;
}
.wf-feature:hover{
  transform:translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.20);
}
.wf-feature-icon{
  width:20px; height:20px; flex-shrink:0;
  color:var(--primary1);
}
.wf-feature span{
  font-size:11.5px; font-weight:800;
  color:var(--primary1); text-transform:uppercase;
  letter-spacing:.03em; white-space:nowrap;
}

/* ═══════════════════════════════════════════
   PANEL DERECHO — CARD BLANCA
   ═══════════════════════════════════════════ */
.wf-card{
  grid-column:2;
  background:#fff;
  padding:48px 56px 40px;
  display:flex; flex-direction:column;
  justify-content:center;
  overflow-y:auto;
}

/* Ocultar features duplicados en card */
.wf-card > .wf-features{ display:none !important; }

/* ═══════════════════════════════════════════
   ★ CARD HEADER — llena el espacio vacío
   Bienvenida + mini resumen corporativo
   ═══════════════════════════════════════════ */
.wf-card-header{
  margin-bottom:28px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(17,24,39,.06);
}

.wf-card-header h2{
  margin:0;
  font-size:22px;
  font-weight:900;
  color:var(--txt);
  line-height:1.2;
}

.wf-card-header p{
  margin:8px 0 0;
  font-size:13px;
  font-weight:500;
  color:var(--muted);
  line-height:1.5;
}

/* Mini chips informativos en card */
.wf-card-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.wf-card-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 12px;
  border-radius:8px;
  background:#f0f0ff;
  border:1px solid rgba(44,31,225,.06);
}
.wf-card-chip svg{
  width:14px; height:14px;
  color:var(--primary1);
  flex-shrink:0;
}
.wf-card-chip span{
  font-size:10.5px;
  font-weight:700;
  color:var(--primary1);
  text-transform:uppercase;
  letter-spacing:.02em;
}

/* ── Alert ── */
.wf-alert{
  display:none;
  padding:12px; border-radius:14px;
  background:rgba(239,68,68,.10);
  color:#7f1d1d; font-weight:900; margin-bottom:12px;
}
.wf-alert[data-has="1"]{ display:block; }

.wf-row{ margin-bottom:12px; }

.wf-country{
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff; border-radius:16px; padding:12px;
}
.wf-flag{
  width:34px; height:24px; border-radius:6px;
  overflow:hidden; background:#eef2ff;
  display:grid; place-items:center;
}
.wf-flag img{ width:100%; height:100%; object-fit:cover; display:block; }
.wf-country-meta{ line-height:1.1; }
.wf-country-name{ font-weight:900; font-size:14px; }
.wf-country-sub{ font-weight:800; color:var(--muted); font-size:12px; margin-top:2px; }
.wf-lock{ margin-left:auto; font-size:16px; opacity:.9; }

.wf-label{
  display:block; font-weight:900; font-size:13px;
  margin:10px 2px 8px; color:#111827;
}

.wf-input{
  position:relative; display:flex; align-items:center;
  border:1px solid rgba(17,24,39,.12); border-radius:16px;
  padding:14px; background:#f9fafb;
  transition:.15s ease;
}
.wf-input:focus-within{
  border-color: rgba(44,31,225,.30);
  box-shadow: 0 8px 20px rgba(44,31,225,.08);
  background:#fff;
}
.wf-input input{
  border:0; outline:none; width:100%;
  font-size:14px; background:transparent;
}
.wf-eye{
  border:0; background:transparent; cursor:pointer;
  font-size:16px; padding:6px; opacity:.85;
}
.wf-eye:hover{ opacity:1; }

.wf-btn{
  margin-top:16px; width:100%; border:0;
  border-radius:14px; padding:14px;
  font-weight:900; font-size:14px;
  background:var(--accent); color:#06202a;
  cursor:pointer; transition:.15s ease;
  box-shadow: 0 10px 20px rgba(0,194,209,.15);
}
.wf-btn:hover{ transform:translateY(-1px); opacity:.96; box-shadow: 0 14px 28px rgba(0,194,209,.22); }
.wf-btn:active{ transform:translateY(0); }

.wf-links{
  margin-top:14px; display:flex;
  justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.wf-links a{
  color:rgba(44,31,225,.95); font-weight:900;
  font-size:12px; text-decoration:none;
}
.wf-links a:hover{ text-decoration:underline; color:var(--primary1); }
.wf-links-center{ justify-content:center; }

.wf-btn-ghost{
  background:transparent;
  border:1px solid rgba(17,24,39,.14);
  color:#0b1220; margin-top:10px; box-shadow:none;
}
.wf-btn-ghost:hover{ background:#f9fafb; }

.wf-step-title h2{ margin:0; font-size:18px; font-weight:900; }
.wf-step-title p{
  margin:8px 0 0; color:var(--muted);
  font-weight:800; font-size:12px; line-height:1.4;
}

.wf-otp{
  display:flex; gap:8px; justify-content:space-between;
  margin:14px 0 2px;
}
.wf-otp-i{
  width:100%; max-width:44px; text-align:center;
  font-size:16px; font-weight:900; border-radius:14px;
  border:1px solid rgba(17,24,39,.12);
  padding:12px 0; outline:none; background:#fff;
  transition:.15s ease;
}
.wf-otp-i:focus{
  border-color:rgba(44,31,225,.35);
  box-shadow: 0 6px 16px rgba(44,31,225,.10);
}

.wf-foot{
  margin-top:28px; display:flex; justify-content:center;
  gap:10px; color:#9ca3af; font-weight:800; font-size:12px;
}
.wf-dot{ opacity:.6; }

@media (min-width: 1300px){
  .wf-stage{ width:1200px; height:740px; }
}

/* ── Fix logo ── */
.wf-brandmark,
.wf-logo{
  width:56px; height:56px; border-radius:16px;
  overflow:hidden; display:grid; place-items:center;
  background:rgba(255,255,255,.12); backdrop-filter:blur(6px);
}
.wf-logoimg{ width:100%; height:100%; object-fit:contain; display:block; }
.wf-svg{ width:70%; height:70%; }