/* Confirm button styling */
.confirm-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-left: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.confirm-btn:hover {
  background-color: #218838;
}

.confirm-btn:active {
  background-color: #1e7e34;
}

.confirm-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #333;
}

.modal-body {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.5;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.modal-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.modal-btn-primary {
  background-color: #007bff;
  color: white;
}

.modal-btn-primary:hover {
  background-color: #0056b3;
}

.modal-btn-secondary {
  background-color: #6c757d;
  color: white;
}

.modal-btn-secondary:hover {
  background-color: #545b62;
}


/* Status info styles */
.status-info {
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.status-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.status-value {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* Progress bar styles */
.progress-bar {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background-color: #28a745;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 15px;
}

.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-weight: bold;
  font-size: 14px;
}

/* Results container styles */
.results-container {
  max-height: 200px;
  overflow-y: auto;
  margin-top: 10px;
}

/* Completion summary styles */
.completion-summary {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-item.success .summary-value {
  color: #28a745;
  font-weight: bold;
}

.summary-item.error .summary-value {
  color: #dc3545;
  font-weight: bold;
}

/* Results list styles */
.results-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
}

.result-item {
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-item.success {
  background-color: #d4edda;
  border-left: 4px solid #28a745;
}

.result-item.error {
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
}

.result-nid {
  font-weight: bold;
  min-width: 60px;
}

.result-message {
  flex: 1;
  color: #666;
}
