:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe4f0;
  --blue: #2563eb;
  --red: #dc2626;
  --shadow: 0 22px 70px rgba(15, 28, 51, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(460px, 100%);
  display: grid;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.brand strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-size: 30px;
  letter-spacing: 0;
}

.muted,
.message {
  color: var(--muted);
  line-height: 1.7;
}

.muted {
  margin: 10px 0 0;
}

label {
  display: grid;
  gap: 8px;
  color: #516072;
  font-size: 13px;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8d5e6;
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
  font: inherit;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.message {
  margin: 0;
  font-size: 13px;
}

.message.error {
  color: var(--red);
  font-weight: 800;
}
