* {
  box-sizing: border-box;
}

:root {
  --bg: #080d18;
  --panel: #111a2b;
  --border: #22304a;
  --text: #eef4ff;
  --muted: #8290a8;
  --green: #21d07a;
  --red: #ff5d6c;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(
      circle at top,
      #12203a,
      var(--bg) 50%
    );
}

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

.login-card {
  width: min(420px,100%);
  background: rgba(17,26,43,.97);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #05130c;
  font-weight: 900;
  font-size: 22px;
}

.title {
  font-weight: 900;
  letter-spacing: 3px;
  font-size: 20px;
}

.subtitle {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.heading {
  margin: 34px 0 24px;
}

.heading h1 {
  margin: 0;
  font-size: 25px;
}

.heading p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

label {
  display: block;
  color: #a9b6ca;
  font-size: 11px;
  margin-bottom: 7px;
}

input {
  width: 100%;
  border: 1px solid var(--border);
  background: #0b1424;
  color: white;
  border-radius: 9px;
  padding: 12px;
  margin-bottom: 17px;
  outline: none;
}

input:focus {
  border-color: var(--green);
}

button {
  width: 100%;
  border: 0;
  border-radius: 9px;
  padding: 12px;
  background: var(--green);
  color: #05130c;
  font-weight: 800;
  cursor: pointer;
  margin-top: 3px;
}

button:disabled {
  opacity: .6;
  cursor: wait;
}

.error {
  color: var(--red);
  background: rgba(255,93,108,.08);
  border: 1px solid rgba(255,93,108,.20);
  padding: 10px;
  border-radius: 8px;
  font-size: 11px;
  margin-bottom: 15px;
}

.hidden {
  display: none;
}

.security-note {
  color: #52627b;
  text-align: center;
  margin-top: 22px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
