:root {
  --navy: #274768;
  --navy-2: #1f3955;
  --ink: #1c2530;
  --muted: #6f7a86;
  --white: #ffffff;
  --border: #cfd7df;
  --danger: #b42318;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
}

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #17314b, #315678);
}

.login-card {
  width: min(430px, 100%);
  padding: 34px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 46px; border: 2px solid var(--navy); border-radius: 14px; background: var(--white); color: #000000; font-weight: 800; letter-spacing: -1px; }
.brand-mark img { width: 24px; height: 24px; display: block; color: var(--white); }
.brand strong, .brand span { display: block; }
.brand strong { font-size: 17px; }
.brand span { margin-top: 3px; font-size: 11px; opacity: .78; }
.login-card h1 { margin: 26px 0 6px; font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; }
.muted { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.form-stack { display: grid; gap: 16px; margin-top: 24px; }
.form-stack label { display: grid; gap: 8px; color: #334155; font-size: 12px; font-weight: 700; }
input { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; outline: none; color: var(--ink); background: var(--white); font: inherit; font-size: 16px; transition: border-color .15s ease, box-shadow .15s ease; }
input::placeholder { color: #8b95a1; }
input:focus { border-color: #4f779f; box-shadow: 0 0 0 3px rgba(39, 71, 104, .12); }
.btn { width: 100%; min-height: 42px; padding: 10px 15px; border: 0; border-radius: 10px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .15s ease, opacity .15s ease; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary:focus-visible { outline: 3px solid rgba(39, 71, 104, .25); outline-offset: 2px; }
button:disabled { opacity: .6; cursor: wait; }
.message { min-height: 20px; margin: -2px 0 -6px; color: var(--danger); font-size: 12px; line-height: 1.4; }
.login-note { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; line-height: 1.4; }
@media (max-width: 480px) { .login-view { padding: 24px; } .login-card { padding: 30px 24px; } }
