:root {
  --bg: #0d0d0d;
  --panel: #1b1b1b;
  --line: #343434;
  --text: #f4f4f4;
  --muted: #a7a7a7;
  --accent: #66dfbd;
  --accent-2: #5f99ff;
  --danger: #ff6b6b;
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 30% 20%, rgba(102, 223, 189, 0.12), transparent 30%),
    radial-gradient(circle at 72% 76%, rgba(95, 153, 255, 0.12), transparent 34%),
    var(--bg);
  color: var(--text);
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

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

.login-card {
  width: min(430px, 100%);
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(27, 27, 27, 0.94);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  padding: 48px 38px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-mark {
  width: 96px;
  height: 96px;
  margin-bottom: 28px;
  position: relative;
}

.brand-mark span {
  position: absolute;
  border-radius: 999px;
  background: var(--accent-2);
}

.brand-mark span:nth-child(1) {
  width: 54px;
  height: 54px;
  left: 6px;
  top: 4px;
}

.brand-mark span:nth-child(2) {
  width: 48px;
  height: 48px;
  right: 4px;
  top: 14px;
  background: #9bd18f;
}

.brand-mark span:nth-child(3) {
  width: 64px;
  height: 64px;
  right: 8px;
  bottom: 2px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: 42px;
}

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

.login-form {
  width: 100%;
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #111;
  color: var(--text);
  padding: 0 14px;
  font: inherit;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  height: 48px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08110f;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.plain-action {
  height: auto;
  margin-top: 24px;
  border: 0;
  background: transparent;
  color: var(--accent);
  padding: 0;
}

.message {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--danger);
  font-weight: 800;
}
