:root {
  --primary: #6c6ce0;
  --primary-soft: #f0e8ff;
  --text: #222;
  --muted: #666;
  --border: #ddd;
  --radius: 10px;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f7f7fb;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.login-container {
  background: #fff;
  padding: 2rem;
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.login-logo img {
  height: 40px;
  margin-bottom: 1.5rem;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.remember {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.btn-primary {
  width: 100%;
  padding: 0.7rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.btn-primary:hover {
  background: #434175;
}

.login-links {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.login-links a {
  color: var(--primary);
  text-decoration: none;
}

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

.login-error {
  background: #ffe5e5;
  color: #b30000;
  padding: 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #ffb3b3;
}

.hidden {
  display: none;
}
