:root {
  --bg: #0f172a;
  --card: #1e293b;
  --border: rgba(255, 255, 255, 0.08);
  --primary: #f8fafc;
  --secondary: #94a3b8;
  --accent: #6366f1;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.container {
  width: 100%;
  max-width: 650px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

header h1 {
  font-size: 1.8rem;
  background: linear-gradient(to right, #a5b4fc, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

header p {
  color: var(--secondary);
  font-size: 0.9rem;
}

textarea {
  width: 100%;
  height: 120px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  color: var(--primary);
  font-size: 1.1rem;
  resize: none;
  outline: none;
  transition: border-color 0.2s;
}

textarea:focus {
  border-color: var(--accent);
}

.suggestions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.suggestions-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.05em;
}

.suggestions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 38px;
}

.suggestion-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 99px;
  font-family: 'Noto Sans Kannada', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--secondary);
  transition: all 0.2s;
  user-select: none;
}

.suggestion-chip:hover,
.suggestion-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.output-card {
  background: rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.output-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.output-display {
  font-family: 'Noto Sans Kannada', sans-serif;
  font-size: 1.6rem;
  line-height: 1.4;
  min-height: 2.2rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}
