/* Banner de acord cookie - vezi includes/cookie_consent.php */
.sf-cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
  background: #252e39; color: #fff;
  font: 400 14px/1.45 'Montserrat', Arial, Helvetica, sans-serif;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, .35);
  max-height: 100vh; overflow-y: auto; box-sizing: border-box;
}
.sf-cookie *, .sf-cookie *::before, .sf-cookie *::after { box-sizing: border-box; }
.sf-cookie-in {
  max-width: 1170px; margin: 0 auto; padding: 14px 16px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
}
.sf-cookie-text { flex: 1 1 420px; min-width: 0; }
.sf-cookie-text strong { display: block; font-size: 15px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.sf-cookie-text p { margin: 0; padding: 0; color: #e3e7ec; font-size: 13px; line-height: 1.45; }
.sf-cookie a { color: #ffc526; text-decoration: underline; }
.sf-cookie-set { flex: 1 1 100%; order: 3; display: grid; gap: 8px; padding: 10px 0 2px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sf-cookie-set[hidden], .sf-cookie-btn[hidden] { display: none !important; }
.sf-cookie-row { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 13px; color: #e3e7ec; cursor: pointer; float: none; width: auto; }
.sf-cookie-row input {
  flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; padding: 0;
  appearance: auto; -webkit-appearance: checkbox; accent-color: #14a7d0; position: static; opacity: 1; display: inline-block;
}
.sf-cookie-row b { color: #fff; font-weight: 600; }
.sf-cookie-btns { flex: 0 0 auto; display: flex; flex-wrap: wrap; gap: 8px; order: 2; }
.sf-cookie-btn {
  min-height: 42px; padding: 0 18px; margin: 0;
  border: 2px solid #14a7d0; border-radius: 5px;
  background: #14a7d0; color: #fff; cursor: pointer;
  font: 600 14px/1 'Montserrat', Arial, Helvetica, sans-serif; white-space: nowrap;
  width: auto; float: none; text-transform: none;
}
.sf-cookie-btn:hover { background: #0f8fb3; border-color: #0f8fb3; }
.sf-cookie-btn.sf-cookie-ghost { background: transparent; border-color: rgba(255, 255, 255, .55); }
.sf-cookie-btn.sf-cookie-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.sf-cookie-btn:focus-visible, .sf-cookie a:focus-visible, .sf-cookie-row input:focus-visible { outline: 3px solid #ffc526; outline-offset: 2px; }

@media (max-width: 767px) {
  .sf-cookie-in { padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .sf-cookie-text { flex-basis: 100%; }
  .sf-cookie-text p { font-size: 12.5px; }
  .sf-cookie-btns { flex: 1 1 100%; order: 4; }
  .sf-cookie-btn { flex: 1 1 0; padding: 0 8px; min-height: 44px; font-size: 13px; }
}
@media print { .sf-cookie { display: none; } }
