/* =========================================================
   /acciones_login/login.mobile.css
   MOBILE ONLY  (max-width:979px)
   - Badges corporativos ARRIBA en zona lila (no en card)
   - Nítidos, sólidos, sin transparencias
   - Oculta card-header (solo desktop)
   ========================================================= */

:root{
  --primary1:#2c1fe1;
  --primary2:#3b32f1;
  --accent:#00c2d1;

  --card:#ffffff;
  --txt:#0b1220;
  --muted:#6b7280;

  --shadow: 0 18px 52px rgba(0,0,0,.20);
  --radius:22px;
}

@media (max-width: 979px){

  *{ box-sizing:border-box; }
  html,body{ height:100%; }

  body{
    margin:0;
    font-family:"Roboto",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
    background:#f3f4f6;
    color:var(--txt);
  }

  .wf-auth{ min-height:100vh; display:flex; }
  .wf-shell{ width:100%; min-height:100vh; }

  .wf-stage{
    min-height:100vh;
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    background:
      radial-gradient(520px 520px at 18% 18%, rgba(255,255,255,.10), transparent 58%),
      radial-gradient(560px 560px at 82% 52%, rgba(0,194,209,.08), transparent 62%),
      linear-gradient(165deg, var(--primary2) 0%, var(--primary1) 62%, #20189f 100%);
    position:relative;
    overflow:hidden;
  }

  .wf-stage::before{
    content:"";
    position:absolute;
    inset:-170px -160px auto -160px;
    height:520px;
    background:
      radial-gradient(circle at 22% 22%, rgba(255,255,255,.14), transparent 56%),
      radial-gradient(circle at 70% 26%, rgba(255,255,255,.10), transparent 60%);
    pointer-events:none;
  }

  .wf-brandbar,
  .wf-hero{ display:none; }

  /* ── TOP ── */
  .wf-top{
    display:block;
    padding:14px 18px 0;
    position:relative;
    z-index:2;
  }

  .wf-topbar{
    display:flex;
    align-items:center;
    gap:12px;
  }

  .wf-logo{
    width:52px; height:52px; border-radius:16px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.16);
    display:grid; place-items:center; overflow:hidden;
    position:relative;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }

  .wf-logo::before{
    content:""; position:absolute; inset:-40%;
    background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,0) 55%);
    transform: rotate(10deg); pointer-events:none;
  }

  .wf-logo svg{
    width:34px; height:34px; display:block;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.20));
  }

  .wf-logoimg{
    width:100%; height:100%; display:block;
    object-fit:contain; padding:7px;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
  }

  .wf-topbar-spacer{ flex:1; }

  .wf-title{
    margin-top:12px; color:#fff;
  }
  .wf-title h1{
    margin:0; font-size:18px; font-weight:900;
    line-height:1.15; letter-spacing:.2px;
  }
  .wf-title h1 span{ display:block; margin-top:2px; }
  .wf-title p{
    margin:5px 0 0; opacity:.86;
    font-size:13px; line-height:1.45;
  }

  /* ═══════════════════════════════════════════
     ★ BADGES CORPORATIVOS — EN ZONA LILA (TOP)
     ═══════════════════════════════════════════ */
  .wf-features{
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    padding:14px 18px 18px;
    position:relative;
    z-index:2;
  }

  .wf-feature{
    display:flex;
    align-items:center;
    gap:5px;
    background:#fff;
    border-radius:10px;
    padding:6px 11px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
  }

  .wf-feature-icon{
    width:16px; height:16px;
    flex-shrink:0;
    color:var(--primary1);
  }

  .wf-feature span{
    font-size:10.5px;
    font-weight:800;
    color:var(--primary1);
    text-transform:uppercase;
    letter-spacing:.02em;
    white-space:nowrap;
  }

  /* ── CARD ── */
  .wf-card{
    margin-top:auto;
    background:var(--card);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 22px 60px rgba(0,0,0,.18);
    padding:24px 16px 14px;
    position:relative;
    z-index:3;
    flex:1 0 auto;
  }

  .wf-card::before{
    content:""; position:absolute;
    top:10px; left:50%; transform:translateX(-50%);
    width:44px; height:4px; border-radius:99px;
    background: rgba(15,23,42,.10);
  }

  /* ══ OCULTAR elementos solo-desktop en mobile ══ */
  .wf-card > .wf-features,
  .wf-card-header,
  .wf-card-chips{
    display:none !important;
  }

  /* ── Alert ── */
  .wf-alert{
    display:none;
    padding:12px; border-radius:14px;
    background:rgba(239,68,68,.10);
    color:#7f1d1d; font-weight:900;
    margin:0 0 12px;
  }
  .wf-alert[data-has="1"]{ display:block; }

  /* ── Form ── */
  .wf-form{ margin:0; }
  .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; box-shadow: 0 8px 18px rgba(15,23,42,.06);
  }

  .wf-flag{
    width:34px; height:24px; border-radius:7px;
    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:12px 2px 8px; color:#111827;
  }

  .wf-input{
    position:relative; display:flex; align-items:center;
    border:1px solid rgba(17,24,39,.14); border-radius:16px;
    padding:12px; background:#fff;
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
    transition: .15s ease;
  }
  .wf-input:focus-within{
    border-color: rgba(44,31,225,.35);
    box-shadow: 0 10px 22px rgba(44,31,225,.12);
  }
  .wf-input input{
    border:0; outline:none; width:100%;
    font-size:14px; background:transparent; color:#0b1220;
  }

  .wf-eye{
    border:0; background:transparent; cursor:pointer;
    font-size:16px; padding:6px; opacity:.85;
  }

  .wf-btn{
    width:100%; margin-top:14px; border:0; cursor:pointer;
    border-radius:14px; padding:14px;
    font-weight:900; font-size:14px;
    background:var(--accent); color:#06202a;
    display:flex; align-items:center; justify-content:center;
    box-shadow: 0 12px 22px rgba(0,194,209,.18);
    transition: .15s ease;
  }
  .wf-btn:active{ transform: translateY(1px); opacity:.96; }

  .wf-links{
    margin-top:12px; display:flex;
    justify-content:space-between; gap:14px; flex-wrap:wrap;
  }
  .wf-links a{
    text-decoration:none; font-weight:900; font-size:12px;
    color: rgba(44,31,225,.95);
  }
  .wf-links a:hover{ text-decoration:underline; }
  .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-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;
    box-shadow: 0 8px 18px rgba(15,23,42,.05);
  }

  .wf-foot{
    margin-top:14px; display:flex; justify-content:center;
    gap:10px; color:rgba(17,24,39,.60);
    font-weight:800; font-size:12px;
  }
  .wf-dot{ opacity:.6; }

  /* CELUS CHICOS */
  @media (max-width: 360px){
    .wf-title h1{ font-size:17px; }
    .wf-features{ gap:4px; padding:10px 14px 14px; }
    .wf-feature{ padding:5px 8px; }
    .wf-feature span{ font-size:9.5px; }
    .wf-feature-icon{ width:14px; height:14px; }
  }
}