:root {
  --bg: #0b1727;
  --card: #111f32;
  --text: #e7eef9;
  --muted: #9bb0d3;
  --accent: #3cb4ff;
  --accent-strong: #2b8fd0;
  --border: #1e2d46;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 20% 20%, #0f2039, #0a1422 50%),
    radial-gradient(circle at 80% 0%, #123158, transparent 40%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-container {
  width: min(420px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.logo-img {
  display: block;
  width: 160px;
  max-width: 70%;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.4));
}

h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text);
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0c1a2b;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(60, 180, 255, 0.15);
}

button {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 18px;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0a1422;
  box-shadow: 0 10px 30px rgba(60, 180, 255, 0.35);
}

button:active {
  transform: translateY(1px);
}

.links {
  margin-top: 10px;
  font-size: 14px;
}

.links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

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

.error-message {
  color: #f05d5e;
  font-size: 14px;
  min-height: 18px;
  margin: 8px 0;
}

.success-message {
  color: #8cf0c2;
  font-size: 14px;
  min-height: 18px;
  margin: 8px 0;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  body {
    padding: 16px;
  }

  .login-container {
    padding: 28px 24px;
  }
}
