.bonus-toggle {
  margin-bottom: 18px;
}

.bonus-toggle__heading {
  margin: 0 0 12px;
}

.bonus-toggle__switches-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 30px;
}

.bonus-toggle__label {
  margin: 0;
  padding: 0 !important;
  cursor: pointer;
  user-select: none;
}

.bonus-toggle__label[fired="1"] {
  font-weight: 600;
}

.bonus-toggle__switch {
  margin: 0;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
  width: 80px;
}

.bonus-toggle__switch-input {
  visibility: hidden;
  width: 100%;
  height: 100%;
}

.bonus-toggle .label {
  background-color: #393a3c;
  height: 40px;
  width: 80px;
  position: absolute;
  border-radius: 20px;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.bonus-toggle__thumb {
  width: 34px;
  height: 34px;
  background-color: #fcfcfc;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  animation: bonusToggleOff 0.3s linear forwards;
}

.bonus-toggle__switch-input:checked + .label {
  background-color: #cccccc;
}

.bonus-toggle__switch-input:checked + .label .bonus-toggle__thumb {
  background-color: #393a3c;
  animation: bonusToggleOn 0.3s linear forwards;
}

.bonus-toggle__dynamic {
  padding-bottom: 10px;
}

.bonus-toggle__dynamic > * + * {
  margin-top: 6px;
}

.bonus-toggle__preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 14px;
  text-align: center;
}

.bonus-toggle__preloader-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(0, 0, 0, 0.16);
  border-top-color: rgba(0, 0, 0, 0.72);
  border-radius: 999px;
  animation: bonusPreloaderSpin 0.75s linear infinite;
}

.bonus-toggle__preloader-message {
  padding-bottom: 0 !important;
}

.bonus-toggle__action-block {
  margin-top: 4px;
}

.bonus-toggle__hint {
  line-height: 1.45;
}

.bonus-toggle__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bonus-toggle__retry {
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bonus-toggle__retry:hover {
  border-color: rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.03);
}

.bonus-toggle__button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.t-inputpromocode__btn {
  background: #000 !important;
  transition: all 350ms ease-in-out;
}

.t-inputpromocode__btn:hover {
  background: #525bd7 !important;
}

.t-input-subtitle {
  padding-bottom: 10px !important;
}

.bonus-toggle__button--cancel {
  color: #000 !important;
  background: #fff !important;
  border: 1px solid #000 !important;
}

.bonus-toggle__button--cancel:hover {
  color: #000 !important;
  background: #f5f5f5 !important;
  border-color: #000 !important;
}

.bonus-toggle__button--inactive {
  pointer-events: none;
  background-color: darkgray !important;
}

.bonus-toggle--locked {
  pointer-events: none;
}

@keyframes bonusToggleOn {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(40px);
  }
}

@keyframes bonusToggleOff {
  0% {
    transform: translateX(40px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes bonusPreloaderSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}