.cookie-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  width: min(440px, calc(100vw - 40px));
  padding: 18px;
  color: #f4f4f5;
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  font: 14px/1.5 Arial, sans-serif;
}

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

.cookie-consent__content strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.cookie-consent__content p {
  margin: 0;
  color: #c7c9ce;
}

.cookie-consent__content a {
  color: #fff;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.cookie-consent__button {
  padding: 9px 13px;
  color: #f4f4f5;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  cursor: pointer;
}

.cookie-consent__button--primary {
  color: #111317;
  background: #f4f4f5;
  border-color: #f4f4f5;
}

.cookie-preferences-link {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .cookie-consent__actions,
  .cookie-consent__button {
    width: 100%;
  }
}
