.jbs-dashboard-pro-notice {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease;
  isolation: isolate;

  .pro-image-wrap {
    position: relative;

    img {
      display: block;
      width: 100%;
      height: auto;
      border-radius: 12px;
      transition: transform 0.4s ease;
    }

    // overlay blur placed *under* badge
    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1;
      transition: opacity 0.3s ease;
    }

    .pro-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 14px;
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      color: #222;
      background: linear-gradient(135deg, #ffde4d, #ff9f00);
      border-radius: 999px;
      pointer-events: auto;
    }
  }

  &:focus-visible {
    outline: 2px solid #ffb100;
    outline-offset: 4px;
  }
}

// Pro Feature Lock — blurred section preview with a centered upgrade CTA.
// Used by templates/dashboard/template-part/pro-feature-lock.php to upsell
// Pro-only sections (Applications, Saved Candidates, Messages, …).
.jbs-dashboard-pro-lock {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  background: #f5f7fb;

  &__preview {
    filter: blur(8px) saturate(0.85);
    transform: scale(1.02); // hide blurred edge
    pointer-events: none;
    user-select: none;
    opacity: 0.85;
    // The preview is content rendered by the Pro template; we just need it
    // visually present, never interactive.
    > * {
      pointer-events: none !important;
    }
  }

  &__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(
      180deg,
      rgba(245, 247, 251, 0.65) 0%,
      rgba(245, 247, 251, 0.92) 60%,
      rgba(245, 247, 251, 0.98) 100%
    );
    z-index: 2;
  }

  &__card {
    width: 100%;
    max-width: 460px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 32px;
    box-shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
    position: relative;
  }

  &__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffde4d, #ff9f00);
    color: #1f2937;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(255, 159, 0, 0.35);
  }

  &__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1f2937;
    background: linear-gradient(135deg, #ffde4d, #ff9f00);
    border-radius: 999px;
  }

  &__title {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
  }

  &__desc {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
  }

  &__features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    text-align: left;
    display: inline-block;

    li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 13px;
      color: #374151;
      padding: 4px 0;

      i {
        color: #16a34a;
        margin-top: 2px;
      }
    }
  }

  &__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}