.cookie-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2100;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-consent-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-consent-banner__content {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(32, 50, 78, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
}

.cookie-consent-banner__text {
  min-width: 0;
}

.cookie-consent-banner__title {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #20324e;
}

.cookie-consent-banner__description {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(31, 42, 68, 0.86);
}

.cookie-consent-banner__description a {
  color: #20324e;
  font-weight: 700;
  text-decoration: underline;
}

.cookie-consent-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-consent-banner__button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-consent-banner__button--ghost {
  background: #ffffff;
  border-color: rgba(32, 50, 78, 0.24);
  color: #20324e;
}

.cookie-consent-banner__button--ghost:hover {
  border-color: #20324e;
  transform: translateY(-1px);
}

.cookie-consent-banner__button--primary {
  background: #20324e;
  color: #ffffff;
}

.cookie-consent-banner__button--primary:hover {
  background: #1a2942;
  transform: translateY(-1px);
}

.cookie-consent-banner__close {
  border: none;
  background: transparent;
  color: rgba(31, 42, 68, 0.7);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 10px;
}

.cookie-consent-banner__close:hover {
  color: #20324e;
}

body.ai-home .cookie-consent-banner__content {
  background: rgba(9, 13, 24, 0.94);
  border-color: rgba(86, 245, 255, 0.22);
}

body.ai-home .cookie-consent-banner__title {
  color: #e6edf3;
}

body.ai-home .cookie-consent-banner__description {
  color: rgba(230, 237, 243, 0.82);
}

body.ai-home .cookie-consent-banner__description a {
  color: #56f5ff;
}

body.ai-home .cookie-consent-banner__button--ghost {
  background: rgba(8, 13, 24, 0.86);
  border-color: rgba(255, 255, 255, 0.22);
  color: #e6edf3;
}

body.ai-home .cookie-consent-banner__button--primary {
  background: linear-gradient(120deg, #56f5ff, #b277ff);
  color: #070b16;
}

body.ai-home .cookie-consent-banner__close {
  color: rgba(230, 237, 243, 0.78);
}

@media (max-width: 767.98px) {
  .cookie-consent-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-consent-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px;
  }

  .cookie-consent-banner__actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
