.promptContainer {
  background-color: transparent;
  border-top: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.suggestionsContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.suggestionButton {
  background-color: var(--color-surface-tertiary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-secondary);
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.8125rem;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.suggestionButton:hover:not(:disabled) {
  background-color: var(--brand-gray-40);
  border-color: var(--brand-gray-50);
  color: var(--color-text-primary);
}
.suggestionButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.inputArea {
  display: flex;
  align-items: flex-end;
  background-color: var(--color-surface-primary);
  border-radius: 4px;
  border: 1px solid var(--color-border-secondary);
  padding: 4px 4px 4px 12px;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}
.inputArea:focus-within {
  border-color: var(--color-border-focus);
}

.promptTextarea {
  flex-grow: 1;
  background-color: transparent;
  border: none;
  color: var(--color-text-primary);
  resize: none;
  outline: none;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 36px;
  max-height: 150px;
  overflow-y: auto;
  padding: 8px 0;
  margin-right: 8px;
}
.promptTextarea::placeholder {
  color: var(--color-text-placeholder);
}

.runButton {
  background-color: var(--color-surface-interactive);
  color: var(--color-text-on-interactive);
  border: none;
  padding: 0 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.15s ease;
  height: 36px;
  line-height: 36px;
  align-self: flex-end;
  font-size: 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.runButton:hover:not(:disabled) {
  background-color: var(--color-surface-interactive-hover);
}
.runButton:disabled {
  background-color: var(--color-surface-tertiary);
  color: var(--color-text-disabled);
  cursor: not-allowed;
}

.tokenCountSection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.countButton {
  background-color: var(--color-surface-tertiary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-secondary);
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8125rem;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.countButton:hover:not(:disabled) {
  background-color: var(--brand-gray-40);
  border-color: var(--brand-gray-50);
  color: var(--color-text-primary);
}
.countButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--color-surface-secondary);
  border-color: var(--color-border-primary);
}

.tokenCountDisplay {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  flex-grow: 1;
  text-align: right;
  min-height: 1.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tokenError {
  color: var(--color-error-text);
  font-style: italic;
}
.tokenPlaceholder {
  color: var(--color-text-placeholder);
  font-style: italic;
}