/* Cookie Consent Banner Styles */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  background-color: var(--bg-primary);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.cookie-consent.active {
  opacity: 1;
  visibility: visible;
  animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.cookie-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent-primary);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-text a:hover {
  color: var(--accent-secondary);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.accept-cookies {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 10px rgba(67, 97, 238, 0.25);
}

.accept-cookies:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(67, 97, 238, 0.35);
}

.decline-cookies {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.decline-cookies:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Responsive design */
@media (max-width: 768px) {
  .cookie-consent {
    flex-direction: column;
    align-items: stretch;
    bottom: 10px;
    padding: 1.25rem;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}
