/* Image to PDF Styles */
.file-upload-box {
  border: 2px dashed #ccc;
  border-radius: 5px;
  padding: 30px;
  text-align: center;
  background-color: #f9f9f9;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.file-upload-box:hover {
  border-color: #4361ee;
  background-color: #f0f5ff;
}

.file-upload-icon {
  font-size: 48px;
  color: #4361ee;
  margin-bottom: 15px;
}

.file-upload-box p {
  margin: 5px 0;
  font-size: 16px;
}

.file-upload-box .small-text {
  font-size: 14px;
  color: #666;
}

.file-upload-box .browse-btn {
  margin-top: 10px;
  padding: 8px 20px;
  background-color: #4361ee;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.file-upload-box .browse-btn:hover {
  background-color: #3251d4;
}

.loading-indicator {
  text-align: center;
  margin: 20px 0;
  font-size: 16px;
  color: #4361ee;
}

.conversion-options {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.option-group {
  margin-right: 20px;
  margin-bottom: 10px;
  flex: 1;
  min-width: 200px;
}

.option-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.setting-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.btn-primary {
  background-color: #4361ee;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #3251d4;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.conversion-notes {
  font-size: 14px;
  color: #666;
  background-color: #f9f9f9;
  border-left: 3px solid #4361ee;
  padding: 10px 15px;
  margin-top: 20px;
}

.image-preview-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  background-color: white;
}

.setting-group {
  margin-bottom: 15px;
}

.setting-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

#pdfSettings {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

#pdfSettings h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 18px;
}

#imagePreview {
  padding: 15px;
  max-height: 500px;
  overflow-y: auto;
}

/* Status message styles */
#imageToPdfStatus {
  padding: 10px;
  border-radius: 4px;
  margin: 10px 0;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .option-row {
    flex-direction: column;
  }
  
  .option-group {
    margin-right: 0;
    width: 100%;
  }
}
