/* ==========================================================================
   CT — privola za kolačiće (bozoou/js/ct_consent.js)
   Normativ ui--privola-za-kolacice: desktop = pop-up dolje desno, mobitel
   (≤ 768px) = fiksna traka na dnu. Bez overlaya.
   z-index iznad sadržaja i headera, ispod vue dijaloga.
   ========================================================================== */
.ct-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  width: 380px;
  max-width: calc(100vw - 40px);
  padding: 16px 18px;
  border: 1px solid var(--ct-line, #e3e8ec);
  border-radius: 14px;
  background: #fff;
  color: var(--ct-text, #1d2b36);
  box-shadow: 0 14px 40px rgba(11, 42, 63, .22);
  font-family: var(--ct-font, Lato, Helvetica, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.ct-consent[hidden] { display: none; }

.ct-consent__text { margin: 0 0 14px; color: var(--ct-muted, #5d6d7a); }
.ct-consent__text a { color: var(--ct-sea, #0a6e93); text-decoration: underline; }

.ct-consent__btns { display: flex; gap: 10px; }

.ct-consent__btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.ct-consent__btn--yes { border: 1px solid var(--ct-coral, #f2543d); background: var(--ct-coral, #f2543d); color: #fff; }
.ct-consent__btn--yes:hover { background: var(--ct-coral-dark, #d9402a); border-color: var(--ct-coral-dark, #d9402a); }
.ct-consent__btn--no  { border: 1px solid var(--ct-line, #e3e8ec); background: #fff; color: var(--ct-text, #1d2b36); }
.ct-consent__btn--no:hover { border-color: var(--ct-muted, #5d6d7a); }
.ct-consent__btn:focus-visible { outline: 2px solid var(--ct-sea, #0a6e93); outline-offset: 2px; }

@media (max-width: 768px) {
  .ct-consent {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    border-radius: 0;
    border-width: 1px 0 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .ct-consent__text { margin-bottom: 10px; font-size: 13px; }
}
