/* ============================================================
   NIC Cookie Diet
   Primary: #4ba5f8 · Secondary: light grey
============================================================ */
.ncd-banner{
  --ncd-primary:#4ba5f8;
  --ncd-primary-dark:#2f8fe8;
  --ncd-text:#2c3440;
  --ncd-text-soft:#6b7480;
  --ncd-grey:#eef1f5;
  --ncd-grey-dark:#e1e6ed;
  --ncd-border:#e6eaf0;
  --ncd-card:#ffffff;

  position:fixed;
  left:24px;
  bottom:24px;
  z-index:9999;
  width:380px;
  max-width:calc(100vw - 48px);
  background:var(--ncd-card);
  border:1px solid var(--ncd-border);
  border-radius:14px;
  box-shadow:0 12px 40px rgba(31,45,61,.16), 0 2px 8px rgba(31,45,61,.06);
  padding:22px 22px 18px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ncd-text);
  opacity:0;
  transform:translateY(16px);
  transition:opacity .35s ease, transform .35s ease;
}
.ncd-banner.ncd-visible{ opacity:1; transform:translateY(0); }

/* ---- Header ---- */
.ncd-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.ncd-icon{
  flex:0 0 auto;
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(75,165,248,.12);
  border-radius:9px;
  color:var(--ncd-primary);
}
.ncd-icon svg{ width:18px;height:18px; display:block; }
.ncd-title{
  font-size:15px;
  font-weight:650;
  letter-spacing:-.01em;
  margin:0;
  padding:0;
}

/* ---- Body copy ---- */
.ncd-text{
  font-size:13.5px;
  line-height:1.55;
  color:var(--ncd-text-soft);
  margin:0 0 18px;
}
.ncd-text a{
  color:var(--ncd-primary);
  font-weight:550;
  text-decoration:none;
  border-bottom:1px solid rgba(75,165,248,.35);
  transition:border-color .2s ease;
}
.ncd-text a:hover{ border-bottom-color:var(--ncd-primary); }

/* ---- Actions ---- */
.ncd-actions{
  display:flex;
  gap:8px;
  align-items:center;
}
.ncd-btn{
  flex:1;
  appearance:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  font-size:13px;
  font-weight:600;
  line-height:1.2;
  padding:10px 12px;
  border-radius:9px;
  transition:background .2s ease, color .2s ease, transform .05s ease;
  white-space:nowrap;
}
.ncd-btn:active{ transform:translateY(1px); }
.ncd-btn:focus-visible{ outline:2px solid var(--ncd-primary); outline-offset:2px; }
.ncd-btn[disabled]{ opacity:.6; cursor:default; }

.ncd-btn--reject{ background:var(--ncd-grey); color:var(--ncd-text); }
.ncd-btn--reject:hover{ background:var(--ncd-grey-dark); }

.ncd-btn--close{
  flex:0 0 auto;
  background:transparent;
  color:var(--ncd-text-soft);
  padding:10px 14px;
}
.ncd-btn--close:hover{ background:var(--ncd-grey); color:var(--ncd-text); }

.ncd-btn--accept{ background:var(--ncd-primary); color:#fff; }
.ncd-btn--accept:hover{ background:var(--ncd-primary-dark); }

/* ---- Mobile: stack the actions ---- */
@media (max-width:480px){
  .ncd-banner{ left:16px; right:16px; bottom:16px; width:auto; }
  .ncd-actions{ flex-wrap:wrap; }
  .ncd-btn--reject,.ncd-btn--accept{ flex:1 1 calc(50% - 4px); }
  .ncd-btn--close{ flex:1 1 100%; order:3; }
}

@media (prefers-reduced-motion:reduce){
  .ncd-banner{ transition:opacity .2s ease; transform:none; }
  .ncd-banner.ncd-visible{ transform:none; }
}
