.containerBox {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding-top: 20px;
}

.statement {
  color: rgb(20, 5, 77);
  padding: 0px;
  text-align: center;
}

.statement h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.uploadContainer {
  padding: 40px;
  max-width: 900px;
  margin: 0px auto;
}

.upload-box {
  display: block;
  border: 3px dashed #2196f3;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8f9ff;
}

.upload-box:hover {
  border-color: #1976d2;
  background: #e3f2fd;
  transform: translateY(-2px);
}

.upload-box.dragover {
  border-color: #1976d2;
  background: #e3f2fd;
  transform: scale(1.02);
}

.uploadIcon {
  font-size: 48px;
  margin-bottom: 15px;
  margin-top: 0px;
}

.uploadText {
  color: #667eea;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.upload-box strong {
  color: #2196f3;
  font-size: 1.2rem;
}

.upload-box small {
  color: #888;
  font-size: 0.9rem;
  display: block;
  margin-top: 15px;
}

#previewContainer {
  margin-top: 20px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  max-width: 100%;
}

.preview-item {
  position: relative;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.preview-item:hover {
  transform: translateY(-2px);
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-item .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(244, 67, 54, 0.9);
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.preview-item .remove-btn:hover {
  background: #f44336;
}

.file-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 8px 6px 4px;
  font-size: 0.7rem;
  text-align: center;
}

.removeBgButton {
  width: 100%;
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.removeBgButton:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(76, 175, 80, 0.3);
}

.removeBgButton:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.file-count {
  text-align: center;
  margin: 20px 0;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.help-section {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #0d6efd;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 100px;
  margin: 10px;
}

.help-section h3 {
  font-size: 22px;
  color: #0d6efd;
  margin-bottom: 15px;
}

.help-section p {
  color: #333;
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.help-section ul {
  padding-left: 20px;
  margin: 0;
}

.help-section li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

.help-section hr {
  margin: 20px 0;
  border: none;
  border-top: 1px solid #ccc;
}

@media (max-width: 768px) {
  .preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
  }

  .statement {
    padding: 30px 20px;
  }

  .statement h1 {
    font-size: 2rem;
  }

  .uploadContainer {
    padding: 20px;
  }

  .upload-box {
    padding: 40px 15px;
  }
}

@media (min-width: 769px) {
  .preview-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
