.cookie-consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 4000;
  border-top: 1px solid #0c4a6e;
  background: rgb(2 6 23 / 0.95);
  padding: 1rem;
  box-shadow: 0 -8px 32px rgb(2 6 23 / 0.45);
  backdrop-filter: blur(12px);
}

.cookie-consent-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-consent-banner__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.cookie-consent-banner__text {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-consent-banner__text a,
.cookie-consent-banner__text button {
  font: inherit;
  font-weight: 600;
  color: #fcd34d;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.cookie-consent-banner__text a:hover,
.cookie-consent-banner__text button:hover {
  color: #fde68a;
}

.cookie-consent-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent-banner__btn {
  min-height: 2.75rem;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-consent-banner__btn--reject {
  border: 1px solid #0369a1;
  background: #0c4a6e;
  color: #e2e8f0;
}

.cookie-consent-banner__btn--reject:hover {
  background: #075985;
}

.cookie-consent-banner__btn--accept {
  border: 1px solid rgb(245 158 11 / 0.7);
  background: #f59e0b;
  color: #082f49;
}

.cookie-consent-banner__btn--accept:hover {
  background: #fbbf24;
}

html:has(.cookie-consent-banner) body {
  padding-bottom: 7rem;
}

@media (min-width: 40rem) {
  .cookie-consent-banner {
    padding: 1.25rem;
  }

  .cookie-consent-banner__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .cookie-consent-banner__title {
    font-size: 1rem;
  }

  .cookie-consent-banner__text {
    font-size: 0.875rem;
  }
}
