.chart-blur {
  filter: blur(12px);
  pointer-events: none;
  user-select: none;
  position: relative;
  min-height: 300px;
}

.upgrade-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
  pointer-events: auto;
  cursor: pointer;
}

.upgrade-overlay img {
  width: 40px;
  height: 40px;
}

.upgrade-overlay:hover img {
  filter: brightness(1.2);
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

.chart-blur::after {
  content: "Upgrade to Plus or Pro to view this chart";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  z-index: 2;
  text-align: center;
  white-space: nowrap;
}

.gated-feature {
    opacity: 0.5;
    pointer-events: auto;
    position: relative;
    color: #999;
    cursor: not-allowed;
  }

  .gated-feature.disabled {
    opacity: 0.5;
    color: #999;
  }

  .gated-feature.has-tooltip {
    border-style: dashed;
  }

  body[data-dashboard-theme="executive-navy"] .gated-feature {
    color: #a7b8ca;
  }

  .gated-feature .tooltip {
    visibility: hidden;
    opacity: 1;
    background-color: #333;
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 8px;
    border-radius: 6px;
    position: absolute;
    bottom: -28px;
    left: 0;
    white-space: nowrap;
    z-index: 9999;
    transition: none;
    pointer-events: none;
  }

  .gated-feature:hover .tooltip {
    visibility: visible;
    opacity: 1;
  }

