:root {
  color-scheme: dark;
  --bg: #090b0f;
  --surface: #11161d;
  --surface-raised: #151b23;
  --line: #344250;
  --text: #edf3f8;
  --text-strong: #ffffff;
  --muted: #94a3b2;
  --accent: #42b7d6;
  --accent-strong: #7bd8ee;
  --red: #ff6b61;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(66, 183, 214, 0.08), transparent 260px),
    linear-gradient(135deg, #090b0f 0%, #0c1117 45%, #10110f 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

.login-shell {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-panel {
  width: min(100%, 420px);
  border: 1px solid rgba(52, 66, 80, 0.86);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 27, 35, 0.98), rgba(15, 20, 27, 0.98));
  box-shadow: var(--shadow);
  padding: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  color: var(--text-strong);
  font-size: 25px;
  line-height: 1.1;
}

form {
  display: grid;
  gap: 10px;
}

label {
  margin-top: 6px;
  color: #b7c3cf;
  font-size: 12px;
  font-weight: 800;
}

input {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #0b0f14;
  color: var(--text);
  padding: 0 11px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

input:focus {
  border-color: var(--accent);
  background: #0d1319;
  box-shadow: 0 0 0 3px rgba(66, 183, 214, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid rgba(66, 183, 214, 0.72);
  border-radius: 7px;
  background: linear-gradient(180deg, #1d2a34, #14212b);
  color: var(--text-strong);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.button-link:hover {
  color: var(--accent-strong);
}

.login-error {
  margin: 4px 0 0;
  border: 1px solid rgba(255, 107, 97, 0.42);
  border-radius: 7px;
  background: rgba(255, 107, 97, 0.12);
  color: #ffaaa4;
  padding: 10px;
  font-size: 13px;
}

.login-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.login-footer span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(66, 183, 214, 0.48);
  border-radius: 50%;
  color: var(--accent-strong);
  font-size: 12px;
}
