@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --spray-ink: #10131a;
  --spray-ink-muted: #4d5669;
  --spray-card: rgba(255, 255, 255, 0.92);
  --spray-border: rgba(16, 19, 26, 0.12);
  --spray-accent: #6af7e0;
  --spray-accent-2: #ffb56b;
}

* {
  box-sizing: border-box;
}

body.spray-login-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--spray-ink);
  background:
    radial-gradient(1200px 800px at 15% 10%, rgba(106, 247, 224, 0.18), transparent 60%),
    radial-gradient(900px 700px at 85% 20%, rgba(255, 181, 107, 0.16), transparent 60%),
    linear-gradient(140deg, #eef2f7, #f6f2ea 45%, #eef7f2 100%);
  position: relative;
}

body.spray-login-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(106, 247, 224, 0.2), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255, 181, 107, 0.2), transparent 50%),
    url("../img/transparent_logo_no_text/black logo 500px padding.png");
  background-repeat: no-repeat, no-repeat, space;
  background-size: cover, cover, 50px 50px;
  pointer-events: none;
  opacity: 0.25;
}

.spray-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.spray-login-card {
  width: min(460px, 100%);
  background: var(--spray-card);
  border-radius: 20px;
  border: 1px solid var(--spray-border);
  box-shadow: 0 24px 60px rgba(15, 20, 35, 0.18);
  padding: 32px 28px 28px;
  backdrop-filter: blur(6px);
}

.spray-login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.spray-login-logo img {
  max-width: 220px;
  height: auto;
  display: block;
}

.spray-login-card h1 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  text-align: center;
}

.spray-login-subtitle {
  margin: 6px 0 22px;
  text-align: center;
  color: var(--spray-ink-muted);
  font-size: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row label {
  font-size: 13px;
  color: #2b3342;
}

.form-row input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(16, 19, 26, 0.14);
  background: #ffffff;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}

.login-alert {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 14px;
}

.login-alert--error {
  background: #fdeeee;
  border: 1px solid #f2b9b9;
  color: #8f1d1d;
}

.button-row {
  margin-top: 6px;
}

.spray-login-button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  color: #0b1117;
  background: linear-gradient(120deg, var(--spray-accent), #9af7e0);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(106, 247, 224, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.spray-login-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(106, 247, 224, 0.28);
}

.spray-login-button--ghost {
  background: #ffffff;
  border: 1px solid rgba(16, 19, 26, 0.18);
  color: #1a2433;
  box-shadow: none;
}

.spray-login-button--ghost:hover {
  box-shadow: 0 12px 20px rgba(16, 19, 26, 0.1);
}

.spray-login-links {
  margin-top: 16px;
  text-align: center;
}

.spray-login-links a {
  color: #2b5ea0;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

.spray-login-links a:hover {
  text-decoration: underline;
}
