/* Digital Strings — Cookie consent banner */
#ds-cookie-banner {
  position: fixed;
  inset-block-end: 1rem;
  inset-inline: 1rem;
  z-index: 9999;
  font-family: 'Oxanium', 'Space Grotesk', system-ui, sans-serif;
  animation: ds-cc-slide-in 0.35s ease-out;
}

@keyframes ds-cc-slide-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#ds-cookie-banner .ds-cc-card {
  max-width: 720px;
  margin-inline: auto;
  background: #111431;
  color: #EEF7FF;
  border: 1px solid #2A2F87;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(17, 20, 49, 0.45);
  padding: 1.25rem 1.5rem;
}

#ds-cookie-banner .ds-cc-title {
  font-family: 'Space Grotesk', 'Oxanium', sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: #FFBB00;
  font-weight: 600;
}

#ds-cookie-banner .ds-cc-body {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  color: rgba(238, 247, 255, 0.85);
}

#ds-cookie-banner .ds-cc-body a {
  color: #FFBB00;
  text-decoration: underline;
}

#ds-cookie-banner .ds-cc-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

#ds-cookie-banner .ds-cc-btn {
  font: inherit;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}

#ds-cookie-banner .ds-cc-btn:hover { transform: translateY(-1px); }

#ds-cookie-banner .ds-cc-btn-primary {
  background: #FFBB00;
  color: #111431;
}

#ds-cookie-banner .ds-cc-btn-secondary {
  background: transparent;
  color: #EEF7FF;
  border-color: rgba(238, 247, 255, 0.3);
}

#ds-cookie-banner .ds-cc-btn-secondary:hover {
  background: rgba(238, 247, 255, 0.08);
}

#ds-cookie-banner .ds-cc-details {
  display: grid;
  gap: 0.85rem;
}

#ds-cookie-banner .ds-cc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.6rem 0.75rem;
  background: rgba(42, 47, 135, 0.35);
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  cursor: pointer;
}

#ds-cookie-banner .ds-cc-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #FFBB00;
}

#ds-cookie-banner .ds-cc-row strong {
  color: #EEF7FF;
}

#ds-cookie-banner .ds-cc-row span span {
  color: rgba(238, 247, 255, 0.7);
}

/* Mobile */
@media (max-width: 600px) {
  #ds-cookie-banner { inset-inline: 0.5rem; inset-block-end: 0.5rem; }
  #ds-cookie-banner .ds-cc-card { padding: 1rem 1.1rem; border-radius: 14px; }
  #ds-cookie-banner .ds-cc-actions { gap: 0.6rem; }
  #ds-cookie-banner .ds-cc-actions .ds-cc-btn { flex: 1 1 auto; min-width: 0; }
}
