* { box-sizing: border-box; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: #f3f5f8; color: #13181b; font: 16px/1.5 "Cabinet Sans", sans-serif; }
.login-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 40px; }
.login-header img { display: block; object-fit: contain; }
.demo-label { padding: 6px 12px; background: #e4eaf2; border-radius: 8px; font-size: 12px; color: #596570; }
.login-main { flex: 1; display: grid; place-items: center; padding: 28px 20px 40px; }
.login-card { width: 100%; max-width: 460px; background: #fff; padding: 40px; border-radius: 24px; box-shadow: 0 4px 24px #18253408; }
.login-company { width: 48px; height: 48px; display: grid; place-items: center; background: #eaf2ff; color: #0474e1; font-size: 22px; font-weight: 600; border-radius: 14px; margin-bottom: 24px; }
.login-eyebrow { margin: 0 0 8px; color: #69747e; font-size: 14px; }
h1 { font-size: 26px; line-height: 1.3; letter-spacing: -.5px; margin: 0 0 12px; font-weight: 600; }
.login-description { margin: 0 0 28px; font-size: 14px; color: #69747e; line-height: 1.6; }
label { display: block; margin-bottom: 8px; font-size: 14px; }
input { font: inherit; width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; border: 1px solid #dfe3e8; border-radius: 10px; color: inherit; }
input::placeholder { color: #929aa3; font-size: 14px; }
#username { margin-bottom: 20px; }
input:focus-visible, button:focus-visible { outline: 3px solid #0474e140; outline-offset: 2px; }
input:focus { border-color: #0474e1; }
.password-field { position: relative; }
.password-field input { padding-right: 50px; }
button { font: inherit; cursor: pointer; }
.password-toggle { display: grid; place-items: center; position: absolute; inset: 4px 4px 4px auto; width: 40px; border: 0; border-radius: 8px; background: transparent; color: #69747e; }
.password-toggle:hover, .password-toggle[aria-pressed="true"] { background: #f0f4fa; color: #0474e1; }
.login-error { color: #b42318; font-size: 13px; margin: 12px 0 0; }
.login-submit { width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: #333f48; color: #fff; margin-top: 24px; font-size: 16px; }
.login-submit:hover { background: #202c35; }
.login-submit:disabled { opacity: .65; cursor: wait; }
.login-note { font-size: 12px; line-height: 1.6; color: #929aa3; margin: 24px 0 0; text-align: center; }
.login-footer { padding: 0 20px 24px; text-align: center; font-size: 12px; color: #929aa3; }
@media (max-width: 520px) {
  .login-header { padding: 24px; }
  .login-main { padding: 12px 16px 32px; }
  .login-card { padding: 28px 24px; border-radius: 20px; }
  h1 { font-size: 23px; }
  .desktop-break { display: none; }
}
