/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-surface, #fff);
  border-top: 1px solid var(--border, #e0e0e0);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  padding: 0.875rem 1.25rem;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.cc-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cc-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary, #555);
  line-height: 1.4;
}

.cc-text a {
  color: var(--color-accent, #2383E2);
  text-decoration: underline;
}

.cc-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cc-btn {
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}

.cc-decline {
  background: transparent;
  color: var(--text-secondary, #555);
  border: 1px solid var(--border, #e0e0e0);
}

.cc-decline:hover {
  background: var(--bg-hover, #f5f5f5);
}

.cc-accept {
  background: var(--color-accent, #2383E2);
  color: #fff;
}

.cc-accept:hover {
  opacity: 0.9;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  #cookie-consent-banner {
    background: var(--bg-surface, #1e1e1e);
    border-top-color: var(--border, #333);
  }
}

/* Respect .dark-mode class (manual toggle) */
.dark-mode #cookie-consent-banner {
  background: var(--bg-surface, #1e1e1e);
  border-top-color: var(--border, #333);
}

@media (max-width: 480px) {
  .cc-inner {
    flex-direction: column;
    text-align: center;
  }
  .cc-buttons {
    width: 100%;
    justify-content: center;
  }
}
