@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Space+Grotesk:wght@600;700&display=swap");

:root {
  --bg: #0b0c16;
  --panel: #15162b;
  --accent: #ff7a59;
  --accent-soft: rgba(255, 122, 89, 0.2);
  --text: #f7f4ef;
  --muted: #bdb3a8;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", sans-serif;
  background: radial-gradient(circle at top, #1e2338 0%, var(--bg) 60%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(75, 209, 200, 0.2), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(255, 122, 89, 0.2), transparent 55%);
  z-index: 0;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: min(960px, 90vw);
  padding: 20px;
}

.login-aside {
  padding: 30px;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.12), rgba(255, 255, 255, 0.04));
  border-radius: 24px;
  border: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 18px;
}

.brand-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent);
  color: #1f1f28;
  font-weight: 700;
}

.login-aside h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.login-aside p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.benefits {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.benefits li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.login-card {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.login-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.subtext {
  color: var(--muted);
  margin-bottom: 24px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0f1020;
  color: var(--text);
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.btn-primary {
  margin-top: 6px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #1f1f28;
  font-weight: 700;
  cursor: pointer;
}

.error {
  color: #ffb3a2;
  min-height: 20px;
}

.card-footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .login-shell {
    padding: 10px;
  }
}
