body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f0f0f0;
}

header {
  text-align: center;
  padding: 15px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
  display: flex;
  
  padding: 10px;
  gap: 15px;
}

.sidebar {
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.palette h3 {
  margin: 0 0 5px 0;
}

.colors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.color {
  width: 30px;
  height: 30px;
  border: 2px solid #ccc;
  cursor: pointer;
  border-radius: 4px;
}

.color.red { background: red; }
.color.blue { background: blue; }
.color.green { background: green; }
.color.yellow { background: yellow; }
.color.black { background: black; }



.toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 500px; /* הגדלנו כדי שיותר כפתורים יכנסו */
}

.drawing-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
}

.drawing-btn img {
  display: block;
  width: 80px;   /* הגדלנו */
  height: 80px;  /* הגדלנו */
  margin-bottom: 5px;
  object-fit: contain; /* שומר על פרופורציות */
}

.drawing-btn div {
  text-align: center;
  font-size: 14px;
}


.save-buttons {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.save-buttons button {
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid #aaa;
  background: #fff;
}

.drawing {
  flex: 1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
}
