* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}
body {
  background: #f0f2f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.toolbar {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.tool-group {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-right: 15px;
  border-right: 1px solid #eee;
}
.tool-group:last-child {
  border-right: none;
}
button {
  padding: 8px 15px;
  border: none;
  border-radius: 6px;
  background: #f0f2f5;
  cursor: pointer;
  transition: all 0.2s;
}
button:hover {
  background: #e4e6e9;
}
button.active {
  background: #0066ff;
  color: white;
}
.tool {
    display: flex;
    align-items: center;
    gap: 4px;
}
input[type="color"] {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
input[type="range"] {
  width: 100px;
}
#canvas {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: crosshair;
}
