.cookie-consent {
    position: fixed;
    left: 40px;
    right: 40px;
    bottom: 40px;
    z-index: 9999;
    display: none;
    padding: 16px;
    background: rgb(0 0 0 / 70%);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
    border-radius: 25px;
    backdrop-filter: blur(5px);
}

.cookie-consent.is-visible {
  display: block;
  animation: cookie-consent-slide-up 0.35s ease-out;
}

.cookie-consent__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent__inner p {
  margin: 5px 0 10px 0px;
  flex: 1 1 520px;
}

.cookie-consent__inner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-consent__actions {
  flex: 0 0 auto;
}

.cookie-consent__button {
  appearance: none;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #111111;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cookie-consent__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .cookie-consent {
    padding: 20px 22px calc(22px + env(safe-area-inset-bottom));
    font-size: 13px;
    line-height: 1.4;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cookie-consent__inner p {
    flex: 1 1 100%;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__button {
    width: 100%;
    padding: 9px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent.is-visible {
    animation: none;
  }

  .cookie-consent__button {
    transition: none;
  }
}

@keyframes cookie-consent-slide-up {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
