/* Premium plan locking */
.nav button.plan-locked {
  opacity: .82;
}
.nav button.plan-locked:hover {
  background: rgba(37, 99, 235, .12);
  color: inherit;
}
.nav button.plan-locked .nav-icon {
  opacity: .75;
}

.paid-feature-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(3px);
}
.paid-feature-modal.hidden { display: none; }
.paid-feature-modal-box {
  position: relative;
  width: min(440px, 100%);
  padding: 30px 26px 26px;
  text-align: center;
  background: #fff;
  color: #172033;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .24);
}
.paid-feature-lock {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  font-size: 28px;
}
.paid-feature-modal-box h2 { margin: 0 0 10px; font-size: 22px; }
.paid-feature-modal-box p { margin: 0 0 20px; line-height: 1.55; color: #64748b; }
.paid-feature-close {
  position: absolute;
  top: 9px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
body.theme-dark .paid-feature-modal-box,
body.theme-midnight .paid-feature-modal-box {
  background: #111827;
  color: #e5e7eb;
  border-color: #263244;
}
body.theme-dark .paid-feature-modal-box p,
body.theme-midnight .paid-feature-modal-box p { color: #94a3b8; }
