/* WP-AllBackup cookie bar. Loaded with consent.js.
   One palette on purpose: the bar looks the same on the dark front page and on
   the light legal pages, so nothing has to be re-checked per page. */
.wpab-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;                       /* over the header's 100 and its backdrop's 99 */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 15px clamp(16px, 4vw, 34px);
  background: #0C1513;
  color: #D7E4E0;
  border-top: 2px solid #17A88F;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, sans-serif;
  box-shadow: 0 -14px 34px -22px rgba(0, 0, 0, .8);
  transform: translateY(100%);
  transition: transform .28s ease;
}
.wpab-cookie.is-in { transform: translateY(0); }

.wpab-cookie-text {
  margin: 0;
  flex: 1 1 320px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.55;
}
.wpab-cookie-text b { color: #fff; font-weight: 600; }
.wpab-cookie-text a { color: #63D6C5; }

.wpab-cookie-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: auto;
}

/* Decline and Accept are the same size and the same one click. */
.wpab-cookie-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 640;
  border-radius: 8px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.wpab-cookie-btn:hover { transform: translateY(-1px); }
.wpab-cookie-btn.is-yes { background: #17A88F; color: #04201B; }
.wpab-cookie-btn.is-no  { background: transparent; color: #D7E4E0; border-color: #2E403B; }
.wpab-cookie-btn.is-no:hover { border-color: #4A625B; }
.wpab-cookie-btn:focus-visible { outline: 2px solid #63D6C5; outline-offset: 2px; }

@media (max-width: 560px) {
  .wpab-cookie { padding: 12px 16px; gap: 10px 14px; }
  .wpab-cookie-text { font-size: 13px; flex-basis: 100%; }
  .wpab-cookie-acts { margin-left: 0; width: 100%; }
  .wpab-cookie-btn { flex: 1 1 auto; padding: 9px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .wpab-cookie { transition: none; }
  .wpab-cookie-btn:hover { transform: none; }
}
@media print { .wpab-cookie { display: none; } }
