.rustic-pdf-viewer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.rustic-pdf-error {
  padding: 16px;
  width: fit-content;
}

.rustic-pdf-viewer .rustic-pdf-viewer-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.rustic-pdf-viewer .rustic-pdf-canvas {
  flex: 1;
}

.rustic-pdf-viewer .rustic-pdf-page-input > div {
  height: 24px;
  width: 56px;
}

.rustic-pdf-viewer .rustic-pdf-page-input input {
  text-align: center;
}

.rustic-pdf-viewer
  .rustic-pdf-page-input
  input[type='number']::-webkit-inner-spin-button {
  display: none;
}

.rustic-pdf-viewer .rustic-page-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rustic-pdf-viewer-body {
  flex: 1;
  display: flex;
  justify-content: center;
  overflow: auto;
}

.rustic-pdf-viewer-body-inner {
  overflow: auto;
  width: fit-content;
}
