/* DoSmooth Studio Theme - Obsidian & Emerald Design System */
:root {
  --bg-obsidian: #050908;
  --bg-surface: #090E0D;
  --bg-panel: #0F1615;
  --bg-card: #141E1C;
  --bg-hover: #1A2624;
  --border-subtle: #1C2B28;
  --border-active: #34D399;
  --text-platinum: #F8FAFC;
  --text-silver: #94A3B8;
  --text-muted: #64748B;
  --accent-emerald: #34D399;
  --accent-emerald-dark: #059669;
  --accent-emerald-glow: rgba(52, 211, 153, 0.15);
  --accent-cyan: #38BDF8;
  --accent-amber: #FBBF24;
  --accent-purple: #C084FC;
  --accent-rose: #FB7185;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-obsidian);
  color: var(--text-platinum);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Mono Code Font */
.font-mono {
  font-family: "JetBrains Mono", "Fira Code", Menlo, Monaco, Consolas, monospace;
}

/* Studio Header */
.studio-header {
  height: 48px;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 50;
}

.studio-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-logo-pebble {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: linear-gradient(135deg, #10B981, #047857);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050908;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 0 12px var(--accent-emerald-glow);
}

.studio-suite-tag {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-emerald);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

/* Split Panes */
.studio-split-container {
  display: flex;
  height: calc(100vh - 48px);
  width: 100%;
}

.studio-pane {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--bg-panel);
}

.studio-resizer {
  background: var(--border-subtle);
  z-index: 10;
  transition: background 0.15s ease;
}

.studio-resizer:hover, .studio-resizer.resizing {
  background: var(--accent-emerald);
}

.studio-resizer.horizontal {
  width: 4px;
  cursor: col-resize;
}

.studio-resizer.vertical {
  height: 4px;
  cursor: row-resize;
}

/* Panel Header */
.panel-header {
  height: 36px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 12px;
  color: var(--text-silver);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.panel-content {
  flex: 1;
  overflow: auto;
  position: relative;
  background-color: var(--bg-panel);
}

/* Tool Buttons */
.btn-studio {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-platinum);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-studio:hover {
  background: var(--bg-hover);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.btn-studio.active {
  background: rgba(52, 211, 153, 0.2) !important;
  border-color: var(--accent-emerald) !important;
  color: #34D399 !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.25);
}

.btn-studio-primary {
  background: var(--accent-emerald-dark);
  border-color: var(--accent-emerald);
  color: #FFFFFF;
}

.btn-studio-primary:hover {
  background: #047857;
  box-shadow: 0 0 12px var(--accent-emerald-glow);
}
