:root {
  --ink: #17385c;
  --muted: #52606c;
  --line: #17385c;
  --blue: #57a9e9;
  --blue-dark: #2265a7;
  --cream: #fff0b8;
  --sun: #ffc83d;
  --grass: #73bd5a;
  --tomato: #f26b55;
  --white: #fffefd;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(transparent 31px, rgba(34, 101, 167, 0.06) 32px),
    linear-gradient(90deg, transparent 31px, rgba(34, 101, 167, 0.06) 32px),
    linear-gradient(180deg, #dff5ff 0%, #fff6df 52%, #dff5c7 100%);
  background-size: 32px 32px, 32px 32px, auto;
}

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

.login-card {
  width: min(520px, 100%);
  padding: clamp(1.2rem, 5vw, 2rem);
  border: 3px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 254, 253, 0.96);
  box-shadow: 0 16px 0 rgba(23, 56, 92, 0.1);
}

.login-art {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  margin-bottom: 1.2rem;
  border: 4px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 42%, var(--tomato) 43% 58%, transparent 59%),
    linear-gradient(45deg, transparent 42%, var(--blue) 43% 58%, transparent 59%),
    var(--cream);
  box-shadow: inset 0 -9px rgba(23, 56, 92, 0.12);
  font-size: 2.4rem;
  font-weight: 900;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.8rem;
  padding: 0.38rem 0.6rem;
  border: 2px solid rgba(23, 56, 92, 0.16);
  border-radius: 999px;
  color: #164777;
  background: #fff6df;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.login-text {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.75;
}

.login-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: #24496c;
  font-weight: 900;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 0.8rem 0.95rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fffefd;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.86rem 1.2rem;
  border: 3px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 5px 0 rgba(23, 56, 92, 0.18);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue-dark);
}

.button.secondary {
  background: var(--sun);
}

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

.status {
  min-height: 1.6em;
  margin: 1rem 0 0;
  color: #c64d3f;
  font-weight: 900;
  line-height: 1.6;
}

.status.ok {
  color: #20865c;
}

.login-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.8rem 1rem 1rem;
  text-align: center;
  color: #24496c;
  font-size: 0.86rem;
  font-weight: 800;
}

.login-footer a {
  color: inherit;
  text-decoration: none;
}

.login-footer a:hover {
  color: var(--blue-dark);
}
