/* Minimal, theme-friendly: inherits font-family */
.pd-pg-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pd-pg-modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0,0,0,0.35);
  padding: 22px 22px 18px;
  font-family: inherit;
  color: #111;
}

.pd-pg-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 650;
}

.pd-pg-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 18px;
  font-size: 15px;
  line-height: 1.35;
}

.pd-pg-check input {
  margin-top: 3px;
  transform: scale(1.15);
}

.pd-pg-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-pg-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  background: #111;
  color: #fff;
}

.pd-pg-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pd-pg-home {
  text-align: center;
  font-size: 13px;
  opacity: 0.85;
  text-decoration: underline;
  cursor: pointer;
}

.pd-pg-home:focus,
.pd-pg-btn:focus {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
}

.pd-pg-modal {
  position: relative;
}

.pd-pg-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #111;
}

.pd-pg-close:focus {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
}
