body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a;
  color: #e5e7eb;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  padding: 16px 24px;
  background: linear-gradient(90deg, #1d4ed8, #22c55e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 24px;
}

.panel {
  background: #020617;
  border-radius: 16px;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.8);
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: #020617;
  color: #e5e7eb;
}

.tab.active {
  background: #1d4ed8;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form input,
.form button,
select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  background: #020617;
  color: #e5e7eb;
}

.form button,
button {
  cursor: pointer;
  border: none;
  background: #1d4ed8;
  color: white;
}

.form button:hover,
button:hover {
  background: #2563eb;
}

.hidden {
  display: none;
}

.message {
  margin-top: 10px;
  min-height: 20px;
  font-size: 14px;
}

.editor-layout {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.sidebar {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.canvas-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1d4ed8, #020617);
  border-radius: 12px;
  padding: 12px;
}

#editor-canvas {
  background: #020617;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #1e293b;
}

label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-controls {
  font-size: 14px;
}


