/* Gabung & Kompres PDF */

.pdf-modes { justify-content: center; margin-bottom: 14px; }
.pdf-mode[hidden] { display: none !important; }

.file-list { display: grid; gap: 8px; margin-top: 14px; }
.file-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
}
.file-row .ic {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #FEE2E2;
  color: #B91C1C;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}
.file-row .nm { font-weight: 700; font-size: 14px; word-break: break-all; }
.file-row .mt { font-size: 12.5px; color: var(--muted); }
.file-row .mt.warn { color: #B45309; }
.file-row .act { display: flex; gap: 4px; }
.file-row .act button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  font-size: 15px;
}
.file-row .act button { display: inline-grid; place-items: center; color: #334155; }
.file-row .act button:hover:not(:disabled) { background: #fff; color: var(--brand-dark); }
.file-row .act button:disabled { opacity: .35; cursor: default; }

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.pdf-actions .summary { font-size: 14px; color: var(--muted); }

.progress { height: 8px; background: #E5E7EB; border-radius: 99px; overflow: hidden; margin-top: 10px; }
.progress > div { height: 100%; width: 0; background: var(--brand); transition: width .2s; }

.result-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: #065F46;
  font-size: 14px;
}
.result-box.warn { background: #FFFBEB; color: #92400E; }
.alert {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FFFBEB;
  color: #92400E;
  font-size: 13px;
}
.lib-status { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
