/* Página: Login. */
body { justify-content: center; align-items: center; padding: 24px 16px; }

.login { width: 100%; max-width: 26rem; }
.login-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; }
.login-brand .logo { width: 46px; height: 46px; font-size: 18px; }
.login-brand .brand-name { font-size: 20px; }

.login-card { padding: 28px 24px; }
.login-card h1 { display: block; padding: 0; border: 0; margin-bottom: 4px; font-size: 1.5rem; text-transform: none; letter-spacing: 0; }
.login-card .sub { margin-bottom: 20px; font-size: 14px; color: var(--fg-dim); }

.login label { color: var(--fg-dim); }
.field { margin-bottom: 14px; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 84px; }
.link-btn { background: none; border: 0; color: var(--cyan); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.input-wrap .link-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--teal); }

.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 18px; font-size: 13px; }
.row-between a { color: var(--cyan); font-weight: 600; text-decoration: none; }
.row-between a:hover { text-decoration: underline; }
.check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 500; text-transform: none; color: var(--fg-dim); cursor: pointer; }
.check input { width: 16px; height: 16px; padding: 0; accent-color: var(--teal-hover); }

.login .btn { width: 100%; justify-content: center; padding: 11px 12px; font-size: 15px; }
.login .btn:disabled { opacity: .7; cursor: wait; }

.form-error { min-height: 1.3em; margin-top: 12px; font-size: 13px; font-weight: 600; color: #fca5a5; text-align: center; }
.form-error.ok { color: #86efac; }
:root.light-bg .form-error { color: #b91c1c; }
.demo-notice { margin-top: 16px; padding: 10px 12px; border: 1px solid rgba(250, 204, 21, .45); border-radius: 8px; background: rgba(250, 204, 21, .1); font-size: 12px; line-height: 1.4; color: var(--fg-dim); }
.login-foot { margin-top: 20px; text-align: center; font-size: 12px; color: var(--fg-faint); }
