/* ── Kwame Owusu-Ansah — Cookie Consent Banner ──────────────────── */

#cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: rgba(245, 241, 235, 0.9); /* light --cream, translucent */
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  border-top: 1px solid rgba(206, 149, 86, 0.35); /* --accent, faint */
  color: #1c1a16; /* --dark */
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  box-shadow: 0 -6px 24px rgba(28, 26, 22, 0.08);
}

#cookie-consent-banner .cc-text {
  flex: 1 1 320px;
  max-width: 680px;
  margin: 0;
  color: rgba(28, 26, 22, 0.78);
}

#cookie-consent-banner .cc-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-consent-banner .cc-btn {
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

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

#cookie-consent-banner .cc-btn-accept {
  background: rgba(206, 149, 86, 0.9); /* --accent, softened */
  color: #1c1a16; /* --dark */
}

#cookie-consent-banner .cc-btn-accept:hover {
  background: rgba(206, 149, 86, 1);
}

#cookie-consent-banner .cc-btn-reject {
  background: rgba(28, 26, 22, 0.06);
  color: rgba(28, 26, 22, 0.75);
  border: 1.5px solid rgba(28, 26, 22, 0.25);
}

#cookie-consent-banner .cc-btn-reject:hover {
  background: rgba(28, 26, 22, 0.1);
  color: #1c1a16;
}

@supports not (backdrop-filter: blur(1px)) {
  #cookie-consent-banner {
    background: rgba(245, 241, 235, 0.97);
  }
}

@media (max-width: 600px) {
  #cookie-consent-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    max-height: 70vh;
    overflow-y: auto;
  }
  #cookie-consent-banner .cc-text {
    flex: 0 1 auto;
  }
  #cookie-consent-banner .cc-actions {
    width: 100%;
    justify-content: center;
  }
}

.cc-footer-link {
  text-align: center;
  margin-top: 12px;
}

.cc-footer-link a {
  color: rgba(245, 241, 235, 0.55);
  font-size: 0.72rem;
  text-decoration: underline;
  font-family: 'IBM Plex Sans', sans-serif;
}

.cc-footer-link a:hover {
  color: rgba(245, 241, 235, 0.85);
}
