.fx-cookie-banner,
.fx-cookie-banner * {
  box-sizing: border-box;
}

.fx-cookie-banner[hidden],
.fx-cookie-manage[hidden],
.fx-cookie-preferences[hidden] {
  display: none !important;
}

.fx-cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: end center;
  padding: 20px;
  background: rgba(0, 106, 167, .22);
}

.fx-cookie-banner__panel {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(0, 106, 167, .2);
  border-radius: 10px;
  background: #fff;
  color: #303846;
  box-shadow: 0 24px 70px rgba(0, 50, 80, .24);
}

.fx-cookie-banner__eyebrow {
  margin: 0 0 8px;
  color: #006aa7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fx-cookie-banner h2 {
  margin: 0 0 10px;
  color: #202833;
  font-family: Oswald, Impact, sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.08;
  text-transform: uppercase;
}

.fx-cookie-banner p {
  max-width: 680px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
}

.fx-cookie-banner a {
  color: #006aa7;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fx-cookie-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fx-cookie-banner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.fx-cookie-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid #252c37;
  border-radius: 5px;
  cursor: pointer;
  font: 700 14px/1.1 "DM Sans", Arial, sans-serif;
  letter-spacing: .02em;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.fx-cookie-btn--red {
  border-color: #006aa7;
  color: #fff;
  background: #006aa7;
}

.fx-cookie-btn--red:hover,
.fx-cookie-btn--red:focus {
  border-color: #004f7d;
  background: #004f7d;
}

.fx-cookie-btn--dark {
  color: #fff;
  background: #252c37;
}

.fx-cookie-btn--dark:hover,
.fx-cookie-btn--dark:focus {
  background: #111;
}

.fx-cookie-btn--light {
  color: #252c37;
  background: #fff;
}

.fx-cookie-btn--light:hover,
.fx-cookie-btn--light:focus {
  border-color: #006aa7;
  color: #006aa7;
}

.fx-cookie-preferences {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #e6e8ed;
}

.fx-cookie-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f4;
}

.fx-cookie-toggle strong,
.fx-cookie-toggle small {
  display: block;
}

.fx-cookie-toggle strong {
  color: #252c37;
  font-size: 15px;
}

.fx-cookie-toggle small {
  margin-top: 3px;
  color: #5b6370;
  font-size: 13px;
  line-height: 1.45;
}

.fx-cookie-toggle input {
  position: absolute;
  opacity: 0;
}

.fx-cookie-toggle i {
  width: 48px;
  height: 26px;
  position: relative;
  border-radius: 999px;
  background: #c8ced6;
  transition: background .18s ease;
}

.fx-cookie-toggle i::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(20, 24, 31, .2);
  transition: transform .18s ease;
}

.fx-cookie-toggle input:checked + i {
  background: #006aa7;
}

.fx-cookie-toggle input:checked + i::before {
  transform: translateX(22px);
}

.fx-cookie-toggle input:disabled + i {
  opacity: .72;
}

.fx-cookie-manage {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99999;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(37, 44, 55, .18);
  border-radius: 999px;
  color: #fff;
  background: #252c37;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(20, 24, 31, .18);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.fx-cookie-manage img {
  display: block;
  width: 28px;
  height: 28px;
}

.fx-cookie-manage:hover,
.fx-cookie-manage:focus {
  background: #006aa7;
  box-shadow: 0 14px 30px rgba(20, 24, 31, .24);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .fx-cookie-banner {
    padding: 12px;
  }

  .fx-cookie-banner__panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .fx-cookie-banner__actions {
    justify-content: stretch;
  }

  .fx-cookie-btn {
    flex: 1 1 100%;
  }
}
