.iar-rich-text {
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.5rem;
  background: #fff;
}

.iar-rich-text-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.iar-rich-text-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  background: #e5e7eb;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  color: #374151;
}

.iar-rich-text-btn:hover {
  background: #d1d5db;
}

.iar-rich-text-editor {
  min-height: 60px;
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  outline: none;
  background: #fff;
  white-space: pre-wrap;
  word-break: break-word;
}

.iar-rich-text-editor i,
.iar-rich-text-editor em {
  font-style: italic;
}

.iar-rich-text-editor b,
.iar-rich-text-editor strong {
  font-weight: bold;
}

.iar-rich-text-editor:focus {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
  border-color: #93c5fd;
}

.iar-rich-text-editor:empty:before {
  content: attr(data-placeholder);
  color: #9ca3af;
  pointer-events: none;
}

.iar-rich-text-copy-btn {
  margin-left: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  background: #d1d5db;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
}

.iar-rich-text-copy-btn:hover {
  background: #c4c4c4;
}
