/* DigestPress Tools — JPG to PDF Converter. Clean, mobile-friendly, matches a light editorial site. */
.dj2p-wrap { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 1.55; color: #1f2937; }
.dj2p-intro { color: #4b5563; margin: 0 0 20px; }

.dj2p-drop { border: 2px dashed #93c5fd; border-radius: 12px; padding: 28px 20px; text-align: center; background: #eff6ff; cursor: pointer; margin-bottom: 20px; }
.dj2p-drop.dj2p-dragover { border-color: #1d4ed8; background: #dbeafe; }
.dj2p-drop-title { font-size: 18px; font-weight: 600; color: #1e40af; margin: 0 0 6px; }
.dj2p-drop-sub { font-size: 13px; color: #6b7280; margin: 0 0 14px; }

.dj2p-btn { padding: 10px 22px; border: none; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; background: #1d4ed8; color: #fff; }
.dj2p-btn:hover { background: #1e40af; }
.dj2p-btn-secondary { background: #e5e7eb; color: #374151; }
.dj2p-btn-secondary:hover { background: #d1d5db; }
.dj2p-btn-big { padding: 12px 32px; font-size: 16px; }
.dj2p-btn:disabled { opacity: 0.55; cursor: default; }

.dj2p-list-wrap[hidden] { display: none; }
.dj2p-list-title { font-size: 17px; margin: 0 0 4px; color: #111827; }
.dj2p-note { font-size: 13px; color: #6b7280; margin: 8px 0 0; font-weight: 400; }
.dj2p-note-warn { background: #fefce8; border: 1px solid #fde68a; color: #854d0e; border-radius: 8px; padding: 10px 12px; font-size: 13px; margin: 12px 0 0; }
.dj2p-note-warn[hidden], .dj2p-note[hidden] { display: none; }

.dj2p-list { list-style: none; margin: 12px 0; padding: 0; }
.dj2p-list li { display: flex; align-items: center; gap: 12px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; }
.dj2p-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid #e5e7eb; flex-shrink: 0; }
.dj2p-meta { flex: 1; min-width: 0; }
.dj2p-meta-name { display: block; font-size: 14px; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dj2p-meta-dims { display: block; font-size: 12px; color: #6b7280; }
.dj2p-move { background: #fff; border: 1px solid #d1d5db; border-radius: 6px; width: 32px; height: 32px; font-size: 16px; line-height: 1; cursor: pointer; color: #374151; flex-shrink: 0; }
.dj2p-move:disabled { opacity: 0.35; cursor: default; }
.dj2p-remove { background: none; border: none; color: #dc2626; font-size: 20px; cursor: pointer; padding: 2px 6px; line-height: 1; flex-shrink: 0; }

.dj2p-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin: 16px 0; }
@media (max-width: 640px) { .dj2p-grid { grid-template-columns: 1fr; } }
.dj2p-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #374151; }
.dj2p-field select { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; background: #fff; color: #111827; }

.dj2p-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.dj2p-support { margin-top: 36px; border-top: 1px solid #e5e7eb; padding-top: 8px; }
.dj2p-support h2 { font-size: 22px; margin: 28px 0 10px; color: #111827; }
.dj2p-support h3 { font-size: 17px; margin: 18px 0 6px; color: #111827; }
.dj2p-support p { color: #374151; margin: 10px 0; }
.dj2p-support ul { color: #374151; }
.dj2p-support code { background: #f3f4f6; border-radius: 4px; padding: 1px 5px; font-size: 14px; }
