/* Cookie Consent Banner – Modern Design */
.cookie-consent-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  background-color: var(--bs-white);
  color: var(--bs-gray-800);
  padding: 1.5rem 2rem;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: none;
  text-align: center;
  transition: all 0.4s ease, opacity 0.5s ease;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  opacity: 0;
}

.cookie-consent-banner.show {
  display: block;
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cookie-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bs-gray-900);
}

.cookie-content p {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: var(--bs-gray-600);
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto', sans-serif;
}

.cookie-buttons .btn-primary {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

.cookie-buttons .btn-primary:hover {
  background-color: #0b5ed7;
}

.cookie-buttons .btn-secondary {
  background-color: var(--bs-gray-200);
  color: var(--bs-gray-800);
}

.cookie-buttons .btn-secondary:hover {
  background-color: var(--bs-gray-300);
}

.cookie-consent-banner a {
  color: var(--bs-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-consent-banner a:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

/* Responsive design */
@media (max-width: 600px) {
  .cookie-consent-banner {
    width: 95%;
    padding: 1rem;
    bottom: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cookie-buttons button {
    width: 100%;
    font-size: 1rem;
  }
}