/* Zabilo cookie notice card (ClickUp z8wrftfqq0), layout of Dan's mockup.
   Logical properties: one sheet for RTL (he) and LTR (en/fr). X is physically top right, as in the mockup. */
.zbcc {
  --zbcc-blue: #1f6feb;
  --zbcc-blue-d: #0b58c9;
  --zbcc-ink: #111827;
  --zbcc-text: #374151;
  --zbcc-line: #d1d5db;
  position: fixed;
  z-index: 4000; /* above the help FAB (90), below the help popup (5000) */
  bottom: 20px;
  left: 20px; /* bottom left in every language (user 2026-11-11) */
  width: 530px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  padding: 20px 22px 18px;
  background: #fff;
  color: var(--zbcc-ink);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(17, 24, 39, .18), 0 1px 3px rgba(17, 24, 39, .08);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  text-align: start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.zbcc[hidden] { display: none; }
.zbcc--in { opacity: 1; transform: none; }
.zbcc *, .zbcc *::before, .zbcc *::after { box-sizing: border-box; }

.zbcc-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--zbcc-ink);
  cursor: pointer;
  line-height: 0;
  z-index: 1;
}
.zbcc-x:hover { background: #f3f4f6; }
.zbcc-x svg { width: 18px; height: 18px; }

/* desktop: text on the reading side, logo + cookie on the other side */
.zbcc-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  column-gap: 16px;
  align-items: start;
}
.zbcc[dir="rtl"] .zbcc-main { padding-right: 26px; } /* X sits above the text column in RTL */
.zbcc[dir="ltr"] .zbcc-brand { padding-top: 22px; } /* X sits above the logo column in LTR */
.zbcc-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--zbcc-ink);
  text-transform: none;
  letter-spacing: 0;
}
.zbcc-desc { margin: 0; color: var(--zbcc-text); font-size: 15px; line-height: 1.5; }

.zbcc-brand {
  display: grid;
  grid-template-columns: 1px minmax(0, 1fr);
  grid-template-areas: "div logo" ". cookie";
  column-gap: 14px;
  row-gap: 8px;
  justify-items: center;
}
.zbcc-div { grid-area: div; width: 1px; height: 34px; background: var(--zbcc-line); }
.zbcc-logo { grid-area: logo; display: block; width: 108px; height: auto; max-width: 100%; }
.zbcc-cookie { grid-area: cookie; display: block; line-height: 0; }
.zbcc-cookie svg { width: 100px; height: 67px; }

.zbcc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 14px; }
.zbcc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.zbcc-btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.zbcc-primary { background: var(--zbcc-blue); border: 1px solid var(--zbcc-blue); color: #fff; }
.zbcc-primary:hover { background: var(--zbcc-blue-d); border-color: var(--zbcc-blue-d); color: #fff; }
.zbcc-outline { background: #fff; border: 1.5px solid var(--zbcc-ink); color: var(--zbcc-ink); }
.zbcc-outline:hover { background: #f9fafb; color: var(--zbcc-ink); text-decoration: none; }
.zbcc-more {
  margin-inline-start: auto;
  color: var(--zbcc-ink);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.zbcc-more:hover { color: var(--zbcc-blue); }
.zbcc :focus-visible { outline: 2px solid var(--zbcc-blue); outline-offset: 2px; }

/* mobile: centered card as in the mockup (logo | cookie on top, then text, 2 full width buttons, link) */
@media (max-width: 767px) {
  .zbcc {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 18px 16px 14px;
    text-align: center;
  }
  .zbcc-body { display: flex; flex-direction: column; }
  .zbcc-brand {
    order: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 30px 10px;
  }
  .zbcc[dir="ltr"] .zbcc-brand { padding-top: 0; }
  .zbcc[dir="rtl"] .zbcc-main { padding-right: 0; }
  .zbcc-cookie { order: 1; }
  .zbcc-div { order: 2; height: 40px; }
  .zbcc-logo { order: 3; width: 112px; }
  .zbcc-cookie svg { width: 84px; height: 56px; }
  .zbcc-title { font-size: 19px; margin-bottom: 6px; }
  .zbcc-desc { font-size: 14px; }
  .zbcc-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 12px; }
  .zbcc-btn { width: 100%; min-height: 44px; }
  .zbcc-more { margin: 2px auto 0; }
}

@media (prefers-reduced-motion: reduce) {
  .zbcc { transition: none; }
}
