/* Shared layout for public and member PDF embeds. */
.eck-pdf {
  box-sizing: border-box;
  width: calc(100% - 2rem);
  max-width: 1120px;
  margin: clamp(1.25rem, 3vw, 2rem) auto;
}

.eck-pdf .eck-pdf-title {
  margin: 0 0 .5rem;
  padding: 0;
  font-size: 1.125rem;
  line-height: 1.4;
}

.eck-pdf .eck-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
}

.eck-pdf .eck-pdf-actions a {
  color: #113d70;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.eck-pdf-document {
  overflow: hidden;
  border: 1px solid #d9e0e9;
  border-radius: 6px;
  background: #f6f8fb;
}

.eck-pdf-document canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.eck-pdf-status {
  margin: 0;
  padding: 1rem;
}

.eck-pdf-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  padding: .65rem;
}

.eck-pdf-navigation button {
  font: inherit;
  padding: .3rem .65rem;
  border: 1px solid #113d70;
  border-radius: 4px;
  color: #113d70;
  background: #fff;
  cursor: pointer;
}

.eck-pdf-navigation button:disabled {
  opacity: .5;
  cursor: default;
}

.eck-pdf-document [hidden] {
  display: none;
}
