/* NT Digital — הודעת עוגיות (Cookies) */

#nt-cookie-bar {
  position: fixed;
  inset-inline: 0;
  bottom: calc(var(--nt-bar-h, 58px) + var(--nt-bar-safe, 0px));
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.25rem;
  padding-bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(10, 12, 18, 0.97), rgba(6, 8, 14, 0.99));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  font-family: 'Heebo', system-ui, sans-serif;
  direction: rtl;
  color: #e8ecf4;
  box-sizing: border-box;
}

#nt-cookie-bar[hidden] {
  display: none !important;
}

#nt-cookie-bar p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 52rem;
  color: rgba(232, 236, 244, 0.88);
}

#nt-cookie-bar a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#nt-cookie-bar a:hover,
#nt-cookie-bar a:focus-visible {
  color: #bfdbfe;
}

#nt-cookie-accept {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#nt-cookie-accept:hover,
#nt-cookie-accept:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(59, 130, 246, 0.5);
  outline: none;
}

#nt-cookie-accept:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.45);
}

body:has(#nt-cookie-bar:not([hidden])) {
  padding-bottom: calc(
    var(--nt-bar-h, 58px) + var(--nt-bar-safe, 0px) + var(--nt-cookie-h, 72px) + 8px
  );
}

body:has(#nt-cookie-bar:not([hidden])) .call-float,
body:has(#nt-cookie-bar:not([hidden])) .wa-float {
  bottom: calc(var(--nt-bar-h, 58px) + var(--nt-bar-safe, 0px) + var(--nt-cookie-h, 72px) + 20px) !important;
}

@media (max-width: 640px) {
  #nt-cookie-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem 1rem 1.1rem;
  }

  #nt-cookie-accept {
    width: 100%;
  }
}
