.wua-viewer-access[hidden],
.wua-viewer-access [hidden] {
  display: none;
}

.wua-viewer-access {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.wua-viewer-access__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 18, 31, 0.66);
  backdrop-filter: blur(3px);
}

.wua-viewer-access__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: clamp(28px, 5vw, 44px);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(12, 18, 31, 0.28);
  color: #172033;
  text-align: center;
}

.wua-viewer-access__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6878;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.wua-viewer-access__close:hover,
.wua-viewer-access__close:focus-visible {
  background: #f0f3f8;
  color: #172033;
}

.wua-viewer-access__eyebrow {
  margin: 0 0 10px;
  color: #29773d;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.wua-viewer-access__dialog h2 {
  margin: 0 0 14px;
  color: #172033;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.15;
}

.wua-viewer-access__dialog p:not(.wua-viewer-access__eyebrow) {
  margin: 0;
  color: #5f6878;
  font-size: 16px;
  line-height: 1.6;
}

.wua-viewer-access__actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.wua-viewer-access__primary,
.wua-viewer-access__secondary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 11px 20px;
  border: 2px solid #29773d;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.wua-viewer-access__primary {
  background: #29773d;
  color: #fff;
}

.wua-viewer-access__secondary {
  background: #fff;
  color: #29773d;
}

.wua-viewer-access__primary:hover,
.wua-viewer-access__primary:focus-visible {
  background: #29773d;
  border-color: #29773d;
  color: #fff;
}

.wua-viewer-access__secondary:hover,
.wua-viewer-access__secondary:focus-visible {
  background: #f0f3e9;
  color: #29773d;
}

body.wua-viewer-access-open {
  overflow: hidden;
}
