.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  background: var(--bs-body-bg, #fff);
  color: var(--bs-body-color, #121519);
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.1));
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 2rem rgba(13, 22, 41, 0.18);
  padding: 1.25rem 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  animation: cookieBannerIn 0.35s ease-out both;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    max-width: 440px;
    padding: 1.5rem;
  }
}

[data-bs-theme='dark'] .cookie-banner {
  background: #111827;
  color: #e3e7f0;
  border-color: rgba(255, 255, 255, 0.12);
}

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

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

.cookie-banner__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner__title .bx {
  font-size: 1.5rem;
  color: var(--bs-primary, #fe6a3c);
}

.cookie-banner__text {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions .btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
}

@keyframes cookieBannerIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-settings-trigger {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.1));
  background: var(--bs-body-bg, #fff);
  color: var(--bs-primary, #fe6a3c);
  box-shadow: 0 0.25rem 1rem rgba(13, 22, 41, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-settings-trigger:hover,
.cookie-settings-trigger:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.25rem rgba(13, 22, 41, 0.22);
  outline: none;
}

.cookie-settings-trigger[hidden] {
  display: none !important;
}

[data-bs-theme='dark'] .cookie-settings-trigger {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.12);
}

.cookie-category h6 {
  font-weight: 600;
}
