.docxflow-root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  margin: 1.5rem auto;
  max-width: 780px;
  width: 100%;
}
.docxflow-root *, .docxflow-root *::before, .docxflow-root *::after {
  box-sizing: border-box;
}
.docxflow-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 24px;
}
.docxflow-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}
.docxflow-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  flex-shrink: 0;
}
.docxflow-title {
  margin: 0 0 4px 0 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}
.docxflow-desc {
  margin: 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.4 !important;
}
.docxflow-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  padding: 36px 20px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}
.docxflow-dropzone:hover, .docxflow-dropzone.dragover {
  border-color: #2563eb;
  background: #f0f7ff;
}
.docxflow-file-input-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}
.docxflow-upload-icon {
  display: inline-flex;
  margin-bottom: 12px;
  color: #2563eb;
}
.docxflow-drop-title {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}
.docxflow-browse-text {
  color: #2563eb;
  text-decoration: underline;
}
.docxflow-drop-hint {
  font-size: 12px;
  color: #64748b;
  margin: 0;
}
.docxflow-options-accordion {
  margin-top: 14px;
}
.docxflow-options-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease;
}
.docxflow-options-btn:hover {
  background: #f1f5f9;
}
.docxflow-opts-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.docxflow-options-body {
  padding: 14px;
  margin-top: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.docxflow-opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.docxflow-opt-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}
.docxflow-select {
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #1e293b;
}
.docxflow-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.docxflow-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #334155;
  cursor: pointer;
}
.docxflow-files-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.docxflow-file-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  gap: 10px;
}
.docxflow-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.docxflow-file-name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  word-break: break-all;
}
.docxflow-file-size {
  font-size: 12px;
  color: #64748b;
}
.docxflow-progress-bar-bg {
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}
.docxflow-progress-bar-fill {
  height: 100%;
  background: #2563eb;
  width: 0%;
  transition: width 0.25s ease;
}
.docxflow-status-text {
  font-size: 12px;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.docxflow-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: #2563eb;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.docxflow-download-btn:hover {
  opacity: 0.92;
}
.docxflow-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 11.5px;
  color: #64748b;
}