/* Remover páginas de PDF. Shared PDF and converter CSS stay; this file only restyles this page. */
.xpdf-page { --xpdf-blue: #2563eb; --xpdf-ink: #172033; }

.xpdf-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 0 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fb7185, #e11d48);
  box-shadow: 0 10px 22px rgba(225, 29, 72, 0.22);
}
.xpdf-mark svg { width: 36px; height: 36px; display: block; }

.article .xpdf-page .conv-title {
  margin-bottom: 12px;
  font-size: clamp(1.85rem, 2.4vw, 2.45rem);
  line-height: 1.02;
}
.article .xpdf-page .conv-lede { color: #5b6b8a; }

.xpdf-perk {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: #fff center / 18px no-repeat;
}
.xpdf-perk.is-fast {
  background-color: #fef3c7;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23d97706' d='M13 2 4 13.5h6.2L9.2 22l9-11.5h-6.1z'/%3E%3C/svg%3E");
}
.xpdf-perk.is-multi {
  background-color: #ffe4e6;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fb7185' d='M7 6h10a1 1 0 0 1 1 1v10H8a1 1 0 0 1-1-1z'/%3E%3Cpath fill='%23e11d48' d='M5 9h10a1 1 0 0 1 1 1v9H6a1 1 0 0 1-1-1z'/%3E%3Cpath fill='%23fff' d='M8 13h6v1.2H8zm0 2.4h4.2v1.2H8z'/%3E%3C/svg%3E");
}
.xpdf-page .conv-perk.is-device {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Crect x='8' y='2' width='8' height='20' rx='2'/%3E%3Cpath d='M11 18h2'/%3E%3C/svg%3E");
}

.article .xpdf-art {
  display: block;
  width: calc(100% + 8px);
  max-width: 280px;
  height: auto;
  margin: 18px 0 0 -8px;
}

.xpdf-page .cpdf-app { display: flex; flex-direction: column; gap: 12px; }
.xpdf-page .cpdf-app.pvc-app > .cpdf-toolbar { display: flex !important; }
.xpdf-page .conv-board { width: 100%; grid-template-columns: minmax(0, 1fr) 320px; }
.xpdf-page .conv-stack { grid-template-columns: minmax(0, 1fr); }
.xpdf-page .conv-stack,
.xpdf-page .conv-card,
.xpdf-page .epdf-grid,
.xpdf-page .xpdf-head { min-width: 0; max-width: 100%; }
.xpdf-page .cpdf-side { margin-top: 0; gap: 12px; }

.xpdf-page .conv-steps { display: flex; align-items: center; gap: 0; padding: 14px 18px; }
.article .xpdf-page .conv-steps li { flex: 1 1 0; margin: 0; }
.article .xpdf-page .conv-steps li::before { content: none; }
.xpdf-page .conv-steps li > span:first-child {
  width: 34px; height: 34px; border: 2px solid #bfdbfe; background: #fff; color: var(--xpdf-blue); font-size: 0.95rem;
}
.xpdf-page .conv-steps li.is-on > span:first-child,
.xpdf-page .conv-steps li.is-done > span:first-child { border-color: var(--xpdf-blue); background: var(--xpdf-blue); color: #fff; }
.xpdf-page .conv-steps strong { color: var(--xpdf-blue); font-size: 0.92rem; white-space: nowrap; }
.xpdf-page .conv-steps small { color: #64748b; }
.xpdf-page .conv-steps li:not(:last-child)::after { content: "→"; margin-left: auto; padding: 0 10px; color: #94a3b8; font-size: 1.05rem; }

.xpdf-page .conv-card { padding: 16px 16px 18px; border-radius: 18px; }
.xpdf-page .cpdf-drop {
  min-height: 220px; padding: 28px 18px 18px; border: 1.5px dashed #93c5fd; border-radius: 16px; background: #f3f8ff;
}
.xpdf-page .conv-cloud { width: 72px; height: 72px; background-size: 46px; }
.xpdf-page .cpdf-drop-title { font-size: 1.2rem; }
.xpdf-page .cpdf-drop-hint { color: var(--xpdf-blue); font-weight: 750; }
.xpdf-page .cpdf-drop-actions { margin-top: 8px; }
.article .xpdf-meta { margin: 12px 0 0; color: #64748b; font-size: 0.82rem; text-align: center; }
.xpdf-page .cpdf-app #epdf-btn-sample {
  border: 1px solid #e6edf5; border-radius: 12px; background: #fff; color: var(--xpdf-ink); font-weight: 750;
}
.xpdf-page .cpdf-btn-icon.is-stroke,
.xpdf-page .cpdf-btn-icon.is-stroke path,
.xpdf-page .cpdf-btn-icon.is-stroke circle { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.xpdf-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.article .xpdf-page h2.xpdf-block-title,
.xpdf-block-title {
  display: flex; align-items: center; gap: 8px; margin: 0; color: var(--xpdf-ink);
  font-size: 1.02rem; font-weight: 800; text-align: left;
}
.xpdf-step {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border-radius: 50%; background: var(--xpdf-blue); color: #fff; font-size: 0.85rem;
}
.xpdf-gear { width: 18px; height: 18px; flex: none; color: #64748b; }
.xpdf-head-actions { display: flex; flex: none; gap: 8px; }
.xpdf-page .xpdf-head-actions .cpdf-btn {
  min-height: 36px; padding: 0 12px; border: 1px solid #e6edf5; border-radius: 10px;
  background: #fff; color: var(--xpdf-ink); font-size: 0.82rem; font-weight: 750;
}

.xpdf-page .epdf-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  padding: 0;
}
.xpdf-sheet {
  position: relative;
  min-width: 0;
  padding: 8px 8px 10px;
  border: 1.5px solid #e6edf5;
  border-radius: 12px;
  background: #fff;
}
.xpdf-sheet.is-selected { border-color: #ef4444; box-shadow: 0 0 0 1px #ef4444; }
.xpdf-hit { display: grid; gap: 6px; margin: 0; cursor: pointer; }
.xpdf-page .xpdf-pick {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 2px solid #d5deea;
  border-radius: 5px;
  background: #fff;
  appearance: none;
  cursor: pointer;
}
.xpdf-page .xpdf-pick:checked {
  border-color: #ef4444;
  background: #ef4444 url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.xpdf-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f8fafc;
}
.xpdf-frame img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: top; background: #fff; }
.xpdf-num,
.xpdf-page .epdf-thumb-ph { color: #64748b; font-size: 0.78rem; font-weight: 700; text-align: center; }
.xpdf-page.is-processing .xpdf-pick,
.xpdf-page.is-processing #xpdf-select-all,
.xpdf-page.is-processing #xpdf-clear-sel { pointer-events: none; }

.xpdf-page .cpdf-card.xpdf-summary { padding: 16px; border: 1px solid var(--cv-line, #e3e9f1); border-radius: 16px; background: #fff; }
.xpdf-page .cpdf-card-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  color: var(--xpdf-ink); font-size: 1rem; font-weight: 800; letter-spacing: 0; text-transform: none;
}
.xpdf-card-ico { width: 28px; height: 28px; flex: none; border-radius: 8px; background: #e8f0fe center / 16px no-repeat; }
.xpdf-card-ico.is-file {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232563eb' d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath fill='%23fff' d='M9 12h6v1.4H9zm0 3h4v1.4H9z'/%3E%3C/svg%3E");
}
.xpdf-card-ico.is-bulb {
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5b400' d='M12 2a7 7 0 0 0-4 12.7V17a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2.3A7 7 0 0 0 12 2z'/%3E%3Cpath fill='%23d97706' d='M9 19h6v1.2a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}
.xpdf-page .cpdf-stat { align-items: center; padding: 8px 4px; border-bottom: 1px solid #eef2f7; font-size: 0.84rem; }
.xpdf-page .cpdf-stat:last-child { border-bottom: 0; }
.xpdf-page .cpdf-stat-label { color: #64748b; font-weight: 650; }
.xpdf-page .cpdf-stat-value { overflow-wrap: anywhere; text-align: right; color: var(--xpdf-ink); font-weight: 750; }
.xpdf-page .cpdf-status:empty { display: none; }
.xpdf-page .cpdf-status { margin-top: 8px; }

.xpdf-page .xpdf-tips { background: #fff8e8; border-color: #f6e3b0; }
.article .xpdf-page .conv-tips h2 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--xpdf-ink); font-size: 1rem;
}
.article .xpdf-tips ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.article .xpdf-tips li { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #3d4658; font-size: 0.84rem; line-height: 1.35; }
.article .xpdf-tips li::before {
  content: ""; width: 18px; height: 18px; flex: none; margin-top: 1px; border-radius: 0;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%2322a55a'/%3E%3Cpath d='m7 12.2 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.xpdf-actions { display: grid; gap: 8px; }
.xpdf-page .cpdf-app #epdf-btn-save,
.xpdf-page .cpdf-app #epdf-btn-save:hover,
.xpdf-page .cpdf-app #epdf-btn-save:disabled {
  width: 100%; min-height: 52px; border: 0 !important; border-radius: 12px; background: #f5b400 !important;
  color: #1f2937 !important; font-size: 1rem; font-weight: 800; box-shadow: none !important; opacity: 1;
}
.xpdf-page .cpdf-app #epdf-btn-save:disabled { opacity: 0.72; cursor: not-allowed; }
.xpdf-page .cpdf-app #epdf-btn-save .cpdf-btn-icon,
.xpdf-page .cpdf-app #epdf-btn-save .cpdf-btn-icon path,
.xpdf-page .cpdf-app #epdf-btn-save .cpdf-btn-icon circle { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.xpdf-action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xpdf-page .cpdf-app .xpdf-action-row .cpdf-btn {
  min-height: 44px; border: 1px solid #e6edf5; border-radius: 12px; background: #fff; color: var(--xpdf-ink); font-weight: 750;
}
.xpdf-page #epdf-btn-download { width: 100%; min-height: 44px; }
.xpdf-page #epdf-btn-download:disabled { display: none; }

body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related {
  margin: 0; padding: 14px; border: 1px solid #e4def8; border-radius: 16px; background: #f6f3ff; box-shadow: none;
}
body.page-remover-paginas-pdf-online .article .xpdf-page h2.pdf-related-title { display: none !important; }
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-head { margin-bottom: 10px; padding: 0; }
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-sub {
  display: flex; align-items: center; gap: 8px; color: #5b21b6; font-size: 0.98rem; font-weight: 800;
}
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-sub::before {
  content: ""; width: 22px; height: 22px; flex: none;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237c3aed' d='M4 4h7v7H4zm9 0h7v7h-7zM4 13h7v7H4zm9 0h7v7h-7z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-grid { grid-template-columns: 1fr 1fr !important; gap: 8px; }
body.page-remover-paginas-pdf-online .article .xpdf-page a.pdf-related-card { gap: 8px; padding: 8px; border-color: #ece7f8; background: #fff; }
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-name { font-size: 0.78rem; }
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-hint { font-size: 0.68rem; }
body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-icon { width: 32px; height: 32px; }
.xpdf-page .cpdf-success, .xpdf-page .cpdf-progress-wrap { border-radius: 16px; }

@media (max-width: 1100px) {
  .xpdf-page .conv-board { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .article .xpdf-art { display: none; }
}
@media (max-width: 720px) {
  .xpdf-page .conv-steps { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .xpdf-page .conv-steps li:not(:last-child)::after { content: none; }
  .xpdf-page .conv-steps strong { white-space: normal; }
  .xpdf-head { flex-wrap: wrap; }
  .xpdf-head-actions { width: 100%; }
  .xpdf-page .xpdf-head-actions .cpdf-btn { flex: 1; }
  body.page-remover-paginas-pdf-online .article .xpdf-page .pdf-related-grid { grid-template-columns: 1fr !important; }
}

html[data-theme="dark"] .xpdf-page { --xpdf-ink: #f8fafc; }
html[data-theme="dark"] .article .xpdf-page .conv-lede,
html[data-theme="dark"] .xpdf-page .cpdf-stat-label,
html[data-theme="dark"] .xpdf-num,
html[data-theme="dark"] .article .xpdf-meta { color: #94a3b8; }
html[data-theme="dark"] .xpdf-sheet,
html[data-theme="dark"] .xpdf-page .cpdf-card.xpdf-summary,
html[data-theme="dark"] .xpdf-page .cpdf-app .xpdf-action-row .cpdf-btn,
html[data-theme="dark"] .xpdf-page .xpdf-head-actions .cpdf-btn,
html[data-theme="dark"] .xpdf-page .cpdf-app #epdf-btn-sample { background: #1e293b; border-color: #334155; color: #e2e8f0; }
html[data-theme="dark"] .xpdf-frame { background: #0f172a; border-color: #334155; }
html[data-theme="dark"] .article .xpdf-tips li { color: #cbd5e1; }
