.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  width: min(30rem, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1rem 2.5rem rgba(24, 39, 75, 0.14);
  color: #202124;
}

.cookie-consent.is-hidden {
  display: none;
}

.cookie-consent__content {
  display: grid;
  gap: 0.9rem;
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-consent__link {
  color: #0a6b78;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-consent__button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__button--primary {
  background: #0a6b78;
  color: #fff;
}

.cookie-consent__button--primary:hover,
.cookie-consent__button--primary:focus-visible {
  background: #084e58;
}

.cookie-consent__button--secondary {
  border-color: rgba(34, 34, 34, 0.16);
  background: #fff;
  color: #202124;
}

.cookie-consent__button--secondary:hover,
.cookie-consent__button--secondary:focus-visible {
  border-color: rgba(34, 34, 34, 0.3);
  background: #f5f7f8;
}

@media (max-width: 640px) {
  .cookie-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
    padding: 0.9rem;
    border-radius: 0.9rem;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__button {
    width: 100%;
    justify-content: center;
  }
}
