/* Même bandeau que components/CookieBanner.tsx et app/globals.css. */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2147483600;
  background: #15171a;
  color: #f5f5f5;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  animation: cookie-banner-in 0.3s ease forwards;
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cookie-banner-text p {
  margin: 0;
  color: #b5b5be;
  font-size: 12px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-banner-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  font-family: inherit;
}

.cookie-banner-btn-primary {
  background: #fff;
  color: #15171a;
}

.cookie-banner-btn-primary:hover {
  background: #e8e8eb;
}

.cookie-banner-btn-secondary {
  background: transparent;
  color: #b5b5be;
  border: 1px solid #4a4751;
}

.cookie-banner-btn-secondary:hover {
  border-color: #b5b5be;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 16px;
  }
  .cookie-banner-inner {
    gap: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}
.cookie-banner-text { min-width: min(280px, 100%); }
