/* ===============================
   Feature Permission – Global Lock
   =============================== */

.fp-target.fp-locked {
  position: relative;
}

.fp-target.fp-locked * {
  pointer-events: none !important;
  user-select: none;
}

.fp-target.fp-locked > * {
  filter: blur(2px);
  opacity: 0.15;
}

.fp-target.fp-locked::after {
  content: "🔒 Subscribe to access";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  background: rgba(255,255,255,0.7);
  border: 1px dashed rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 9999;
  pointer-events: auto;
}






/* Quota wrapper tooltip */
.quota-box {
  position: relative;
}

.quota-box::after {
  content: attr(data-quota-tooltip);
  position: absolute;
  left: 0;
  top: 110%;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 9999;
}

.quota-box:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* When quota reached: grey all actions inside box */
.quota-btn.quota-reached,
.quota-box .quota-reached {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* Disable <a> clicking */
a.is-disabled {
  pointer-events: none;
}
