:root {
  color-scheme: light;
  --brand: #ffd900;
  --brand-hover: #e9c600;
  --black: #0b0b0b;
  --bg: #f5f2e8;
  --line: #e4dece;
  --muted: #686255;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 217, 0, 0.32), rgba(255, 217, 0, 0) 40%),
    var(--bg);
  color: var(--black);
  font-family: "Aptos", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.login-card {
  width: min(440px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(27, 24, 16, 0.12);
}

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

.brand-lockup img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-lockup strong {
  font-size: 22px;
  line-height: 1;
}

.brand-lockup span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.login-copy {
  margin-top: 34px;
}

.login-copy h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
}

.login-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.login-form {
  margin-top: 28px;
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--black);
  font: inherit;
}

input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(255, 217, 0, 0.3);
  outline: 0;
}

.error-message {
  min-height: 20px;
  margin: 0;
  color: #b42357;
  font-size: 13px;
  font-weight: 700;
}

button {
  height: 48px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: var(--black);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

button:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
