/* Simple Email Editor Styles */
.simple-email-canvas {
  background: #ffffff;
  padding: 40px 24px;
  min-height: 500px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  transition: all 0.2s ease;
  position: relative;
}

.simple-email-canvas.drag-over {
  background: #ebf8ff;
  border: 2px dashed #3182ce;
  border-radius: 12px;
}

.canvas-placeholder {
  text-align: center;
  padding: 100px 20px;
  color: #a0aec0;
  font-size: 16px;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-placeholder.drag-over {
  border-color: #3182ce;
  background: #ebf8ff;
  color: #3182ce;
}

.component-wrapper {
  position: relative;
  margin-bottom: 8px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 8px;
  transition: all 0.2s ease;
}

.component-wrapper:hover {
  border-color: #cbd5e0;
  background: #f8fafc;
}

.component-wrapper.selected {
  border-color: #3182ce;
  background: #ebf8ff;
}

.simple-email-canvas .column-content {
  min-height: 60px;
  border: 1px dashed #cbd5e0;
  border-radius: 8px;
  padding: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.simple-email-canvas .column-content:hover {
  border-color: #a0aec0;
  background: #ffffff;
}

.simple-email-canvas .column-content.drag-over {
  border-color: #3182ce;
  background: #ebf8ff;
  border-width: 2px;
}

.component-content {
  outline: none;
  min-height: 20px;
}

.component-content:focus {
  outline: 2px solid #3182ce;
  outline-offset: 2px;
  border-radius: 4px;
}

.component-toolbar {
  position: absolute;
  top: -40px;
  right: 0;
  background: #1a202c;
  border-radius: 8px;
  padding: 4px;
  display: none;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.component-wrapper:hover .component-toolbar,
.component-wrapper.selected .component-toolbar {
  display: flex;
}

.toolbar-btn {
  background: transparent;
  border: 0;
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.toolbar-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.toolbar-btn:active {
  transform: scale(0.95);
}
