:root {
  color-scheme: dark;
  --bg: #0f1115;
  --surface: #171a21;
  --border: #262b36;
  --text: #e8eaed;
  --text-muted: #9aa1ac;
  --accent: #5b8cff;
  --accent-hover: #4577f5;
  --success: #3ecf8e;
  --error: #ff6b6b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1a1e27 0%, var(--bg) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 24px;
}

.card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

h1 {
  margin: 0 0 4px;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.subtitle {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

input,
textarea {
  background: #10131a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.18);
}

button {
  margin-top: 24px;
  padding: 12px 16px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
}

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

button:active:not(:disabled) {
  transform: scale(0.99);
}

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

.status {
  min-height: 1.2em;
  margin: 16px 0 0;
  font-size: 0.88rem;
  text-align: center;
}

.status.success {
  color: var(--success);
}

.status.error {
  color: var(--error);
}
