:root {
  --bg: #141c1a;
  --card: #1f2d29;
  --border: #2f453e;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #dc2626;
  --green: #16a34a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.container { width: 100%; max-width: 440px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.hidden { display: none; }
h1, h2 { margin-bottom: 1rem; }

form { display: flex; flex-direction: column; gap: 0.75rem; }
label { font-size: 0.88rem; color: var(--muted); }

select, input, textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem;
  font-size: 1rem;
}

button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

button.secondary {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.assigned-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.highlight { font-size: 1.4rem; font-weight: 700; color: var(--green); margin: 0.3rem 0 0.8rem; }
.wishes-text { white-space: pre-wrap; color: var(--text); font-size: 0.95rem; margin-top: 0.3rem; }
.error { color: #f87171; font-size: 0.88rem; min-height: 1.2em; }
.status { color: #4ade80; font-size: 0.88rem; min-height: 1.2em; }
