* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Helvetica, sans-serif;
  display: flex;
  height: 100vh;
  font-family: Arial, sans-serif;
  background-color: #ff007a;
}

.left-panel {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border-right: 2px solid #ccc;
  flex-direction: column;
}

.right-panel {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.tabs {
  display: flex;
  padding: 10px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #aaa;
  background-color: #ceb4fe;
  margin-right: 5px;
  transition: background 0.3s;
  font-size: 18px;
  font-weight: 600;
}

.tab.active {
  background-color: #5600ef;
  border-bottom: 2px solid white;
  color: white;
}

.tab-content {
  flex-grow: 1;
  padding: 20px;
  display: none;
}

.tab-content.active {
  display: block;
}

#imageContainer {
  margin-top: 20px;
}
#uploadedImage {
  max-width: 100%;
  cursor: crosshair;
}
#canvas {
  display: none;
}
#colorContainer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
  flex-wrap: wrap;
}
.colorBox {
  width: 50px;
  height: 50px;
  border: 1px solid #000;
  cursor: pointer;
  position: relative;
}
.tooltip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  display: none;
  white-space: nowrap;
}
#refreshBtn {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  background: #5600ef;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
#refreshBtn:hover {
  background: #32008a;
}

input[type="color"] {
  position: absolute;
  position: relative;
  min-width: 250px;
  font-size: 18px;
  font-weight: 600;
  padding: 10px 22px 6px;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.35s ease;
  letter-spacing: 0.02em;
  opacity: 0;
}
input {
  position: absolute;
  position: relative;
  min-width: 250px;
  font-size: 18px;
  font-weight: 600;
  padding: 2px 2px 2px;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.35s ease;
  letter-spacing: 0.02em;
}
button {
  padding: 3px;
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  background: #5600ef;
  color: white;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.35s ease;
  border-radius: 5px;
}
button:hover {
  background: #32008a;
}
label {
  position: relative;
  min-width: 250px;
  font-size: 18px;
  font-weight: 600;
  color: white;
}
.color-display-buttonn {
  padding: 5px;
  min-width: 27px;
  width: 27px;
  height: 27px;
  background-color: white;
}
.buttons {
  margin: 8px;
}
h1 {
  text-align: center;
  color: white;
}
.clear-button {
  min-width: 25px;
}
.hidden-options {
  display: none !important;
}
.upperbody-h1 {
  margin-bottom: 25px;
}
.button-row {
  text-align: center;
}

.align-all-content-in-center {
  text-align: center;
}
