/* ──────────────────────────────────────────────────────────
   Computer Care — Business Case Bridge
   Floating nudge that appears on widget pages after a
   visitor adds an assessment to their business case.
   ────────────────────────────────────────────────────────── */

.ccbc-nudge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 18px 18px 16px;
  background: #ffffff;
  color: #12102a;
  border-radius: 14px;
  border: 1px solid #e6e3f1;
  box-shadow: 0 18px 48px rgba(29, 25, 60, 0.18);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  z-index: 99998;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}
.ccbc-nudge.ccbc-nudge-in { opacity: 1; transform: translateY(0); }

.ccbc-nudge-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #6e6a88;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}
.ccbc-nudge-x:hover { background: #f6f4fb; color: #12102a; }

.ccbc-nudge-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6b4b95;
  margin: 2px 0 6px;
}

.ccbc-nudge-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 22px 6px 0;
  color: #12102a;
}

.ccbc-nudge-sub {
  font-size: 13.5px;
  line-height: 1.5;
  color: #36334e;
  margin: 0 0 14px;
}

.ccbc-nudge-btn {
  display: block;
  width: 100%;
  padding: 11px 14px;
  margin-top: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.ccbc-nudge-btn:hover { transform: translateY(-1px); }
.ccbc-nudge-btn:disabled { opacity: .65; cursor: progress; transform: none; }

.ccbc-nudge-primary {
  background: #89bd23;
  color: #12102a;
  box-shadow: 0 4px 14px rgba(137, 189, 35, .35);
}
.ccbc-nudge-primary:hover { background: #7aa61e; }

.ccbc-nudge-secondary {
  background: #f6f4fb;
  color: #6b4b95;
}
.ccbc-nudge-secondary:hover { background: #ebe6f5; }

.ccbc-nudge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 10px;
}
.ccbc-nudge-link {
  display: block;
  padding: 10px 12px;
  background: #f6f4fb;
  border-radius: 9px;
  text-decoration: none;
  color: #12102a;
  transition: background .15s ease;
}
.ccbc-nudge-link strong { display: block; font-size: 14px; font-weight: 700; }
.ccbc-nudge-link span   { display: block; font-size: 12.5px; color: #6e6a88; margin-top: 1px; }
.ccbc-nudge-link:hover  { background: #ebe6f5; }

@media (max-width: 480px) {
  .ccbc-nudge { right: 12px; bottom: 12px; left: 12px; width: auto; }
}
