html.poh-lock-open,
body.poh-lock-open {
  overflow: hidden;
}

.poh-lock-modal[hidden] {
  display: none !important;
}

.poh-lock-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.poh-lock-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.poh-lock-modal__dialog {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(92vw, 560px);
  margin: 8vh auto 0;
  background: #ffffff;
  color: #1f2937;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  padding: 28px 24px 24px;
  line-height: 1.6;
}

.poh-lock-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b5563;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.poh-lock-modal__close:hover,
.poh-lock-modal__close:focus {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.poh-lock-modal__title {
  margin: 0 32px 10px 0;
  font-size: 28px;
  line-height: 1.25;
}

.poh-lock-modal__message {
  margin: 0 0 18px;
  font-size: 17px;
}

.poh-lock-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #111827;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.poh-lock-modal__button:hover,
.poh-lock-modal__button:focus {
  background: #000000;
  outline: none;
}

@media (max-width: 640px) {
  .poh-lock-modal__dialog {
    margin-top: 6vh;
    padding: 24px 18px 20px;
    border-radius: 14px;
  }

  .poh-lock-modal__title {
    font-size: 24px;
  }

  .poh-lock-modal__message {
    font-size: 16px;
  }
}
