/* Login IoNexum (opcion A): tarjeta sobre fondo de marca */
:root { --p: #642576; --p-dark: #4b1a5a; --t: #36a7a0; }

body.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%2336a7a0' stroke-opacity='.16' stroke-width='1.5'%3E%3Cpath d='M0 40h40l20 20h40M100 60l20-20h40M40 160v-40l20-20v-40M120 160v-30l-20-20H60'/%3E%3Ccircle cx='100' cy='60' r='4'/%3E%3Ccircle cx='60' cy='100' r='4'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(900px 500px at 15% 0%, rgba(54,167,160,.35), transparent 60%),
    linear-gradient(150deg, #642576 0%, #3a1247 45%, #1f0a29 100%);
  background-attachment: fixed;
}
.lg-card { width: 100%; max-width: 390px; background: #fff; border-radius: 18px;
  padding: 30px 30px 20px; box-shadow: 0 24px 60px rgba(20,4,28,.45); }
.lg-head { text-align: center; margin-bottom: 22px; }
.lg-head img { width: 190px; height: auto; display: block; margin: 0 auto 14px; }
.lg-title { font-size: 20px; font-weight: 700; color: #2a1733; }
.lg-sub { font-size: 13px; color: #665C70; }

.lg-field { position: relative; margin-bottom: 14px; }
.lg-field label { display: block; font-size: 13px; font-weight: 600; color: #3f3a46; margin-bottom: 6px; }
.lg-field .ico { position: absolute; left: 12px; bottom: 12px; width: 18px; height: 18px;
  color: #9a90a6; pointer-events: none; }
.lg-field input { width: 100%; padding: 11px 42px; border: 1px solid #d6cfdd; border-radius: 10px;
  font-size: 15px; background: #fff; margin: 0; }
.lg-field input:focus { outline: none; border-color: var(--t); box-shadow: 0 0 0 3px rgba(54,167,160,.22); }
.lg-eye { position: absolute; right: 6px; bottom: 6px; background: none; padding: 6px; color: #7c7287;
  border: 0; border-radius: 6px; line-height: 0; }
.lg-eye:hover, .lg-eye.active { color: var(--p); }
.lg-eye svg { width: 20px; height: 20px; }

.lg-caps { font-size: 12px; color: #b45309; margin: -8px 0 10px; }
.lg-btn { width: 100%; padding: 12px; font-size: 15px; font-weight: 600; border-radius: 10px; margin-top: 4px;
  background: var(--p); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(100,37,118,.28); }
.lg-btn:hover { background: var(--p-dark); }
.lg-btn:disabled { opacity: .7; cursor: progress; }
.lg-error { color: #dc2626; font-size: 13px; text-align: center; min-height: 18px; margin-top: 10px; }
.lg-foot { font-size: 12px; color: #665C70; text-align: center; margin-top: 8px; }   /* 6,3:1 (antes 3,0:1) */
