.tadaoto-pdf-converter-page .pdfjpg-drop {
  background: var(--tool-panel);
  border: 2px dashed #aeb5bc;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 24px;
  padding: 34px 20px 32px;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease;
}
.tadaoto-pdf-converter-page .pdfjpg-drop:hover,
.tadaoto-pdf-converter-page .pdfjpg-drop.is-over { background: #edf8fc; border-color: var(--tool-accent); }
.tadaoto-pdf-converter-page .pdfjpg-drop:focus-visible { outline: 3px solid rgba(6,147,205,.32); outline-offset: 3px; }
.tadaoto-pdf-converter-page .pdfjpg-drop.is-disabled { cursor: wait; opacity: .58; pointer-events: none; }
.pdfjpg-drop__icon { color: var(--tool-accent); display: inline-block; height: 48px; margin-bottom: 8px; width: 48px; }
.pdfjpg-drop__icon svg { fill: none; height: 100%; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 100%; }
.pdfjpg-drop__main { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.pdfjpg-drop__sub,
.pdfjpg-file-info,
.pdfjpg-output-info { color: var(--tool-muted); font-size: 14px; margin: 0; }
.pdfjpg-file-info { font-weight: 700; margin-top: 14px; overflow-wrap: anywhere; }
.pdfjpg-settings__controls { align-items: end; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) auto; margin-top: 24px; }
.pdfjpg-page-field { display: grid; gap: 8px; }
.pdfjpg-page-field > span { font-size: 14px; font-weight: 700; }
.pdfjpg-page-input { align-items: center; display: flex; gap: 12px; }
.pdfjpg-page-input input { border: 1px solid #aeb5bc; border-radius: 8px; font: inherit; min-height: 46px; padding: 8px 12px; width: 120px; }
.pdfjpg-page-input input:focus-visible { border-color: var(--tool-accent); outline: 3px solid rgba(6,147,205,.22); }
.pdfjpg-page-count { color: var(--tool-muted); font-size: 14px; }
.pdfjpg-button,
.pdfjpg-download { align-items: center; border: 1px solid transparent; border-radius: 8px; cursor: pointer; display: inline-flex; font-size: 15px; font-weight: 700; justify-content: center; min-height: 46px; padding: 10px 18px; text-decoration: none; }
.pdfjpg-button--primary,
.pdfjpg-download { background: var(--tool-accent); color: #fff; }
.pdfjpg-button--primary:hover,
.pdfjpg-download:hover { background: var(--tool-accent-dark); color: #fff; }
.pdfjpg-button--secondary { background: #fff; border-color: #9aa4ad; color: #33404a; }
.pdfjpg-button--secondary:hover { background: #f5f6f7; color: #1f2a32; }
.pdfjpg-button:focus-visible,
.pdfjpg-download:focus-visible { outline: 3px solid rgba(6,147,205,.32); outline-offset: 3px; }
.pdfjpg-button:disabled { cursor: not-allowed; opacity: .5; }
.pdfjpg-settings,
.pdfjpg-result { margin-top: 24px; }
.pdfjpg-result { scroll-margin-top: 80px; }
.pdfjpg-result__head { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 18px; }
.pdfjpg-result__head .tool-section-heading { flex: 1 1 auto; }
.pdfjpg-result__head .pdfjpg-button { flex: 0 0 auto; }
.pdfjpg-preview-wrap { align-items: center; background: #e8ebee; border: 1px solid var(--tool-line); border-radius: 12px; display: flex; justify-content: center; min-height: 280px; overflow: hidden; padding: 20px; }
.pdfjpg-preview { background: #fff; box-shadow: 0 2px 12px rgba(29,43,54,.14); display: block; height: auto; max-height: 720px; max-width: 100%; object-fit: contain; width: auto; }
.pdfjpg-output-info { margin-top: 12px; text-align: center; }
.pdfjpg-actions { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.pdfjpg-status { min-height: 1.6em; margin: 18px 0 0; text-align: center; }
.pdfjpg-status.is-error { color: var(--tool-danger, #b3261e); font-weight: 700; }
.pdfjpg-note { margin-top: 28px; }
@media (max-width: 560px) {
  .tadaoto-pdf-converter-page .pdfjpg-drop { padding: 28px 16px 26px; }
  .pdfjpg-settings__controls { align-items: stretch; grid-template-columns: 1fr; }
  .pdfjpg-page-input { justify-content: space-between; }
  .pdfjpg-button,
  .pdfjpg-download { width: 100%; }
  .pdfjpg-result__head { align-items: flex-start; flex-direction: column; }
  .pdfjpg-preview-wrap { min-height: 190px; padding: 12px; }
  .pdfjpg-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .tadaoto-pdf-converter-page .pdfjpg-drop { transition: none; }
}
