:root { font-family: Arial, Helvetica, sans-serif; color: #29313d; color-scheme: light; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #83969c; }
body { margin: 0; min-height: 100svh; padding: 32px 20px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; background: url("assets/amsterdam-background.webp") center center / cover no-repeat fixed; }
button, input { font: inherit; }
.portal { width: 640px; min-width: 0; max-width: 100%; padding: 44px 58px; border: 1px solid rgba(255,255,255,.8); border-radius: 32px; background: rgba(250,249,249,.89); box-shadow: 0 14px 34px rgba(13,27,39,.3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.portal-header { text-align: center; margin-bottom: 38px; }
.brand { display: block; width: 196px; height: 114px; margin: 0 auto 14px; }
h1 { margin: 0; color: #102f63; font-size: 48px; font-weight: 700; line-height: 1.2; letter-spacing: -.7px; white-space: nowrap; }
.subtitle { margin: 8px 0 0; color: #565b63; font-size: 32px; line-height: 1.2; }
.field + .field { margin-top: 22px; }
label { display: block; margin-bottom: 8px; font-size: 22px; font-weight: 600; line-height: 26px; }
.input-wrap { position: relative; }
input { display: block; width: 100%; height: 64px; padding: 0 58px 0 62px; border: 1.5px solid #ccced2; border-radius: 12px; outline: none; background: rgba(255,255,255,.79); color: #29313d; font-size: 22px; box-shadow: 0 1px 3px rgba(0,0,0,.03) inset; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #6b7078; opacity: 1; }
input:focus { border-color: #214b82; box-shadow: 0 0 0 3px rgba(16,47,99,.15); }
.field-icon { position: absolute; width: 29px; height: 29px; left: 21px; top: 17px; color: #6b7078; pointer-events: none; }
.toggle-password { position: absolute; top: 8px; right: 12px; width: 48px; height: 48px; padding: 9px; border: 0; background: transparent; color: #6b7078; border-radius: 8px; cursor: pointer; }
.toggle-password svg { width: 30px; height: 30px; display: block; }
.eye-slash { display: none; }
.toggle-password[aria-pressed="true"] .eye-slash { display: block; }
button:focus-visible { outline: 3px solid #547baa; outline-offset: 3px; }
.sign-in { display: block; width: 100%; height: 64px; margin-top: 36px; border: 0; border-radius: 11px; background: #102f63; color: white; font-size: 28px; font-weight: 600; cursor: pointer; }
.sign-in:hover { background: #183e76; }
.sign-in:active { background: #0b244d; }
.sign-in:disabled { background: #183e76; cursor: wait; }
.error { display: flex; gap: 14px; align-items: center; margin-top: 30px; min-height: 58px; padding: 12px 21px; border-radius: 12px; background: rgba(255,122,122,.23); color: #ce1515; font-size: 21px; line-height: 1.35; }
.error svg { width: 30px; height: 30px; flex: 0 0 30px; }
[hidden] { display: none !important; }
@media (max-width: 700px) {
  body { padding: 24px 16px; }
  .portal { width: 540px; padding: 32px 30px; border-radius: 26px; }
  .brand { width: 164px; height: 98px; margin-bottom: 18px; }
  h1 { font-size: clamp(27px, 5.7vw, 40px); letter-spacing: -.5px; }
  .subtitle { font-size: 25px; margin-top: 10px; }
  .portal-header { margin-bottom: 32px; }
  label { font-size: 18px; line-height: 22px; }
  input { height: 58px; font-size: 18px; padding-left: 51px; padding-right: 54px; }
  .field-icon { left: 16px; top: 16px; width: 25px; height: 25px; }
  .toggle-password { top: 5px; right: 5px; }
  .sign-in { height: 58px; font-size: 24px; margin-top: 30px; }
  .error { font-size: 16px; padding: 12px 14px; gap: 10px; margin-top: 22px; }
  .error svg { width: 25px; height: 25px; flex-basis: 25px; }
}
@media (max-width: 400px) {
  .portal { padding: 30px 22px; }
}
@media (prefers-reduced-transparency: reduce) { .portal { background: #f6f6f7; } }
