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

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: #e8e8f5;
  background:
    radial-gradient(circle at 15% 20%, rgba(156, 123, 255, 0.18), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(8, 4, 34, 0.7), transparent 55%),
    linear-gradient(160deg, #0b0b12, #121429);
}

.login-shell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: min(360px, 90vw);
  padding: 28px;
  border-radius: 14px;
  background: rgba(14, 16, 28, 0.9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(120, 97, 255, 0.25);
  text-align: center;
}

.login-card h1 {
  margin: 0 0 10px;
  font-size: 24px;
}

.subtitle {
  margin: 0 0 20px;
  font-size: 13px;
  color: rgba(232, 232, 245, 0.7);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-form input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(120, 97, 255, 0.4);
  padding: 8px 4px;
  color: inherit;
  font-size: 14px;
  outline: none;
}

.login-form input::placeholder {
  color: rgba(232, 232, 245, 0.55);
}

.login-form button {
  margin-top: 6px;
  background: linear-gradient(135deg, #6d5bff, #4aa3ff);
  border: none;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.login-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(74, 163, 255, 0.25);
}

.error {
  min-height: 18px;
  font-size: 12px;
  color: #ff8c8c;
  margin: 0;
}
