/* HTML Editor Styles */
.html-editor-container {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.html-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}

.html-btn {
  padding: 6px 12px;
  border: 1px solid #d1d5db;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  transition: all 0.2s;
}

.html-btn:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.html-editor-textarea {
  border: none;
  border-radius: 0;
  resize: vertical;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
}

.html-editor-textarea:focus {
  outline: none;
  box-shadow: none;
}

.html-preview {
  border-top: 1px solid #e5e7eb;
  padding: 12px;
  background: #f9fafb;
}

.html-preview h4 {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.html-preview-content {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 12px;
  background: white;
  min-height: 60px;
  max-height: 200px;
  overflow-y: auto;
}

.html-preview-content h3 {
  color: #2563eb;
  font-size: 1.1em;
  font-weight: bold;
  margin: 0 0 10px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #2563eb;
}

.html-preview-content p {
  margin: 0 0 10px 0;
  line-height: 1.6;
  color: #333;
}

.html-preview-content ul, .html-preview-content ol {
  margin: 0 0 10px 0;
  padding-left: 20px;
}

.html-preview-content li {
  margin: 0 0 5px 0;
  line-height: 1.5;
}
