@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/inter/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/static/fonts/inter/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/static/fonts/inter/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/inter/inter-700.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080b12;
  color: #f4f7fb;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgb(33 114 229 / 18%), transparent 32rem),
    radial-gradient(circle at 90% 90%, rgb(32 201 151 / 12%), transparent 28rem),
    #080b12;
}

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

.login-card {
  width: min(100%, 28rem);
  padding: 2.25rem;
  border: 1px solid #252c3b;
  border-radius: 1.25rem;
  background: rgb(16 21 31 / 94%);
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 42%);
}

.login-brand {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #2478ed, #18b987);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.eyebrow {
  margin: 1.5rem 0 0.55rem;
  color: #68a2f5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  letter-spacing: -0.035em;
}

.intro,
.security-note {
  color: #9ba6ba;
  line-height: 1.6;
}

.intro {
  margin: 0.8rem 0 1.5rem;
}

.login-error {
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #7a3037;
  border-radius: 0.65rem;
  background: #35181c;
  color: #ffb2b9;
  font-size: 0.9rem;
}

.login-form {
  display: grid;
  gap: 0.65rem;
}

.login-form label {
  margin-top: 0.4rem;
  color: #cbd3e1;
  font-size: 0.85rem;
  font-weight: 600;
}

.login-form input {
  width: 100%;
  min-height: 2.9rem;
  border: 1px solid #313a4c;
  border-radius: 0.65rem;
  padding: 0.7rem 0.85rem;
  background: #0b1019;
  color: #fff;
  font: inherit;
  outline: none;
}

.login-form input:focus {
  border-color: #4d91f2;
  box-shadow: 0 0 0 3px rgb(77 145 242 / 18%);
}

.login-form button {
  min-height: 3rem;
  margin-top: 0.85rem;
  border: 0;
  border-radius: 0.65rem;
  background: #2478ed;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.login-form button:hover {
  background: #3587f5;
}

.login-form button:focus-visible {
  outline: 3px solid rgb(77 145 242 / 45%);
  outline-offset: 2px;
}

.security-note {
  margin: 1.3rem 0 0;
  font-size: 0.78rem;
  text-align: center;
}
