/* Cookie Consent Banner — shared styles */
#cookieConsentBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1rem;
  animation: ccSlideUp .35s ease-out;
}

@keyframes ccSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cc-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cc-inner p {
  margin: 0;
  font-size: .85rem;
  color: #cbd5e1;
  flex: 1 1 300px;
}

.cc-inner a {
  color: #60a5fa;
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: .5rem;
}

.cc-btn {
  padding: 8px 20px;
  border-radius: 10px;
  border: none;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  font-family: inherit;
}

.cc-btn:hover {
  opacity: .85;
}

.cc-btn--accept {
  background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
  color: #fff;
}

.cc-btn--decline {
  background: rgba(255, 255, 255, .1);
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, .15);
}

/* Light mode */
[data-bs-theme="light"] #cookieConsentBanner,
[data-theme="light"] #cookieConsentBanner {
  background: rgba(255, 255, 255, .95);
  border-top-color: #e2e8f0;
}

[data-bs-theme="light"] .cc-inner p,
[data-theme="light"] .cc-inner p {
  color: #334155;
}

[data-bs-theme="light"] .cc-inner a,
[data-theme="light"] .cc-inner a {
  color: #2563eb;
}

[data-bs-theme="light"] .cc-btn--decline,
[data-theme="light"] .cc-btn--decline {
  background: #f1f5f9;
  color: #64748b;
  border-color: #e2e8f0;
}
