/* Cerez rizasi: sayfanin altindan kayarak gelen ince, tam genislik bar.
   Icerigi kapatmamasi icin bar gorunurken body'ye barin yuksekligi kadar
   alt bosluk verilir (linkedin-insight.js olcup uygular). */
.privacy-consent {
  position: fixed;
  z-index: 1000;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 28px;
  padding: 12px clamp(16px, 4vw, 40px);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #d4dde1;
  background: #ffffff;
  color: #17242a;
  box-shadow: 0 -10px 30px rgba(20, 42, 52, 0.12);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  transform: translateY(100%);
  transition: transform 260ms ease-out;
}

.privacy-consent--visible {
  transform: translateY(0);
}

.privacy-consent[hidden] {
  display: none;
}

.privacy-consent__text {
  flex: 1 1 420px;
  max-width: 820px;
  margin: 0;
  font-size: 0.9rem;
}

.privacy-consent__text a {
  color: #147d93;
  font-weight: 700;
  white-space: nowrap;
}

.privacy-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.privacy-consent__button {
  min-height: 36px;
  padding: 6px 16px;
  border: 1px solid #147d93;
  border-radius: 6px;
  background: #ffffff;
  color: #126d80;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.privacy-consent__button:hover,
.privacy-consent__button:focus-visible {
  background: #eef8fa;
}

.privacy-consent__button--accept {
  background: #147d93;
  color: #ffffff;
}

.privacy-consent__button--accept:hover,
.privacy-consent__button--accept:focus-visible {
  background: #0f6779;
}

.privacy-preferences {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

@media (max-width: 600px) {
  .privacy-consent {
    gap: 10px;
    padding: 12px 14px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .privacy-consent__text {
    flex-basis: 100%;
    font-size: 0.86rem;
  }

  .privacy-consent__actions {
    width: 100%;
  }

  .privacy-consent__button {
    flex: 1 1 0;
    min-height: 40px;
  }
}
