/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(5, 150, 105, 0.2);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  padding: 24px;
  z-index: 10000;
  display: none;
  animation: slideUp 0.4s ease;
}

#cookie-consent-banner.show {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.cookie-consent-content {
  flex: 1;
}

.cookie-consent-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 8px;
}

.cookie-consent-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.cookie-consent-content a {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-consent-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-accept {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.cookie-btn-accept:hover {
  background: #048a5a;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.4);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.cookie-btn-reject:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

/* Dark Mode */
[data-theme="dark"] #cookie-consent-banner {
  background: linear-gradient(135deg, rgba(36, 41, 56, 0.98) 0%, rgba(26, 31, 46, 0.98) 100%);
  border-top-color: rgba(5, 150, 105, 0.3);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cookie-btn-reject {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #cookie-consent-banner {
    padding: 20px 16px;
  }

  .cookie-consent-container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-consent-content h3 {
    font-size: 16px;
  }

  .cookie-consent-content p {
    font-size: 13px;
  }

  .cookie-consent-actions {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .cookie-consent-content h3 {
    font-size: 15px;
  }

  .cookie-consent-content p {
    font-size: 12px;
  }
}

