:root {
  color-scheme: dark;
  background: #0b1420;
  color: #eef4fa;
  font: 100%/1.5 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(12px, 4vw, 32px);
}

.sign-in-card {
  width: min(100%, 28rem);
  padding: clamp(18px, 5vw, 36px);
  border: 1px solid #53657a;
  border-radius: 16px;
  background: #152335;
  box-shadow: 0 14px 40px rgb(0 0 0 / 28%);
}

.sign-in-brand {
  margin: 0 0 4px;
  color: #edc17b;
  font-size: .875rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: clamp(1.75rem, 7vw, 2.5rem); line-height: 1.15; }
.sign-in-intro, #status { color: #c0cddc; }
.sign-in-intro { margin: 8px 0 0; }
form { display: grid; gap: 16px; margin-top: 24px; }
label { display: grid; gap: 6px; font-weight: 600; }

input, button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #63788f;
  border-radius: 8px;
  font: inherit;
  font-size: max(1rem, 16px);
}

input { background: #0c1725; color: #eef4fa; }
button { background: #edc17b; border-color: transparent; color: #102030; font-weight: 750; cursor: pointer; }
button:disabled { opacity: .65; cursor: not-allowed; }
button:focus-visible, input:focus-visible { outline: 3px solid #f9d48d; outline-offset: 3px; }
#status { overflow-wrap: anywhere; margin: 16px 0 0; }
#status:empty { margin: 0; }
#logout { margin-top: 16px; background: #314760; border-color: #63788f; color: #eef4fa; }
