/* Cookie Consent Banner */

.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.hidden {
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  to {
    transform: translate(-50%, 100px);
    opacity: 0;
  }
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  color: #0f172a;
  font-weight: 700;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}

.cookie-text a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 600;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-cookie.primary {
  background: #0f172a;
  color: white;
  border: none;
}

.btn-cookie.primary:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.btn-cookie.secondary {
  background: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.btn-cookie.secondary:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 1rem;
    padding: 1.5rem;
  }

  .cookie-content {
    width: 100%;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .btn-cookie {
    flex: 1;
    text-align: center;
  }
}
