:root {
  --bg: #0f1b2d;
  --card-bg: #ffffff;
  --text: #1a2332;
  --muted: #5b6472;
  --accent: #0b6e4f;
  --accent-hover: #095b41;
  --error: #b00020;
  --border: #cbd2dc;
  --focus: #0b6e4f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg), #16273f);
  color: var(--text);
  padding: 1rem;
}

.card {
  background: var(--card-bg);
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.title {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
}

.subtitle {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  outline: none;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.2);
}

.help {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.button {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.button:hover:not(:disabled) {
  background: var(--accent-hover);
}

.button:disabled {
  opacity: 0.7;
  cursor: default;
}

.button:focus-visible {
  outline: 3px solid rgba(11, 110, 79, 0.4);
  outline-offset: 2px;
}

.error {
  margin: 0.9rem 0 0;
  color: var(--error);
  font-size: 0.88rem;
}
