/* TileForge Studio — Toolbar */

#toolbar {
  display: flex;
  align-items: center;
  height: 38px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border);
  padding: 0 10px;
  gap: 3px;
}

.tool-btn {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-dim);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  position: relative;
}

.tool-btn:hover {
  background: var(--bg-panel-alt);
  color: var(--text);
  border-color: var(--border);
}

.tool-btn.active {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent);
}

.tool-btn:active {
  transform: scale(0.95);
}

.tool-icon {
  font-size: 16px;
  line-height: 1;
}

.tool-separator {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 6px;
}

/* Property type selector — shown when property brush is active */
.property-type-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}

.property-type-label {
  font-size: 12px;
  color: var(--text-dim);
  white-space: nowrap;
}

.property-type-select {
  background: var(--bg-panel-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

.property-type-select:focus {
  border-color: var(--accent);
}

/* Toolbar indicators (brush size, flip/rotate status) */
.toolbar-indicator {
  font-size: 11px;
  color: var(--text-dim);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  min-width: 28px;
  text-align: center;
  user-select: none;
}

.toolbar-indicator.active {
  background: var(--accent-subtle);
  color: var(--accent);
  font-weight: 600;
}
