:root {
  --bg: #f0f4ff;
  --card: #fff;
  --primary: #4a6cff;
  --text: #222;
  --radius: 12px;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

h1 {
  text-align: center;
  margin: 0;
}

textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
  resize: vertical;
}

label {
  font-size: 0.9rem;
  font-weight: 600;
}

select {
  padding: 0.5rem;
  border-radius: var(--radius);
  border: 1px solid #ccc;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1rem;
}

#speakBtn {
  background: var(--primary);
  color: white;
}

#speakBtn:hover {
  background: #354dcc;
}

#stopBtn {
  background: #eee;
}

#stopBtn:hover {
  background: #ddd;
}