/*** COOKIE CONSENT BANNER ***/

#s-cookie-consent-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  pointer-events: none;
}

#s-cookie-consent-banner {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 60px;
  background: #fff;
  box-shadow:
    0px 0px 2px rgba(0, 0, 0, 0.15),
    0px -4px 30px rgba(0, 0, 0, 0.15);
}

.s-cookie-consent-text {
  font-family: "Graphik", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.01px;
  color: #000c27;
}

.s-cookie-consent-link {
  color: #0061ff;
  text-decoration: underline;
}

.s-cookie-consent-link:hover,
.s-cookie-consent-link:visited {
  color: #0061ff;
}

.s-cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.s-cookie-consent-btn {
  width: 160px;
  height: 44px;
  border-radius: 8px;
  font-family: "Graphik", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.s-cookie-consent-btn-reject {
  background: #fff;
  color: #007fff;
  outline: 1.5px solid #007fff;
  outline-offset: -1.5px;
  line-height: 22px;
}

.s-cookie-consent-btn-accept {
  background: #007fff;
  color: #fff;
  line-height: 19.6px;
}

/*
 * Webflow (and some themes) ship global button:hover rules that win over the classes above.
 * These two rules raise specificity to the banner only; add !important on background-color here
 * if a site still overrides (rare).
 */
#s-cookie-consent-banner .s-cookie-consent-btn-reject:hover,
#s-cookie-consent-banner .s-cookie-consent-btn-reject:focus-visible {
  background-color: #fff;
  color: #007fff;
}

#s-cookie-consent-banner .s-cookie-consent-btn-accept:hover,
#s-cookie-consent-banner .s-cookie-consent-btn-accept:focus-visible {
  background-color: #007fff;
  color: #fff;
}

@media (max-width: 767px) {
  #s-cookie-consent-banner {
    padding: 24px;
  }

  .s-cookie-consent-buttons {
    width: 100%;
  }

  .s-cookie-consent-btn {
    flex: 1;
  }
}
