/* ==========================================================================
   Panteq Consent Banner — ported from the landing-page-builder React
   component. RTL, Hebrew. Brand color via --pq-cc-brand.
   ========================================================================== */

.lpb-cc {
  position: fixed;
  bottom: 16px;
  inset-inline: 16px;
  z-index: 95;
  display: flex;
  justify-content: center;
  pointer-events: none;
  direction: rtl;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.lpb-cc[hidden] { display: none; }

.lpb-cc-card {
  pointer-events: auto;
  background: #fff;
  color: #0B1B33;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 640px;
  width: 100%;
  font-size: 14px;
  line-height: 1.45;
}
.lpb-cc-card--wide { flex-direction: column; align-items: stretch; max-width: 440px; gap: 14px; }

.lpb-cc-head { display: flex; justify-content: space-between; align-items: center; }
.lpb-cc-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.lpb-cc-x {
  width: 28px; height: 28px; border-radius: 999px; border: 0;
  background: rgba(11, 27, 51, 0.06); color: #0B1B33; font-size: 18px; line-height: 1; cursor: pointer;
}
.lpb-cc-x:hover { background: rgba(11, 27, 51, 0.12); }

.lpb-cc-body { margin: 0; flex: 1; min-width: 220px; color: #0B1B33; }
.lpb-cc-link { color: #0B1B33; text-decoration: underline; text-underline-offset: 3px; }
.lpb-cc-link:hover { color: var(--pq-cc-brand, #023373); }

.lpb-cc-category {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 6px; border-top: 1px solid rgba(11, 27, 51, 0.1);
}
.lpb-cc-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.lpb-cc-check--locked { opacity: 0.7; cursor: default; }
.lpb-cc-check input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--pq-cc-brand, #023373); cursor: pointer; margin-top: 2px;
}
.lpb-cc-check--locked input[type="checkbox"] { cursor: default; }
.lpb-cc-check span { display: grid; gap: 2px; }
.lpb-cc-check strong { font-size: 14px; font-weight: 700; }
.lpb-cc-check small { font-size: 12px; color: rgba(11, 27, 51, 0.65); line-height: 1.4; }

.lpb-cc-actions { display: inline-flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.lpb-cc-btn {
  border: 0; border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; font-family: inherit;
}
.lpb-cc-btn--primary { background: var(--pq-cc-brand, #023373); color: #fff; }
.lpb-cc-btn--primary:hover { transform: scale(1.03); }
.lpb-cc-btn--ghost { background: rgba(11, 27, 51, 0.06); color: #0B1B33; }
.lpb-cc-btn--ghost:hover { background: rgba(11, 27, 51, 0.12); }
.lpb-cc-btn--link {
  background: transparent; color: #0B1B33; text-decoration: underline; text-underline-offset: 3px; padding: 9px 8px;
}

@media (max-width: 520px) {
  .lpb-cc-card { padding: 14px; font-size: 13.5px; }
  .lpb-cc-actions { width: 100%; justify-content: flex-start; }
}
