:root {
  --bg1: #edf8f7;
  --bg2: #dff0f1;
  --text: #14363f;
  --muted: #5c747b;
  --line: rgba(20, 54, 63, 0.12);
  --accent: #0f8b8d;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(217, 93, 57, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

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

.login-card {
  width: min(460px, 100%);
  padding: 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 80px rgba(20, 54, 63, 0.16);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

.subtext {
  margin: 14px 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.login-form {
  margin-top: 22px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  outline: none;
}

.field input:focus {
  border-color: rgba(15, 139, 141, 0.42);
  box-shadow: 0 0 0 4px rgba(15, 139, 141, 0.1);
}

button {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 13px 16px;
  font: inherit;
  font-weight: 700;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #18a2a4);
  box-shadow: 0 14px 28px rgba(15, 139, 141, 0.28);
}

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

.error-text {
  min-height: 24px;
  margin-top: 12px;
  color: #b42318;
  font-size: 14px;
}
