/* ARGOS / VPNACIONAL · LOGIN V18 · 2026-10-19
   Solo escritorio >= 901px. No altera el login móvil ni la lógica de autenticación. */
@media (min-width: 901px) {
  html.argos-login-v18-html,
  body.argos-login-v18-active {
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  body.argos-login-v18-active > *:not(#argos-login-v18-root) {
    display: none !important;
  }

  #argos-login-v18-root,
  #argos-login-v18-root * { box-sizing: border-box; }

  #argos-login-v18-root {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: grid;
    grid-template-columns: minmax(0, 62.5%) minmax(500px, 37.5%);
    width: 100vw;
    height: 100vh;
    min-height: 640px;
    font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #071A40;
    background: #fff;
    overflow: hidden;
  }

  .argos-login-v18-visual {
    position: relative;
    min-width: 0;
    height: 100%;
    background: #f5f9fc url('../img/argos_login_v18_left.webp') center center / cover no-repeat;
  }

  .argos-login-v18-panel {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 500px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #e5ecf3;
  }

  .argos-login-v18-help {
    position: absolute;
    top: 28px;
    right: 36px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #375170;
    font-size: 12px;
    line-height: 1.35;
    text-decoration: none;
  }
  .argos-login-v18-help[hidden] { display:none !important; }
  .argos-login-v18-help-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid #cdd9e5;
    border-radius: 999px;
    color: #31506f;
    font-weight: 800;
  }
  .argos-login-v18-help b { color:#126be8; font-weight:700; }

  .argos-login-v18-formwrap {
    width: min(100% - 72px, 440px);
    margin: auto;
    transform: translateY(-8px);
  }

  .argos-login-v18-wordmark {
    display: block;
    width: min(280px, 72%);
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
    margin: 0 0 26px;
  }

  .argos-login-v18-title {
    margin: 0;
    font-size: clamp(30px, 2.25vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 800;
    color: #071A40;
  }
  .argos-login-v18-subtitle {
    margin: 10px 0 34px;
    max-width: 410px;
    color: #647991;
    font-size: 16px;
    line-height: 1.55;
  }

  .argos-login-v18-error {
    margin: -12px 0 20px;
    padding: 11px 13px;
    border: 1px solid #ffc8c8;
    border-radius: 11px;
    background: #fff2f2;
    color: #a92121;
    font-size: 13px;
    font-weight: 650;
  }
  .argos-login-v18-error:empty { display:none; }

  .argos-login-v18-field { margin: 0 0 20px; }
  .argos-login-v18-label {
    display: block;
    margin: 0 0 8px;
    color: #0d2342;
    font-size: 14px;
    font-weight: 800;
  }
  .argos-login-v18-inputshell { position:relative; }
  .argos-login-v18-inputshell svg {
    position:absolute;
    top:50%;
    left:17px;
    width:22px;
    height:22px;
    transform:translateY(-50%);
    fill:none;
    stroke:#395575;
    stroke-width:1.9;
    pointer-events:none;
  }
  .argos-login-v18-input {
    width:100%;
    height:56px;
    border:1px solid #cbd8e5;
    border-radius:12px;
    outline:none;
    padding:0 16px 0 50px;
    background:#fff;
    color:#071A40;
    font: 500 15px/1.2 Manrope, Inter, sans-serif;
    transition:border-color .16s ease, box-shadow .16s ease;
  }
  .argos-login-v18-input::placeholder { color:#8b9caf; }
  .argos-login-v18-input:focus {
    border-color:#f36b16;
    box-shadow:0 0 0 4px rgba(243,107,22,.11);
  }

  .argos-login-v18-options {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin: 4px 0 28px;
    font-size:14px;
  }
  .argos-login-v18-remember {
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#405670;
    white-space:nowrap;
    cursor:pointer;
  }
  .argos-login-v18-remember input {
    width:18px;
    height:18px;
    accent-color:#f36b16;
  }
  .argos-login-v18-forgot {
    color:#126be8;
    font-weight:650;
    text-decoration:none;
    text-align:right;
  }
  .argos-login-v18-forgot:hover { text-decoration:underline; }

  .argos-login-v18-submit {
    width:100%;
    height:58px;
    border:0;
    border-radius:12px;
    background:#f36b16;
    box-shadow:0 12px 28px rgba(243,107,22,.20);
    color:#fff;
    font:800 16px/1 Manrope, Inter, sans-serif;
    cursor:pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  }
  .argos-login-v18-submit:hover {
    background:#df5a0b;
    box-shadow:0 14px 32px rgba(243,107,22,.28);
    transform:translateY(-1px);
  }
  .argos-login-v18-submit:active { transform:translateY(0); }
  .argos-login-v18-submit:disabled { opacity:.68; cursor:wait; transform:none; }

  .argos-login-v18-divider {
    display:grid;
    grid-template-columns:1fr 10px 1fr;
    align-items:center;
    gap:14px;
    margin:30px 0 24px;
  }
  .argos-login-v18-divider::before,
  .argos-login-v18-divider::after {
    content:"";
    height:1px;
    background:#d8e2ec;
  }
  .argos-login-v18-divider span {
    width:10px;
    height:10px;
    border:1px solid #aebfd0;
    border-radius:999px;
  }

  .argos-login-v18-institutional {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    height:52px;
    border:1px solid #c7d6e5;
    border-radius:12px;
    background:#fff;
    color:#314a69;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
  }
  .argos-login-v18-institutional[hidden] { display:none !important; }
  .argos-login-v18-institutional svg { width:22px;height:22px;fill:none;stroke:#314a69;stroke-width:1.7; }

  .argos-login-v18-footer {
    display:grid;
    grid-template-columns:1fr 1px 1fr;
    gap:20px;
    align-items:center;
    margin-top:34px;
    color:#7c8fa4;
  }
  .argos-login-v18-footer small { display:block; margin-bottom:4px; font-size:11px; }
  .argos-login-v18-vp { color:#f36b16; font-size:17px; font-weight:900; line-height:1.02; letter-spacing:-.02em; }
  .argos-login-v18-footer-line { width:1px;height:48px;background:#cbd6e1; }
  .argos-login-v18-footer-copy { font-size:11px; line-height:1.55; }

  @media (max-height: 760px) {
    .argos-login-v18-formwrap { transform:none; width:min(100% - 64px, 430px); }
    .argos-login-v18-wordmark { width:230px; margin-bottom:16px; }
    .argos-login-v18-title { font-size:31px; }
    .argos-login-v18-subtitle { margin-bottom:20px; font-size:14px; }
    .argos-login-v18-field { margin-bottom:13px; }
    .argos-login-v18-input { height:50px; }
    .argos-login-v18-options { margin-bottom:18px; }
    .argos-login-v18-submit { height:52px; }
    .argos-login-v18-divider { margin:20px 0 16px; }
    .argos-login-v18-footer { margin-top:18px; }
  }

  @media (max-width: 1120px) {
    #argos-login-v18-root { grid-template-columns:minmax(0,56%) minmax(490px,44%); }
    .argos-login-v18-visual { background-position:center; }
    .argos-login-v18-formwrap { width:min(100% - 54px,420px); }
  }
}
