/* Dashboard Layout - Header, Main, Panes */

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.header h1 {
  font-size: 16px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.btn {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
}

.btn:hover {
  background: var(--tab-active);
}

.btn-danger {
  border-color: #ef4444;
  color: #ef4444;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Main content area */
.main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Left pane - Architect */
.left-pane {
  width: 50%;
  min-width: 20%;
  max-width: 80%;
  resize: horizontal;
  overflow: auto;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.pane-header {
  padding: 8px 12px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pane-header .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-active);
}

.pane-header .status-dot.inactive {
  background: var(--text-muted);
}

#architect-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.left-pane iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #000;
}

.architect-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 16px;
}

.architect-placeholder code {
  background: var(--bg-tertiary);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* Right pane - Tabs */
.right-pane {
  width: 50%;
  display: flex;
  flex-direction: column;
}
