.login-page{display:block!important;width:100%;max-width:none;min-height:100dvh;margin:0!important;padding:0!important;background:#fff}
.ingreso{width:100%;display:grid;grid-template-columns:minmax(0,1.067fr) minmax(0,1fr);min-height:100dvh;font-family:Inter,system-ui,sans-serif;color:#0f1b3d}
.ingreso-visual{position:relative;isolation:isolate;overflow:hidden;flex:1 1 480px;min-width:0;padding:40px 48px;background:linear-gradient(160deg,#1e3a8a 0%,#1d4ed8 100%);color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:32px}
.ingreso-visual::before,.ingreso-visual::after{content:"";position:absolute;z-index:-1;border-radius:50%;background:#ffffff0f;pointer-events:none}.ingreso-visual::before{width:420px;height:420px;top:-140px;right:-120px}.ingreso-visual::after{width:300px;height:300px;bottom:-110px;left:-90px}
.ingreso-brand{display:flex;align-items:center;gap:12px}.ingreso-brand strong{display:block;color:#fff;font-size:18px;font-weight:800}.ingreso-brand p{margin:3px 0 0;font-size:13px;color:#dbe7ff}.ingreso-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#1d4ed8}.ingreso-mark svg{width:24px;height:24px}
.ingreso-description{display:grid;gap:24px}.ingreso-description h2{max-width:420px;margin:0;color:#fff;font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-.5px}.ingreso-features{display:grid;gap:16px}.ingreso-features>div{display:flex;align-items:flex-start;gap:12px}.ingreso-features>div>span{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:#ffffff24}.ingreso .ingreso-features svg{width:18px;height:18px;color:inherit}.ingreso-features strong{font-size:15px;font-weight:700}.ingreso-features p{margin:2px 0 0;color:#dbe7ff;font-size:13px;line-height:1.5}.ingreso-copyright{margin:0;font-size:12px;color:#dbe7ff}
.ingreso-right{flex:1 1 420px;min-width:0;display:flex;align-items:center;justify-content:center;padding:40px 32px;background:#fff}.ingreso-form{width:100%;max-width:380px;display:flex;flex-direction:column;gap:20px}.ingreso-heading h1{margin:0;color:#0f1b3d;font-size:30px;font-weight:800;letter-spacing:-.4px}.ingreso-heading p{margin:6px 0 0;color:#475569;font-size:14px;line-height:1.5}.ingreso-form form{display:grid;gap:16px;margin-top:8px}.ingreso-field label{display:block;margin:0 0 6px;color:#334155;font-size:13px;font-weight:600}.ingreso-label{display:flex;justify-content:space-between;gap:12px;align-items:start}.ingreso-help{position:relative;color:#2563eb;font-size:13px;font-weight:600}.ingreso-help summary{cursor:pointer;list-style:none}.ingreso-help summary::-webkit-details-marker{display:none}.ingreso-help p{position:absolute;z-index:3;right:0;top:22px;width:230px;margin:0;padding:12px;border:1px solid #dbe4f1;border-radius:10px;background:white;color:#475569;font-size:12px;font-weight:400;line-height:1.5;box-shadow:0 8px 22px #0f1b3d1a}
.ingreso-input{position:relative}.ingreso-input>.lucide{position:absolute;left:13px;top:13px;width:20px;height:20px;color:#64748b;pointer-events:none;z-index:1}.ingreso-field .input{width:100%;height:46px;min-height:46px;padding:0 42px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f1b3d;font-size:14px;box-shadow:none}.ingreso-field .input::placeholder{color:#64748b}.ingreso-field .input:focus{outline:2px solid #2563eb;outline-offset:2px;border-color:#2563eb}.ingreso-field .password-field{width:100%}.ingreso-field .password-toggle{width:36px;height:36px;right:5px;color:#64748b}
.ingreso-submit{height:46px;border:0;border-radius:10px;background:#2563eb;color:#fff;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 6px 16px #2563eb4d}.ingreso-submit:hover{background:#1d4ed8}.ingreso-submit:focus-visible,.ingreso-help summary:focus-visible,.ingreso-field .password-toggle:focus-visible{outline:2px solid #2563eb;outline-offset:3px}.ingreso-roles{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;color:#475569;font-size:12px}.ingreso-roles span{display:inline-flex;align-items:center;min-height:22px;padding:0 10px;border-radius:11px;background:#eef3ff;color:#1e3a8a;font-size:11px;font-weight:600}.ingreso .alert{margin:0}
@media(max-width:900px){.ingreso{grid-template-columns:minmax(0,1fr)}.ingreso-visual{flex:auto;min-height:0;padding:28px 24px;gap:30px}.ingreso-description h2{font-size:27px}.ingreso-copyright{display:none}.ingreso-right{flex:auto;padding:36px 24px 48px}.ingreso-field .input{font-size:16px}.ingreso-help p{width:min(230px,65vw)}}

.login-page{place-items:normal;align-items:normal;justify-items:normal}.ingreso-demo{max-width:340px;padding:16px;border-radius:16px;background:#ffffff1f;border:1px solid #ffffff38}.ingreso-demo-title{font-size:12px;font-weight:700;letter-spacing:.3px}.ingreso-demo-caption{font-size:11px;color:#dbe7ff;margin-top:4px}.ingreso-demo-row{margin-top:12px}.ingreso-demo-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;font-weight:600;margin-bottom:6px}.ingreso-demo-bar{height:6px;border-radius:3px;background:#ffffff33}.ingreso-demo-bar span{display:block;height:100%;border-radius:inherit;background:#fbbf24;width:100%}.ingreso-demo-row:last-child .ingreso-demo-bar span{width:66%;background:#4ade80}

/* En móvil el acceso tiene prioridad y ocupa toda la pantalla. */
@media(max-width:760px){.ingreso{min-height:100dvh;grid-template-columns:minmax(0,1fr)}.ingreso-visual{display:none}.ingreso-right{min-height:100dvh;padding:32px 24px}.ingreso-form{margin:auto}}

.ingreso-captcha .input{padding:0 12px;max-width:130px}.ingreso-captcha small{display:block;margin-top:6px;color:#475569;font-size:12px}
