.cookie-consent-wrapper {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.cookie-consent-wrapper.is-open {
  background: rgba(10, 10, 25, .72);
  pointer-events: auto;
}

.cookie-consent {
  display: none;
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 48px);
  padding: 38px 42px;
  overflow-y: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .28);
  color: #333;
  font-family: "Open Sans", sans-serif;
  transform: translateY(100px);
}

.cookie-consent-wrapper.is-open .cookie-consent {
  display: block;
}

.cookie-consent__title {
  margin: 0 0 10px;
  color: #131333;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  line-height: 1.3;
}

.cookie-consent__title:focus {
  outline: none;
}

.cookie-consent__text {
  margin: 0 0 18px;
  color: #444;
  font-size: 17px;
  line-height: 1.65;
}

.cookie-consent__choices {
  display: none;
  margin: 0 0 18px;
  padding: 8px 0 0;
}

.cookie-consent.is-customizing .cookie-consent__choices {
  display: block;
}

.cookie-consent__choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  cursor: pointer;
}

.cookie-consent__choice:last-child {
  margin-bottom: 0;
}

.cookie-consent__choice input {
  margin-top: 5px;
  accent-color: #313599;
}

.cookie-consent__choice span {
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #313599;
  border-radius: 4px;
  background: #fff;
  color: #313599;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent__button--primary {
  background: #313599;
  color: #fff;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus {
  outline: 2px solid #7280ff;
  outline-offset: 2px;
}

.cookie-consent__save {
  display: none;
}

.cookie-consent.is-customizing .cookie-consent__save {
  display: inline-block;
}

.cookie-settings-button {
  position: fixed;
  z-index: 99999;
  left: 15px;
  bottom: 15px;
  padding: 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #555;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  pointer-events: auto;
}

.cookie-settings-button:hover,
.cookie-settings-button:focus {
  color: #131333;
  outline: none;
}

@media (max-width: 575px) {
  .cookie-consent {
    max-height: calc(100vh - 24px);
    padding: 24px 20px;
    transform: translateY(20px);
  }

  .cookie-consent-wrapper {
    padding: 12px;
  }

  .cookie-consent__title {
    font-size: 24px;
  }

  .cookie-consent__actions,
  .cookie-consent__button {
    width: 100%;
  }
}
