/* dqcheckr client custom styles */

/* Sidebar nav buttons */
.sidebar .btn-light { border-radius: 0 !important; font-size: 13px; }
.sidebar .btn-light:hover { background: #e9ecef; }
.sidebar .btn-light.active { background: #dee2e6; font-weight: 600; }

/* Wizard breadcrumb */
.wizard-breadcrumb { display: flex; align-items: center; gap: 4px; padding: 12px 0 20px; flex-wrap: wrap; }
.wizard-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; cursor: default;
  background: #dee2e6; color: #495057;
}
.wizard-step-num.active  { background: #0d6efd; color: #fff; }
.wizard-step-num.done    { background: #198754; color: #fff; }
.wizard-step-num.disabled{ background: #e9ecef; color: #adb5bd; }
.wizard-step-sep { color: #adb5bd; font-size: 11px; }

/* FWF ruler container */
#fwf-ruler-wrap { position: relative; }
#fwf-char-ruler {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  line-height: 1.4;
  white-space: pre;
  overflow-x: hidden;
  color: #6c757d;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-bottom: none;
  padding: 2px 4px;
  user-select: none;
}
#fwf-ruler-svg {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  overflow: visible;
}
.fwf-boundary {
  stroke: #0d6efd;
  stroke-width: 1.5;
  pointer-events: all;
  cursor: ew-resize;
}
.fwf-boundary:hover { stroke: #0a58ca; stroke-width: 2.5; }

/* Log panel */
#run_log {
  height: 280px;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  background: #1a1a2e;
  color: #a8dadc;
  padding: 10px;
  border-radius: 6px;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Validation messages */
.shinyvalidate-message { font-size: 12px; color: #dc3545; margin-top: 2px; }

/* Accordion column rules */
.accordion-button { font-size: 13px; padding: 8px 12px; }
.accordion-body { padding: 10px 14px; background: #f8f9fa; }

/* Dataset list items */
.dataset-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 12px; cursor: pointer; font-size: 13px;
}
.dataset-item:hover { background: #e9ecef; }
.dataset-item.active { background: #cfe2ff; }

/* Parsed preview table */
.reactable { font-size: 13px; }

/* YAML preview */
#yaml_preview {
  font-family: monospace;
  font-size: 12px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre;
}
