/* General styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  display: flex;
  height: 100vh;
}

.app-container {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Sidebar styles */
.tools-sidebar {
  width: 250px;
  background-color: #333;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tools-sidebar h1 {
  font-size: 1.5rem;
  margin: 0;
}

.tool-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-upload-btn {
  background-color: #555;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.custom-upload-btn:hover {
  background-color: #777;
}

input[type="file"] {
  display: none;
}

button {
  background-color: #555;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

button:hover {
  background-color: #777;
}

input[type="range"] {
  width: 100%;
}

input[type="color"] {
  width: 100%;
  height: 40px;
  border: none;
  cursor: pointer;
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
}

.color-swatch:hover {
  border-color: #000;
}

/* Canvas container styles */
.canvas-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  position: relative;
}

canvas {
  border: 2px solid #333;
  background-color: #fff;
  cursor: crosshair;
}

#sample-image-selector {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #555;
  color: #fff;
  cursor: pointer;
}

#sample-image-selector:hover {
  background-color: #777;
}

