.cookie-consent-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: min(520px, calc(100vw - 32px));
  border: 1px solid #d8e8e0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.16);
  color: #17202a;
  padding: 18px;
}

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

.cookie-consent-content {
  display: grid;
  gap: 12px;
}

.cookie-consent-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-consent-heading .material-symbols-rounded {
  color: #00966c;
  font-size: 22px;
  font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 24;
}

.cookie-consent-heading strong {
  font-size: 16px;
  line-height: 1.25;
}

.cookie-consent-text {
  margin: 0;
  color: #4d5964;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-consent-text a {
  color: #007855;
  font-weight: 900;
  text-decoration: none;
}

.cookie-consent-text a:hover,
.cookie-consent-text a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-consent-button {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #bfe7da;
  padding: 0 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cookie-consent-button.primary {
  border-color: transparent;
  background: #00966c;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 150, 108, 0.18);
}

.cookie-consent-button.secondary {
  background: #fff;
  color: #007855;
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.cookie-consent-button.primary:hover,
.cookie-consent-button.primary:focus-visible {
  background: #007855;
  box-shadow: 0 14px 28px rgba(0, 120, 85, 0.24);
}

.cookie-consent-button.secondary:hover,
.cookie-consent-button.secondary:focus-visible {
  background: #edf9f4;
  border-color: #9ed9c8;
}

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

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent-button {
    width: 100%;
  }
}
