/* Additional CSS for Word to PDF modal */
#wordToPdfModal .modal-content {
  max-width: 700px;
  padding: 30px;
}

#wordToPdfModal h2 {
  margin-bottom: 20px;
  color: #4361ee;
}

#wordToPdfInput {
  margin-bottom: 15px;
  width: 100%;
  padding: 10px;
  border: 1px dashed #ccc;
  border-radius: 4px;
  background-color: #f9f9f9;
}

#wordPreview {
  border: 1px solid #ddd;
  margin-top: 20px;
  width: 100%;
  min-height: 400px;
  background-color: white;
}

#downloadWordPdf {
  background-color: #4361ee;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#downloadWordPdf:hover {
  background-color: #3651d3;
}

#downloadWordPdf:before {
  content: "\f019";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

#wordToPdfStatus {
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.loading-indicator {
  font-size: 18px;
  color: #4361ee;
}

/* File upload styling */
.file-upload-box {
  border: 2px dashed #ccc;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  transition: all 0.3s;
}

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

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

/* For all modals to ensure consistent styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #777;
}

.close:hover {
  color: #333;
}
