.pdfv-body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: #eef2f7;
  color: #1d2a36;
}

.pdfv-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.pdfv-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(20, 32, 44, 0.12);
  backdrop-filter: blur(12px);
}

.pdfv-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.pdfv-toolbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pdfv-btn {
  appearance: none;
  border: 1px solid #cfd7e3;
  background: #fff;
  color: #1d2a36;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pdfv-btn:hover {
  background: #f4f7fb;
}

.pdfv-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.pdfv-btn-primary {
  background: #2f3746;
  border-color: #2f3746;
  color: #fff;
}

.pdfv-btn-primary:hover {
  background: #253040;
}

.pdfv-status {
  padding: 10px 16px 0;
  font-size: 13px;
  color: #556273;
}

.pdfv-status.error {
  color: #b3261e;
}

.pdfv-scroll {
  flex: 1 1 auto;
  overflow: auto;
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.pdfv-pages {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.pdfv-page {
  width: min(100%, 1100px);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.pdfv-canvas-wrap {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(20, 32, 44, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.pdfv-page canvas {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  background: #fff;
}

.pdfv-page-number {
  font-size: 12px;
  color: #556273;
  font-weight: 700;
}

@media (max-width: 720px) {
  .pdfv-toolbar {
    padding: 10px 12px;
  }

  .pdfv-title {
    font-size: 15px;
  }

  .pdfv-btn {
    padding: 7px 10px;
    font-size: 12px;
  }

  .pdfv-scroll {
    padding: 12px;
  }
}
