.camera-upload {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.camera-upload input[type="file"] {
  display: none;
}

.camera-btn {
  display: inline-block;
  width: 100px;
  height: 100px;
  border: 2px dashed #999;
  border-radius: 8px;
  text-align: center;
  font-size: 36px;
  color: #999;
  cursor: pointer;
  background-color: #f9f9f9;
}



.camera-upload #preview {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center
}

.camera-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
}

.camera-container {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.camera-stream {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.camera-loading {
  display: none;
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.preview-wrapper {
  position: relative;
  display: inline-block;
  margin: 5px;
}

.preview-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.remove-photo {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}