/* Stitch Bootstrap Design Editor - Professional Polish Design Theme */
:root {
  /* Editor Theme Colors (Professional Polish Light Slate & Indigo Aesthetic) */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f1f5f9;
  --bg-surface-active: #e2e8f0;
  
  --border-color: #e2e8f0;
  --border-color-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  
  --accent-primary: #4f46e5;
  --accent-primary-hover: #4338ca;
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #e11d48;
  --accent-purple: #8b5cf6;
  
  --sidebar-width-left: 320px;
  --sidebar-width-right: 340px;
  --toolbar-height: 56px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'Cascadia Code', Consolas, monospace;
}

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

body, html {
  height: 100%;
  width: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Utility Classes */
.font-mono {
  font-family: var(--font-mono);
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-accent {
  color: var(--accent-primary) !important;
}

.text-success {
  color: var(--accent-success) !important;
}

.text-dim {
  color: var(--text-dim) !important;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background-color: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.badge-tag-purple {
  background-color: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.badge-tag-green {
  background-color: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
