.ack-note {
  font-size: 0.95rem;
}

.modal-backdrop-custom {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0, 0, 0, 0.55);
  padding: 1rem;
  overflow: auto;
}

.modal-backdrop-custom.is-open {
  display: block;
}

.terms-modal {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.terms-modal-header,
.terms-modal-footer {
  background: #fff;
  padding: 1rem 1.25rem;
  border-color: #dee2e6;
}

.terms-modal-header {
  border-bottom: 1px solid #dee2e6;
}

.terms-modal-footer {
  border-top: 1px solid #dee2e6;
}

.terms-modal-body {
  padding: 0;
}

.terms-scroll-region {
  height: 70vh;
  min-height: 420px;
  overflow-y: auto;
  background: #e9ecef;
  padding: 1rem;
  scroll-behavior: smooth;
}

.pdf-page {
  background: #fff;
  margin: 0 auto 1rem;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

.pdf-page:last-child {
  margin-bottom: 0;
}

.pdf-page canvas {
  width: 100%;
  height: auto;
  display: block;
}

.page-label {
  text-align: center;
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.ack-button-wrap {
  display: none;
}

.ack-button-wrap.is-visible {
  display: flex;
}

.loading-box,
.error-box {
  max-width: 760px;
  margin: 0 auto;
}

/* Used to display a warning for browsers that do not support JavaScript modules.*/
.browser-warning {
  display: none;
}

.no-module .browser-warning {
  display: block;
}