/* Pantalla de ingreso "techo rojo": fondo claro con un gran techo azul y rojo arriba (como el logo),
   y una tarjeta con el logo y el formulario. Sin otros textos. */
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: #f3f5fa; position: relative; overflow: hidden; }
.login::before, .login::after { content: ''; position: absolute; left: 50%; top: -6vh; width: 140vmax; height: 46vh; transform: translateX(-50%); }
.login::before { background: #173895; clip-path: polygon(0 100%, 50% 18%, 100% 100%, 100% 0, 0 0); }
.login::after { background: #f80000; clip-path: polygon(0 100%, 50% 18%, 100% 100%, 100% 92%, 50% 8%, 0 92%); }
.login-main { width: 100%; display: grid; place-items: center; position: relative; z-index: 1; margin-top: 12vh; }
.login-card { width: 100%; max-width: 400px; background: var(--surface); border-radius: 18px; border-top: 5px solid #f80000; padding: 34px 32px 30px; box-shadow: 0 20px 60px rgba(16, 24, 64, .18); }
.login-brand { display: grid; place-items: center; margin-bottom: 14px; }
.login-logo { width: 150px; height: auto; display: block; }
.login-title { font-family: "Montserrat", system-ui, sans-serif; font-size: 1.25rem; text-align: center; margin: 0 0 22px; color: var(--text); }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form .btn { padding: 12px 16px; font-size: 1rem; margin-top: 4px; }
.login .demo-box { margin-top: 18px; }
@media (max-width: 760px) {
  .login::before, .login::after { height: 30vh; }
  .login-main { margin-top: 8vh; }
  .login-card { padding: 28px 22px 24px; }
}
