* { box-sizing: border-box; }

:root {
  --bg: #0a0d13;
  --panel: #121826;
  --line: rgba(255, 255, 255, 0.1);
  --text: #e9eef7;
  --muted: #8b97ab;
  --accent: #7c9cff;
  --danger: #f0708c;
}

html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(124, 156, 255, 0.16), transparent 65%),
    radial-gradient(600px 360px at 90% 10%, rgba(87, 224, 197, 0.1), transparent 60%),
    var(--bg);
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 20px;
}

.login { width: 100%; max-width: 380px; }

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)), var(--panel);
  box-shadow: 0 30px 80px -30px #000;
}

.brand { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  color: var(--accent);
  background: rgba(124, 156, 255, 0.16);
  border: 1px solid rgba(124, 156, 255, 0.26);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 14px; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--muted); }

h1 { font-size: 20px; margin: 0 0 4px; letter-spacing: -0.3px; }
.sub { margin: 0 0 20px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
input {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(6, 9, 14, 0.65);
  color: var(--text);
  font-size: 14px;
  outline: none;
}
input:focus { border-color: rgba(124, 156, 255, 0.6); box-shadow: 0 0 0 3px rgba(124, 156, 255, 0.14); }

button {
  width: 100%;
  margin-top: 14px;
  padding: 11px 14px;
  border: 1px solid #8ea9ff;
  border-radius: 10px;
  background: linear-gradient(180deg, #86a4ff, #6c8cf6);
  color: #0a0f1c;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
button:hover { filter: brightness(1.06); }
button:disabled { opacity: 0.6; cursor: default; }

.error { min-height: 18px; margin: 10px 0 0; font-size: 12.5px; color: var(--danger); }
