.ezp-pdfjs-viewer { width: 100%; }

.ezp-pdf-toolbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 10px;
}

.ezp-pdf-toolbar .ezp-left,
.ezp-pdf-toolbar .ezp-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ezp-btn {
  padding: 6px 10px;
  border: 1px solid #dcdcde;
  background: #f6f7f7;
  border-radius: 6px;
  cursor: pointer;
}
.ezp-btn:hover { background: #eef0f2; }

.ezp-page, .ezp-zoom-level { font-size: 14px; color: #222; }

.ezp-pdf-canvas-wrap {
  width: 100%;
  position: relative;
  overflow: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fafafa;
  padding: 10px;
}

.ezp-pdf-canvas {
  display: block;
  margin: 0 auto;
  background: #fff;
}


.ezp-pdfjs-viewer,
.ezp-pdfjs-viewer *{
  transform: none !important;
}

.ezp-pdfjs-viewer canvas.ezp-pdf-canvas{
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  image-rendering: auto !important;
}


.ezp-pdf-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #555;
  background: rgba(250, 250, 250, 0.85);
}

.ezp-pdf-error-msg,
.ezp-pdf-error { color: #b32d2e; }