.cookie-consent-banner {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  padding: 0 1rem 1rem;
}

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

.cookie-consent-panel {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 96%);
  box-shadow:
    0 2px 6px rgb(0 0 0 / 8%),
    0 14px 36px rgb(0 0 0 / 12%);
  backdrop-filter: blur(10px);
}

.cookie-consent-layout {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent-copy {
  max-width: 48rem;
}

.cookie-consent-title {
  font-family:
    "Plus Jakarta Sans",
    Inter,
    system-ui,
    sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.cookie-consent-message {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #4b5563;
}

.cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-consent-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid #0f766e;
  border-radius: 9999px;
  font-family:
    Manrope,
    Inter,
    system-ui,
    sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.cookie-consent-button:focus-visible {
  outline: 2px solid #0f766e;
  outline-offset: 2px;
}

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

.cookie-consent-button-secondary:hover {
  background: #0f766e;
  color: #fff;
}

.cookie-consent-button-primary {
  background: #0f766e;
  color: #fff;
}

.cookie-consent-button-primary:hover {
  background: #0d605a;
}

@media (width >= 640px) {
  .cookie-consent-actions {
    flex-direction: row;
  }
}

@media (width >= 768px) {
  .cookie-consent-layout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-consent-actions {
    justify-content: flex-end;
  }
}
