.cdwc-customizer {
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}

.cdwc-customizer h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.cdwc-help {
  margin: 0 0 0.75rem;
  color: #4b5563;
  font-size: 0.92rem;
}

.cdwc-upload-label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

#cdwc_design_file {
  width: 100%;
  max-width: 480px;
}

.cdwc-status {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #065f46;
}

.cdwc-status.is-error {
  color: #b91c1c;
}

.cdwc-preview {
  position: relative;
  margin-top: 0.9rem;
  width: 340px;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  background: #f9fafb;
}

.cdwc-preview-base {
  display: block;
  width: 100%;
  height: auto;
}

.cdwc-print-area {
  position: absolute;
  border: 2px dashed rgba(31, 41, 55, 0.35);
  border-radius: 6px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
}

.cdwc-preview-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  cursor: move;
  touch-action: none;
}

.cdwc-preview-overlay.is-visible {
  opacity: 1;
}

.cdwc-controls {
  margin-top: 0.85rem;
}

.cdwc-controls label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

#cdwc_design_scale_range {
  width: 100%;
  max-width: 340px;
}

.cdwc-help-small {
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: 0.85rem;
}
