.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  box-sizing: border-box;
  width: min(560px, calc(100% - 48px));
  border: 1px solid #bfd0e8;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(22, 37, 60, 0.2);
  color: #263449;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent * {
  box-sizing: border-box;
}
.cookie-consent-main {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
}
.cookie-consent-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #eaf2ff;
  color: #2a66eb;
}
.cookie-consent-icon svg {
  width: 23px;
  height: 23px;
}
.cookie-consent-copy h2 {
  margin: 0;
  color: #172033;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.3;
}
.cookie-consent-copy p {
  margin: 7px 0 0;
  color: #56677e;
  font-size: 14px;
  line-height: 1.58;
}
.cookie-consent-copy a {
  color: #1559cb;
  font-weight: 550;
  text-decoration: none;
}
.cookie-consent-copy a:hover {
  text-decoration: underline;
}
.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 20px 20px;
}
.cookie-consent button {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 10px;
  font:
    550 14px/1 Inter,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  cursor: pointer;
}
.cookie-consent-secondary {
  border: 1px solid #bdcce0;
  background: #fff;
  color: #34465d;
}
.cookie-consent-secondary:hover {
  border-color: #86a7da;
  background: #f6f9fd;
}
.cookie-consent-primary {
  border: 1px solid #4d78c1;
  background: #4d78c1;
  color: #fff;
}
.cookie-consent-primary:hover {
  border-color: #416cad;
  background: #416cad;
}
.cookie-consent-manage {
  border: 0;
  background: transparent;
  color: #245fcf;
}
.cookie-consent-manage:hover {
  background: #f0f5fd;
}
.cookie-consent-settings {
  margin: 0 20px 20px;
  padding: 15px;
  border: 1px solid #dce5ef;
  border-radius: 12px;
  background: #f7f9fc;
}
.cookie-consent-settings[hidden] {
  display: none;
}
.cookie-consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #dfe6ef;
}
.cookie-consent-row:first-child {
  padding-top: 0;
  border-top: 0;
}
.cookie-consent-row:last-of-type {
  padding-bottom: 0;
}
.cookie-consent-row strong,
.cookie-consent-row small {
  display: block;
}
.cookie-consent-row strong {
  color: #2d3c51;
  font-size: 14px;
  font-weight: 600;
}
.cookie-consent-row small {
  margin-top: 4px;
  color: #66768a;
  font-size: 14px;
  line-height: 1.45;
}
.cookie-consent-status {
  padding: 6px 9px;
  border-radius: 8px;
  background: #e7f5ef;
  color: #187251;
  font-size: 14px;
  font-weight: 600;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 25px;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
}
.cookie-toggle span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c8d2df;
  cursor: pointer;
  transition: 0.16s;
}
.cookie-toggle span:before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  content: "";
  transition: 0.16s;
}
.cookie-toggle input:checked + span {
  background: #4d78c1;
}
.cookie-toggle input:checked + span:before {
  transform: translateX(19px);
}
.cookie-toggle input:focus-visible + span {
  outline: 3px solid rgba(42, 102, 235, 0.2);
  outline-offset: 2px;
}
.cookie-consent-save {
  width: 100%;
  margin-top: 14px;
}
.footer-cookie-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.footer-cookie-settings:hover {
  color: #2a66eb;
}
@media (max-width: 640px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    border-radius: 16px;
  }
  .cookie-consent-main {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    padding: 17px;
  }
  .cookie-consent-icon {
    width: 40px;
    height: 40px;
  }
  .cookie-consent-copy h2 {
    font-size: 17px;
  }
  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0 17px 17px;
  }
  .cookie-consent-manage {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .cookie-consent-settings {
    margin: 0 17px 17px;
  }
  .cookie-consent button {
    width: 100%;
  }
}
