.color-picker-container {
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #f1f1f1;
  margin: auto;
}
#drop-box {
  width: 100%;
  height: 150px;
  border: 2px dashed #0073aa;
  border-radius: 10px;
  background: #f0f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0073aa;
  font-size: 16px;
  margin-bottom: 10px;
  cursor: pointer;
}
#image-file {
  margin: 10px auto;
}
#image-preview {
  max-width: 100%;
  cursor: crosshair;
  margin: 10px 0px;
}
#color-info {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}
#hex-code {
  cursor: pointer;
  text-decoration: underline;
}
.color-list {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
  margin-top: 10px;
}

.color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
  transition: background 0.2s;
}

.color-item:hover {
  background: #f1f1f1;
}

.color-box {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid #aaa;
}

.color-format {
  font-weight: bold;
  width: 50px;
}

.color-code {
  font-family: monospace;
}

.copied-message {
  margin-left: 10px;
  color: green;
  font-size: 14px;
  font-weight: bold;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
