/* DiktelBazar Editor Stylesheet */
.editor-shell {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #090D16;
  color: #F8FAFC;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.editor-header {
  height: 56px;
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 30;
}

.inspector-bar {
  height: 44px;
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  overflow-x: auto;
}

.editor-main {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.editor-sidebar {
  width: 320px;
  background: #0F172A;
  border-right: 1px solid #1E293B;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 1rem;
  gap: 1rem;
}

.canvas-viewport {
  flex: 1;
  background: #020617;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  position: relative;
}

.design-canvas {
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  background: #FFFFFF;
  transform-origin: center;
}

.canvas-element {
  position: absolute;
  cursor: move;
  user-select: none;
}

.canvas-element.selected {
  outline: 2px solid #38BDF8;
}

.resize-handle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #FFFFFF;
  border: 2px solid #38BDF8;
  border-radius: 50%;
  z-index: 50;
}

.handle-nw { top: -5px; left: -5px; cursor: nwse-resize; }
.handle-ne { top: -5px; right: -5px; cursor: nesw-resize; }
.handle-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.handle-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
