/* Cookie consent — sağ alt, XP pill'in üstünde */
#px-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  max-width: min(92vw, 380px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

#px-cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#px-cookie-banner[hidden] {
  display: none !important;
}

.px-cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(9, 9, 13, 0.96);
  border: 1px solid rgba(232, 49, 42, 0.55);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.px-cookie-banner__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.px-cookie-banner__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

#px-cookie-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.px-cookie-banner__actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

#px-cookie-accept,
#px-cookie-decline {
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

#px-cookie-accept {
  background: #e8312a;
  color: #fff;
}

#px-cookie-accept:hover {
  background: #cf2b24;
}

#px-cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

#px-cookie-decline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

html[dir="rtl"] #px-cookie-banner {
  left: 24px;
  right: auto;
}

html[dir="rtl"] .px-cookie-banner__row {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] #px-cookie-text {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .px-cookie-banner__actions {
  justify-content: flex-start;
}

@media (max-width: 767px) {
  #px-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
