#editModal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}
.edit-modal-content {
  background-color: #0f0f0f;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #8e44ad;
  width: 90%;
  max-width: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
#editCanvas {
    max-width: 100%;
    max-height: 60vh;
    margin-bottom: 20px;
    border-radius: 5px;
}
.filter-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
}
.filter-btn,
.ai-picedit-btn {
  padding: 10px 15px;
  background-color: #8e44ad;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.filter-btn:hover {
  background-color: #9b59b6;
}
.filter-btn i {
  margin-right: 5px;
}

hr {
color: #8e44ad;
}
#download-btn, #revert-btn,
#submit-btn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #8e44ad;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: background-color 0.3s;
}
#download-btn:hover, #revert-btn:hover,
#submit-btn:hover {
  background-color: #9b59b6;
}
.file-input {
  display: none;
}
.file-label {
  display: inline-block;
  padding: 10px 15px;
  background-color: #8e44ad;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.file-label:hover {
  background-color: #9b59b6;
}


#editImageButtonContainer {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin-top: 20px;
gap: 10px;
}
