/* DigiLovePays feedback widget — Plum #4B1D6B, Coral #FF6B5B, Gold #F5B83D, Cream #FFF8F1, Charcoal #2B2B33 */
.dlp-fb-btn{
  position:fixed; right:14px; bottom:18px; z-index:1035;
  width:auto; height:auto; border:0; border-radius:12px; background:transparent;
  padding:0; cursor:pointer; line-height:0;
  -webkit-tap-highlight-color:transparent;
  transform:rotate(-4deg);
  filter:drop-shadow(0 8px 16px rgba(75,29,107,.38));
  transition:transform .18s ease, filter .18s ease;
}
.dlp-fb-btn:hover, .dlp-fb-btn:focus-visible{
  transform:rotate(-4deg) translateY(-4px);
  filter:drop-shadow(0 12px 20px rgba(255,107,91,.42));
  outline:none;
}
.dlp-fb-btn:focus-visible{
  outline:3px solid #F5B83D;
  outline-offset:4px;
}
.dlp-fb-btn:active{ transform:rotate(-4deg) translateY(-1px) scale(.98); }
.dlp-fb-btn__ticket{
  position:relative; display:block; width:148px; height:52px;
}
.dlp-fb-btn__ticket svg{ display:block; width:100%; height:100%; overflow:visible; }
.dlp-fb-btn__label{
  position:absolute; left:40px; right:10px; top:0; bottom:0;
  display:flex; align-items:center; justify-content:center;
  color:#FFF8F1; font:700 15px/1 Poppins,system-ui,-apple-system,Segoe UI,sans-serif;
  letter-spacing:.01em; white-space:nowrap; pointer-events:none;
}
.dlp-fb-btn:hover .dlp-fb-ticket-body,
.dlp-fb-btn:focus-visible .dlp-fb-ticket-body{ fill:#FF6B5B; }
@media (max-width: 640px){
  .dlp-fb-btn{ right:10px; }
  .dlp-fb-btn__ticket{ width:128px; height:46px; }
  .dlp-fb-btn__label{ left:34px; right:8px; font-size:14px; }
}
@media (prefers-reduced-motion: reduce){
  .dlp-fb-btn, .dlp-fb-btn:hover, .dlp-fb-btn:focus-visible, .dlp-fb-btn:active{
    transition:none; transform:rotate(-4deg);
  }
}

/* Sit above the member portal's bottom tab bar */
.dlp-fb-btn--tabs, body:has(.drp-tabs) .dlp-fb-btn{
  bottom:84px;
}
@media (min-width: 901px){
  .dlp-fb-btn--tabs, body:has(.drp-tabs) .dlp-fb-btn{ bottom:22px; }
}
/* Sit above the public sticky Join CTA (mobile only, when it is showing) */
@media (max-width: 640px){
  body:has(.sticky-cta.show) .dlp-fb-btn,
  body:has(#stickyCta.show) .dlp-fb-btn{
    bottom:max(100px, calc(env(safe-area-inset-bottom) + 88px));
  }
}
@supports (bottom: max(18px, env(safe-area-inset-bottom))){
  .dlp-fb-btn{ bottom:max(18px, env(safe-area-inset-bottom)); }
  .dlp-fb-btn--tabs, body:has(.drp-tabs) .dlp-fb-btn{ bottom:max(84px, calc(env(safe-area-inset-bottom) + 72px)); }
  @media (min-width: 901px){
    .dlp-fb-btn--tabs, body:has(.drp-tabs) .dlp-fb-btn{ bottom:max(22px, env(safe-area-inset-bottom)); }
  }
  @media (max-width: 640px){
    body:has(.sticky-cta.show) .dlp-fb-btn,
    body:has(#stickyCta.show) .dlp-fb-btn{
      bottom:max(100px, calc(env(safe-area-inset-bottom) + 88px));
    }
  }
}

.dlp-fb-scrim{
  position:fixed; inset:0; z-index:1048; background:rgba(43,43,51,.42);
}
.dlp-fb-panel{
  position:fixed; z-index:1049; right:16px; bottom:16px;
  width:min(420px, calc(100vw - 24px));
  max-height:min(88vh, 720px);
  overflow:auto;
  background:#FFF8F1; color:#2B2B33;
  border-radius:20px;
  box-shadow:0 18px 50px rgba(43,43,51,.28);
  font-family:Poppins, system-ui, -apple-system, Segoe UI, sans-serif;
}
.dlp-fb-btn--tabs + .dlp-fb-scrim + .dlp-fb-panel,
body:has(.drp-tabs) .dlp-fb-panel{ bottom:86px; }
@media (min-width: 901px){
  .dlp-fb-btn--tabs + .dlp-fb-scrim + .dlp-fb-panel,
  body:has(.drp-tabs) .dlp-fb-panel{ bottom:20px; }
}
@media (max-width: 560px){
  .dlp-fb-panel{
    right:0; left:0; bottom:0; width:100%;
    border-radius:20px 20px 0 0;
    max-height:92vh;
  }
  .dlp-fb-btn--tabs + .dlp-fb-scrim + .dlp-fb-panel,
  body:has(.drp-tabs) .dlp-fb-panel{ bottom:0; }
}

.dlp-fb-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:18px 18px 8px; }
.dlp-fb-kicker{ margin:0; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#4B1D6B; font-weight:600; }
.dlp-fb-head h2{ margin:2px 0 0; font-size:20px; color:#4B1D6B; font-weight:700; }
.dlp-fb-close{
  width:36px; height:36px; border:0; background:transparent; color:#2B2B33;
  font-size:28px; line-height:1; cursor:pointer; border-radius:8px;
}
.dlp-fb-close:hover, .dlp-fb-close:focus-visible{ background:#f3e6d8; outline:none; }
.dlp-fb-tabs{ display:flex; gap:6px; padding:0 16px 8px; }
.dlp-fb-tabs button{
  flex:1; border:0; background:#f3e6d8; color:#2B2B33; border-radius:999px;
  padding:8px 6px; font:600 13px/1.2 Poppins,system-ui,sans-serif; cursor:pointer;
}
.dlp-fb-tabs button[aria-selected="true"][data-tab="problem"]{ background:#FF6B5B; color:#fff; }
.dlp-fb-tabs button[aria-selected="true"][data-tab="idea"]{ background:#F5B83D; color:#2B2B33; }
.dlp-fb-tabs button[aria-selected="true"][data-tab="love"]{ background:#4B1D6B; color:#fff; }
.dlp-fb-pane{ padding:8px 18px 0; }
.dlp-fb-label{ display:block; font-size:13px; font-weight:600; margin:0 0 6px; }
.dlp-fb-label .req{ color:#FF6B5B; font-weight:600; font-size:11px; margin-left:4px; }
.dlp-fb-label .opt{ color:#5F5766; font-weight:500; font-size:11px; margin-left:4px; }
.dlp-fb-pane textarea{
  width:100%; box-sizing:border-box; border:1px solid #e2d4c6; border-radius:12px;
  padding:10px 12px; font:15px/1.45 Poppins,system-ui,sans-serif; color:#2B2B33;
  background:#fff; resize:vertical; min-height:84px;
}
.dlp-fb-pane textarea:focus{ outline:2px solid #4B1D6B; border-color:#4B1D6B; }
.dlp-fb-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 12px; }
.dlp-fb-chip{
  border:1px solid #4B1D6B; background:#fff; color:#4B1D6B; border-radius:999px;
  padding:7px 12px; font:600 13px/1 Poppins,system-ui,sans-serif; cursor:pointer;
}
.dlp-fb-chip.is-on{ background:#4B1D6B; color:#FFF8F1; }
.dlp-fb-shot{ padding:12px 18px 0; }
.dlp-fb-shot__preview{ border-radius:12px; overflow:hidden; border:1px solid #e2d4c6; background:#fff; }
.dlp-fb-shot__preview img{ display:block; width:100%; height:auto; max-height:140px; object-fit:cover; object-position:top; }
.dlp-fb-shot__status{ margin:8px 0 0; font-size:12px; color:#5F5766; }
.dlp-fb-shot__actions{ display:flex; gap:14px; margin-top:6px; }
.dlp-fb-link{
  border:0; background:none; color:#4B1D6B; font:600 13px/1.2 Poppins,system-ui,sans-serif;
  cursor:pointer; padding:0; text-decoration:underline;
}
.dlp-fb-msg{ margin:10px 18px 0; padding:10px 12px; border-radius:10px; font-size:13px; }
.dlp-fb-msg.is-ok{ background:#e9f6ec; color:#1d5a2c; }
.dlp-fb-msg.is-err{ background:#fdecea; color:#8a1c14; }
.dlp-fb-foot{ padding:14px 18px 18px; }
.dlp-fb-submit{
  width:100%; border:0; border-radius:12px; background:#FF6B5B; color:#fff;
  font:700 16px/1.2 Poppins,system-ui,sans-serif; padding:12px 16px; cursor:pointer;
}
.dlp-fb-submit:hover, .dlp-fb-submit:focus-visible{ filter:brightness(1.05); outline:none; }
.dlp-fb-submit:disabled{ opacity:.6; cursor:wait; }
.dlp-fb-capturing .dlp-fb-btn, .dlp-fb-capturing .dlp-fb-panel, .dlp-fb-capturing .dlp-fb-scrim{ visibility:hidden !important; }

/* Keep page content clear of the floating ticket so row buttons (Edit / Pause / Delete) can always be scrolled out from under it */
body:has(#dlpFbBtn) .drp-main{ padding-bottom:96px; }
body:has(#dlpFbBtn.dlp-fb-btn--tabs):not(:has(.drp-main)){ padding-bottom:96px; }
@media (max-width: 900px){
  body:has(#dlpFbBtn) .drp-main{ padding-bottom:164px; }
  body:has(#dlpFbBtn.dlp-fb-btn--tabs):not(:has(.drp-main)){ padding-bottom:164px; }
}
/* Watch the tour (inside the Need Help? panel) */
.dlp-fb-tourrow{ padding:0 18px 10px; }
.dlp-fb-tourbtn{
  width:100%; border:1.5px solid #4B1D6B; background:#fff; color:#4B1D6B; border-radius:12px;
  padding:9px 12px; font:700 14px/1.2 Poppins,system-ui,sans-serif; cursor:pointer; text-align:center;
}
.dlp-fb-tourbtn span{ font-weight:500; color:#5F5766; }
.dlp-fb-tourbtn:hover,.dlp-fb-tourbtn:focus-visible{ background:#4B1D6B; color:#FFF8F1; outline:none; }
.dlp-fb-tourbtn:hover span,.dlp-fb-tourbtn:focus-visible span{ color:#F5B83D; }
