/* Estructura y comportamiento visual de la referencia. */

    :root { --acento:#2e6b4e; --acento-osc:#25573f; --band-bg:#33415a; --split:50%; }
    * { box-sizing:border-box; }
    html, body { margin:0; height:100%; }
    body { background:linear-gradient(135deg,#33415a 0%,#2b3750 100%); overflow:hidden; }
    .btn-acento { background:var(--acento); border-color:var(--acento); color:#fff; }
    .btn-acento:hover { background:var(--acento-osc); border-color:var(--acento-osc); color:#fff; }
    .brand { color:var(--acento); }

    .login-shell { display:flex; height:100dvh; padding:1.5rem; align-items:stretch; }

    /* --- Rectángulo 1: vitrina de novedades --- */
    .login-visual { flex:0 0 var(--split); min-width:0; border-radius:22px; overflow:hidden;
      background:#3d4a63; display:flex; box-shadow:0 12px 40px rgba(0,0,0,.28);
      animation:fadeSlideL .6s cubic-bezier(.22,.61,.36,1) both; }
    .login-carousel { position:relative; width:100%; height:100%; background:#263349; }
    .login-carousel-slide { position:absolute; inset:0; opacity:0; transition:opacity .65s ease; }
    .login-carousel-slide.is-active { opacity:1; z-index:1; }
    .login-carousel-slide img { width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
    .login-carousel-control { position:absolute; z-index:2; bottom:1rem; width:2.1rem; height:2.1rem;
      border:0; border-radius:50%; color:#fff; background:rgba(15,25,40,.48); opacity:.32;
      transition:opacity .2s ease, background .2s ease, transform .2s ease; }
    .login-carousel-control:hover, .login-carousel-control:focus-visible { opacity:1; background:rgba(15,25,40,.78); transform:scale(1.06); }
    .login-carousel-prev { left:1rem; }
    .login-carousel-next { right:1rem; }
    .login-carousel-indicators { position:absolute; z-index:2; bottom:1.65rem; left:50%; transform:translateX(-50%);
      display:flex; align-items:center; gap:.42rem; }
    .login-carousel-indicator { width:.42rem; height:.42rem; padding:0; border:0; border-radius:50%;
      background:rgba(255,255,255,.48); transition:transform .2s ease, background .2s ease; }
    .login-carousel-indicator.is-active { background:#fff; transform:scale(1.35); }
    .visual-ph { width:100%; height:100%; display:flex; flex-direction:column; align-items:center;
      justify-content:center; text-align:center; gap:.5rem; padding:1.5rem; color:#c7d2e2; }
    .visual-ph i { font-size:2.4rem; color:#8fa6c2; }
    .visual-ph b { color:#dfe8f4; }

    /* --- Divisor sutil arrastrable --- */
    .login-divider { flex:0 0 30px; align-self:stretch; cursor:col-resize; display:flex;
      align-items:center; justify-content:center; touch-action:none; }
    .login-divider .grip { width:5px; height:44px; border-radius:99px;
      background:rgba(255,255,255,.10); transition:background .2s ease, height .2s ease; }
    .login-divider:hover .grip { background:rgba(255,255,255,.55); height:70px; }

    /* --- Rectángulo 2: login (su contenido escala con el ancho) --- */
    .login-panel { flex:1 1 0; min-width:0; background:#fff; border-radius:22px; overflow:hidden;
      display:flex; align-items:center; justify-content:center; box-shadow:0 12px 40px rgba(0,0,0,.28);
      transition:box-shadow .3s ease; animation:fadeSlideR .6s cubic-bezier(.22,.61,.36,1) both; }
    .login-panel:hover { box-shadow:0 16px 52px rgba(0,0,0,.34); }
    .login-inner { width:100%; max-width:420px; padding:2rem; transform-origin:center center; }

    .login-logo { height:96px; margin:0 auto 1.25rem; display:flex; align-items:center;
      justify-content:center; padding:8px; }
    .login-logo img { max-width:100%; max-height:100%; object-fit:contain; border-radius:16px; }
    .logo-ph { width:100%; height:100%; border:1px dashed #9db3a6; border-radius:16px;
      display:flex; flex-direction:column; align-items:center; justify-content:center;
      text-align:center; font-size:.62rem; color:#6d7f72; line-height:1.35; padding:6px; }
    .logo-ph b { color:#2e6b4e; }

    @keyframes fadeSlideL { from { opacity:0; transform:translateX(-26px); } to { opacity:1; transform:none; } }
    @keyframes fadeSlideR { from { opacity:0; transform:translateX(26px); } to { opacity:1; transform:none; } }

    @media (max-width: 767px) {
      body { overflow:auto; }
      .login-visual, .login-divider { display:none; }
      .login-shell { padding:1rem; height:auto; min-height:100dvh; }
      .login-inner { transform:none !important; }
    }
    @media (prefers-reduced-motion: reduce) {
      .login-visual, .login-panel, .login-carousel-slide { animation:none; transition:none; }
    }
  