.image-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .image-container {
    flex-direction: row;
  }
}

.image-panel {
  flex: 1;
  background-color: #fff;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.image-preview {
  width: 100%;
  max-height: 400px;
  border: 1px dashed #ccc;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background-color: #f8f9fa;
}

.image-preview img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.upload-area {
  width: 100%;
  min-height: 200px;
  border: 2px dashed #ccc;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  padding: 20px;
  margin-bottom: 20px;
}

.upload-area:hover {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}

.upload-area.highlight {
  border-color: #0d6efd;
  background-color: #f0f7ff;
}

.upload-icon {
  font-size: 48px;
  color: #6c757d;
  margin-bottom: 10px;
}

.upload-text {
  text-align: center;
  color: #6c757d;
}

.upload-text strong {
  color: #0d6efd;
}

.file-input {
  display: none;
}

.tool-description {
  margin-top: 30px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.download-btn {
  margin-top: 15px;
}

.privacy-note {
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #e9f7fe;
  border-radius: 5px;
  border: 1px solid #d0e8f7;
  font-size: 0.9rem;
}

.merge-options {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.merge-option {
  flex: 1;
  text-align: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.merge-option:hover {
  background-color: #f0f7ff;
  border-color: #0d6efd;
}

.merge-option.active {
  background-color: #e9f7fe;
  border-color: #0d6efd;
}

.merge-icon {
  font-size: 24px;
  margin-bottom: 10px;
  color: #6c757d;
}

.merge-option.active .merge-icon {
  color: #0d6efd;
}

.border-settings {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f8f9fa;
}

.example-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.example-item {
  flex: 0 0 calc(50% - 20px);
  max-width: 300px;
  text-align: center;
}

.example-item img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.example-caption {
  margin-top: 5px;
  font-size: 0.9rem;
  color: #6c757d;
}

@media (max-width: 576px) {
  .example-item {
    flex: 0 0 100%;
  }
}