.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display: block;
  animation: cookieBannerFadeIn .25s ease;
}

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

.cookie-banner__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(10px);
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

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

.cookie-banner__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
}

.cookie-banner__text a {
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
}

.cookie-banner__btn--ghost {
  background: #e2e8f0;
  color: #0f172a;
}

.cookie-banner__btn--ghost:hover {
  background: #cbd5e1;
}

.cookie-banner__btn--primary {
  background: #0f172a;
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background: #1e293b;
}

@keyframes cookieBannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}