.static-certificate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(28, 39, 35, 0.82);
  backdrop-filter: blur(8px);
}

.static-certificate-modal[hidden] {
  display: none;
}

.static-certificate-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px;
  overflow: auto;
  border-radius: 28px;
  background: #f7f6f1;
  box-shadow: 0 28px 90px rgba(18, 37, 30, 0.34);
}

.static-certificate-dialog img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.static-certificate-close {
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  margin: 0 0 12px auto;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #466f60;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

body.static-modal-open {
  overflow: hidden;
}
