.file-upload-container {
  position: relative;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background-color: #f9f9f9;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.file-upload-container:hover {
  border-color: #007bff;
  background-color: #eef6ff;
}

.file-upload-label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
}

.file-upload-label i {
  font-size: 32px;
  color: #007bff;
}

.file-upload-label p {
  font-size: 16px;
  color: #333;
}

.file-item i {
  font-size: 32px;
}

.file-item.image-container {
  width: 100% !important;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
}

.file-item.image-container img {
  max-width: 100%;
  max-height: 100px;
  object-fit: cover;
}

.file-item.image-container a {
  margin: auto !important;
}

.file-upload-label span {
  font-weight: bold;
  color: #007bff;
  text-decoration: underline;
}

.loading-indicator {
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.file-gallery {
  margin-top: 15px;
}

.file-item {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 90%;
}

.image-gallery .image-item {
  flex-direction: column;
  position: relative;
  padding: 0;
}

.image-gallery .image-item .remove-btn {
  position: inherit;
  margin: 0 auto;
  transform: translateX(0);
  position: absolute;
  background: #ffffffbf;
}

.app-ecommerce .image-item img {
  max-height: 150px;
  object-fit: cover;
  width: 100%;
}

.image-gallery .image-item .remove-btn svg path {
  fill: red;
}

.image-gallery .image-item img {
  margin: 0 !important;
}

.file-upload-container.dragging {
  border-color: #28a745;
  background-color: #e6f9e6;
}

.file-upload-container.dragging .file-upload-label {
  color: #28a745;
}

.file-item:hover {
  background-color: #f8f9fa;
}

.file-name {
  font-size: 14px;
  color: #333;
}

.remove-btn {
  cursor: pointer;
  color: #dc3545;
  right: 0;
  left: inherit;
  bottom: inherit;
}

/* Upload container styles */
.upload-container {
  border: 2px dashed #d9dee3;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.upload-container:hover {
  border-color: #696cff;
  background: #f0f0ff;
}

.upload-container.dragging {
  border-color: #696cff !important;
  background: #f0f0ff !important;
}

.upload-icon {
  font-size: 2rem;
  color: #696cff;
  margin-bottom: 1rem;
}

.upload-text {
  color: #697a8d;
}

.upload-text span {
  color: #696cff;
  font-weight: 500;
}

.loading-logo {
  width: 56px;
  height: 56px;
  animation: pulse-animation 1.5s infinite ease-in-out;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pulse-animation {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  z-index: 1000;
}

/* Dropzone styles */
.dropzone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: #f9f9f9;
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropzone:hover {
  border-color: #007bff;
  background-color: #eef6ff;
}

.dropzone .dz-message {
  margin: 0;
  color: #666;
  font-size: 16px;
}

.dropzone .dz-preview {
  margin: 10px;
}

.dropzone .dz-preview .dz-image {
  border-radius: 8px;
  overflow: hidden;
}

.dropzone .dz-preview .dz-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropzone .dz-preview .dz-details {
  color: #333;
}

.dropzone .dz-preview .dz-remove {
  color: #dc3545;
  text-decoration: none;
  font-size: 14px;
}

.dropzone .dz-preview .dz-remove:hover {
  text-decoration: underline;
}
