:root {
  --bg: #0a1f10;
  --panel: #122a18;
  --input-bg: #1a3d22;
  --accent-green: #4caf50;
  --accent-gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #a8d5b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: var(--text-primary);
  padding: 24px;
}

.card {
  background: var(--panel);
  border: 2px solid var(--accent-gold);
  border-radius: 16px;
  padding: 32px 28px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.logo {
  width: 72px;
  height: 72px;
  margin-bottom: 8px;
}

h1 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 18px;
  margin: 0 0 20px;
  color: var(--text-primary);
}

h2 {
  font-size: 16px;
  color: var(--accent-gold);
  margin: 0 0 12px;
  font-weight: bold;
}

.hint {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 0;
  margin-bottom: 16px;
}

input,
textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--accent-green);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 10px 12px;
  font-size: 14px;
  margin-bottom: 12px;
  font-family: inherit;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-secondary);
}

button {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  background: var(--accent-green);
  color: white;
  margin-bottom: 8px;
}

button:hover {
  filter: brightness(1.1);
}

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

button.secondary {
  background: transparent;
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  font-weight: normal;
}

.hidden {
  display: none;
}

.error {
  color: #ff6b6b;
  font-size: 13px;
  min-height: 18px;
  margin: 4px 0 0;
}

#sendStatus {
  color: var(--accent-gold);
  font-size: 13px;
  min-height: 18px;
  margin: 4px 0 12px;
}
