* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #f8fafc; color: #1e293b; }
.page { display: flex; min-height: 100vh; }
.brand-panel { display: none; width: 50%; background: #1d4ed8; color: #fff; padding: 4rem; flex-direction: column; justify-content: space-between; }
.brand-name { font-size: 1.25rem; font-weight: 700; letter-spacing: .03em; }
.brand-headline { font-size: 2.25rem; font-weight: 800; line-height: 1.2; margin: 0 0 3rem; }
.feature { margin-bottom: 2rem; }
.feature-title { margin: 0; font-weight: 600; }
.feature-text { margin: .25rem 0 0; font-size: .875rem; color: rgba(255, 255, 255, .7); }
.brand-footer { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 2rem; font-size: .75rem; color: rgba(255, 255, 255, .5); }
.card-panel { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; }
.card { width: 100%; max-width: 28rem; background: #fff; border: 1px solid #e2e8f0; border-radius: .375rem; padding: 2.5rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.card-title { margin: 0 0 .5rem; font-size: 1.5rem; font-weight: 700; }
.card-text { margin: 0 0 1.5rem; font-size: .875rem; color: #64748b; }
.hint { background: #f8fafc; border: 1px solid #f1f5f9; border-radius: .375rem; padding: .75rem 1rem; font-size: .875rem; color: #475569; }
.card-footer { margin-top: 1.5rem; font-size: .75rem; color: #94a3b8; }
.alert-error { margin-bottom: 1.5rem; background: #fef2f2; border: 1px solid #fee2e2; border-radius: .375rem; padding: .75rem 1rem; font-size: .875rem; color: #b91c1c; }
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.label { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #334155; }
.input { display: block; width: 100%; padding: .75rem 1rem; background: #fff; border: 1px solid #e2e8f0; border-radius: .375rem; font-size: .875rem; color: #1e293b; }
.input:focus { outline: none; border-color: #1d4ed8; box-shadow: 0 0 0 3px rgba(29, 78, 216, .2); }
.password-wrap { position: relative; }
.input-password { padding-right: 6.5rem; }
.toggle-password { position: absolute; top: 50%; right: .5rem; transform: translateY(-50%); background: none; border: 0; padding: .25rem .5rem; font-size: .75rem; font-weight: 600; color: #475569; cursor: pointer; }
.toggle-password:hover { color: #1d4ed8; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .75rem 1rem; border-radius: .375rem; border: 1px solid transparent; font-size: .875rem; font-weight: 600; cursor: pointer; }
.btn-block { width: 100%; }
.btn-primary { background: #1d4ed8; color: #fff; }
.btn-primary:hover { background: #1e40af; }
.btn-outline { background: #fff; border-color: #cbd5e1; color: #334155; }
.btn-outline:hover { background: #f8fafc; }
.btn.is-disabled { opacity: .6; pointer-events: none; }
.btn-link { background: none; border: 0; padding: .25rem; font-size: .875rem; color: #64748b; cursor: pointer; }
.btn-link:hover { color: #1d4ed8; text-decoration: underline; }
.user-box { margin-bottom: 1.5rem; border: 1px solid #e2e8f0; border-radius: .375rem; padding: .75rem 1rem; }
.user-label { margin: 0; font-size: .75rem; color: #64748b; }
.user-name { margin: .125rem 0 0; font-weight: 600; color: #1e293b; }
.actions { display: flex; gap: .75rem; }
.action { flex: 1; }
.logout { margin-top: 1rem; text-align: center; }
@media (min-width: 1024px) { .brand-panel { display: flex; } }
