/* Cookie Consent popup — shared across all pages */
#cookieConsentPopup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e1d2b;
  color: #f0eef5;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -3px 15px rgba(18, 6, 83, 0.25);
  font-size: 14px;
  line-height: 1.6;
}
#cookieConsentPopup p,
#cookieConsentPopup h5,
#cookieConsentPopup label {
  color: #f0eef5;
}
#cookieConsentPopup p {
  margin-bottom: 15px;
}
#cookieConsentPopup h5 {
  margin-bottom: 15px;
  font-size: 1.2em;
}
#cookieConsentPopup a {
  color: #9b7bf7;
  text-decoration: underline;
}
#cookieConsentPopup a:hover {
  color: #b9a4fb;
}
#cookieConsentPopup .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
#cookieConsentPopup button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  color: white;
  transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}
#cookieConsentPopup .btn-accept-all {
  background-color: #7f5af0;
  color: white;
}
#cookieConsentPopup .btn-accept-all:hover {
  background-color: #6941d4;
}
#cookieConsentPopup .btn-manage,
#cookieConsentPopup .btn-reject-all,
#cookieConsentPopup .btn-save-prefs {
  background-color: #342e49;
  color: white;
  border: 1px solid rgba(127, 90, 240, 0.2);
}
#cookieConsentPopup .btn-manage:hover,
#cookieConsentPopup .btn-reject-all:hover,
#cookieConsentPopup .btn-save-prefs:hover {
  background-color: #433b5e;
}
#cookieConsentPopup .cookie-preferences {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(127, 90, 240, 0.15);
}
#cookieConsentPopup .cookie-preferences div {
  margin-bottom: 15px;
}
#cookieConsentPopup .cookie-preferences label {
  display: flex;
  align-items: center;
  font-weight: 500;
}
#cookieConsentPopup .cookie-preferences input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #7f5af0;
  width: 17px;
  height: 17px;
  vertical-align: middle;
}
#cookieConsentPopup .cookie-preferences small {
  display: block;
  margin-left: 27px;
  font-size: 0.875em;
  color: #bdc3c7;
  line-height: 1.4;
}
#cookieConsentPopup .cookie-preferences .btn-save-prefs {
  margin-top: 10px;
}
#cookieConsentPopup .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
