/* Cookie Consent Banner */
/* GDPR/CCPA compliant cookie notification */

.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--bg-surface);
  border-top: 2px solid var(--scitex-color-04);
  padding: 12px 24px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .cookie-consent-banner {
  background: var(--scitex-color-01, #0d1117);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
}

.cookie-consent-banner.visible {
  transform: translateY(0);
}

.cookie-consent-banner.dismissed {
  display: none;
}

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

.cookie-consent-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-consent-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.cookie-consent-message {
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.cookie-consent-message a {
  color: var(--scitex-color-04);
  text-decoration: underline;
}

.cookie-consent-message a:hover {
  color: var(--scitex-color-03);
}

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

.cookie-consent-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.cookie-consent-btn-accept {
  background: var(--status-success);
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cookie-consent-btn-accept:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.cookie-consent-btn-decline {
  background: var(--bg-muted);
  color: var(--text-muted);
  border: 1px solid var(--border-default);
}

.cookie-consent-btn-decline:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-text {
    flex-direction: column;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent-btn {
    flex: 1;
    max-width: 150px;
  }
}
