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

.privacy-banner {
  position: fixed;
  z-index: 950;
  right: 50%;
  bottom: 22px;
  width: min(800px, calc(100vw - 32px));
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #666a67;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.35);
  color: #f7faf8;
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  transform: translateX(50%);
}

.privacy-banner__text {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.55;
}

.privacy-banner__text a {
  color: #8cecff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-banner__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.privacy-banner__accept,
.privacy-banner__reject {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 5px;
  cursor: pointer;
  font: 700 13px/1 Inter, Manrope, "Segoe UI", Arial, sans-serif;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.privacy-banner__accept {
  border: 1px solid #81ffa6;
  background: #81ffa6;
  color: #061008;
}

.privacy-banner__accept:hover {
  border-color: #b4ffc8;
  background: #b4ffc8;
}

.privacy-banner__reject {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
}

.privacy-banner__reject:hover {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

@media (max-width: 700px) {
  .privacy-banner {
    bottom: 10px;
    width: calc(100vw - 20px);
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .privacy-banner__actions {
    width: 100%;
  }

  .privacy-banner__accept {
    flex: 1;
  }
}
