* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #0b1120;
  color: #e5e7eb;
  height: 100vh;
  overflow: hidden;
  font-size: 13px;
}

.app {
  display: flex;
  height: 100vh;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
}

.sidebar {
  width: 240px;
  background: #020617;
  border-right: 1px solid #111827;
  padding: 16px;
  overflow-y: auto;
}

.properties-panel {
  width: 280px;
  background: #020617;
  border-left: 1px solid #111827;
  padding: 16px;
  overflow-y: auto;
}

.canvas-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #020617;
  position: relative;
}

.toolbar button {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: white;
  background: #2563eb;
  transition:
    background 0.15s ease,
    transform 0.1s ease;
}

.toolbar button:nth-child(1) {
  background: #22c55e;
}
.toolbar button:nth-child(2) {
  background: #3b82f6;
}
.toolbar button:nth-child(3) {
  background: #8b5cf6;
}

.toolbar button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

@media (max-width: 1024px) {
  .app {
    flex-direction: column;
  }
  .sidebar,
  .properties-panel {
    width: 100%;
    height: auto;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid #111827;
  }
  .canvas-container {
    height: 70vh;
  }
}
