@-webkit-keyframes cb-opacity-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes cb-opacity-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes cb-scale-show {
  from {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes cb-scale-show {
  from {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }

  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.cb-modal {
  padding: 0;
  display: none;
  margin-top: 74px !important;
}

#cb-modal-s2,
#cb-modal-s3,
#cb-modal-s4 {
  -webkit-animation-name: cb-opacity-show;
  animation-name: cb-opacity-show;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
}

.cb-button {
  position: fixed;
  bottom: 15px;
  right: 15px;
  padding: 13px 18px;
  background: #D4380D;
  -webkit-box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
  border-radius: 93px;
  border: none;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  line-height: 22px;
  color: #ffffff;
  outline: none !important;
  text-align: left;
  max-width: calc(100% - 30px);
  z-index: 1010;
}

.cb-button svg:first-child {
  margin-right: 8px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.cb-button svg:last-child {
  margin-left: 20px;
  cursor: pointer;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.cb-modal input {
  -webkit-appearance: auto;
  -moz-appearance: auto;
}

.cb-modal-form-elem {
  font-size: 14px;
  line-height: 22px;
  background: #FFFFFF;
  border: 1px solid #D9D9D9;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 5px 12px;
  width: 100%;
}

.cb-modal-form-elem::-webkit-input-placeholder {
  color: #8C8C8C;
}

.cb-modal-form-elem::-moz-placeholder {
  color: #8C8C8C;
}

.cb-modal-form-elem:-moz-placeholder {
  color: #8C8C8C;
}

.cb-modal-form-elem:-ms-input-placeholder {
  color: #8C8C8C;
}

.cb-modal-form-elem[disabled] {
  background: #f5f5f5;
}

.cb-modal-s2-form-approval {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0 8px;
  margin-bottom: 26px;
}

.cb-modal-s2-form-item {
  position: relative;
}

.cb-modal-s2-form-item .input-error {
  display: block;
}

.cb-modal-s2-form-item .password__show {
  top: -3px;
}

.cb-modal-s2-form-approval input {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  margin-top: 3px;
}

.cb-modal-s2-form-approval label {
  font-size: 14px;
  line-height: 22px;
  color: #595959;
}

.cb-modal-s2-form-approval label a {
  font-weight: bold;
  font-size: 14px;
  line-height: 22px;
  color: #262626;
}

.cb-modal-s2-form-button {
  background: #4054F9;
  border-radius: 4px;
  padding: 5px 16px;
  font-size: 14px;
  line-height: 22px;
  color: #FFFFFF;
  padding: 5px 16px;
}

.cb-modal-s2-form-button[disabled],
.cb-modal-s2-form-submit[disabled] {
  background: #F5F5F5;
  border: 1px solid #D9D9D9;
  color: #BFBFBF;
}

@media (min-width: 1201px) {
  .cb-modal {
    width: 1170px;
    position: relative;
    margin: auto;
    background: #fff;
    border-radius: 8px;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-name: cb-scale-show;
    animation-name: cb-scale-show;
  }

  .cb-modal-close {
    position: absolute;
    right: -24px;
    top: -24px;
    cursor: pointer;
  }

  .cb-modal-close-mobile {
    display: none;
  }

  .cb-modal-s1-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 526px;
  }

  .cb-modal-s1-left-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 500px;
    flex: 0 0 500px;
    border-radius: 8px 0 0 8px;
    padding: 81px 65px;
    background: url(../img/modals/comebacker/dotts.svg) left top no-repeat,
      -o-linear-gradient(3.75deg, #8593FB 0.74%, #525BEF 74.82%);
    background: url(../img/modals/comebacker/dotts.svg) left top no-repeat,
      linear-gradient(86.25deg, #8593FB 0.74%, #525BEF 74.82%);
  }

  .cb-modal-s1-right-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 670px;
    flex: 0 0 670px;
    padding: 53px 65px 0 161px;
  }

  .cb-modal-s1-book {
    position: absolute;
    top: 50px;
    left: 250px;
  }

  .cb-modal-s1-text-1-mobile {
    display: none;
  }

  .cb-modal-s1-text-1 {
    font-weight: bold;
    font-size: 46px;
    line-height: 54px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 3px;
  }

  .cb-modal-s1-text-2 {
    font-size: 24px;
    line-height: 32px;
    color: #ffffff;
    margin-bottom: 75px;
  }

  .cb-modal-s1-text-3 {
    margin: 0 -65px;
    padding: 24px 65px;
    font-weight: bold;
    font-size: 30px;
    line-height: 38px;
    color: #ffffff;
    background: -o-linear-gradient(180.28deg, #7C85FF 38.4%, #A6B3FF 99.72%);
    background: linear-gradient(269.72deg, #7C85FF 38.4%, #A6B3FF 99.72%);
  }

  .cb-modal-s1-text-4 {
    font-size: 14px;
    line-height: 22px;
    color: #8c8c8c;
    margin-bottom: 102px;
  }

  .cb-modal-s1-text-5 {
    font-weight: 500;
    font-size: 26px;
    line-height: 34px;
    color: #262626;
    margin-bottom: 20px;
  }

  .cb-modal-s1-text-6 {
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    margin-bottom: 32px;
  }


  .cb-modal-s1-btn {
    background: #4054f9;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    border: none;
    cursor: pointer;
  }

  .cb-modal-s1-btn:hover {
    background-color: #6070fa;
  }

  .cb-modal-s2-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
  }

  .cb-modal-s2-left-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 778px;
    flex: 0 0 778px;
    padding: 38px 172px 25px 107px;
  }

  .cb-modal-s2-right-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 392px;
    flex: 0 0 392px;
    padding: 84px 137px 0 101px;
    border-radius: 0 8px 8px 0;
    background: url(../img/modals/comebacker/s2-dotts.svg) right top no-repeat,
      -o-linear-gradient(3.79deg, #97A8FF -3.6%, #525BEF 74.83%);
    background: url(../img/modals/comebacker/s2-dotts.svg) right top no-repeat,
      linear-gradient(86.21deg, #97A8FF -3.6%, #525BEF 74.83%);
  }

  .cb-modal-s2-book {
    position: absolute;
    top: 50px;
    right: 146px;
  }

  .cb-modal-s2-text-1 {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #262626;
    margin-bottom: 26px;
  }

  .cb-modal-s2-form__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
    margin-bottom: 26px;
  }

  .cb-modal-s2-form__inner.underline {
    padding-bottom: 20px;
    border-bottom: 1px solid #F5F5F5;
    margin-bottom: 20px;
  }

  .cb-modal-s2-form-item.dgr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
  }

  .cb-modal-s2-form-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .cb-modal-s2-form-submit {
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    background: #4054F9;
    border-radius: 4px;
    padding: 8px 16px;
    margin-right: 33px;
  }

  .cb-modal-s2-form-gift {
    font-style: italic;
    font-size: 13px;
    line-height: 22px;
    color: #8C8C8C;
    margin-top: 9px;
    margin-right: 9px;
  }

  .cb-modal-s2-form-gift span {
    font-weight: 500;
    color: #D46B08;
  }

  .cb-modal-s2-form-arrow {
    width: 62px;
    height: 41px;
    margin-top: 10px;
    background: url(../img/modals/comebacker/arrow.svg) center no-repeat;
  }

  .cb-modal-s2-radio {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    cursor: pointer;
    margin-bottom: 10px;
  }

  .cb-modal-s2-radio input {
    margin-right: 8px;
  }

  .cb-modal-s2-btn {
    margin-top: 25px;
  }

  .cb-modal-s2-user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 22px;
  }

  .cb-modal-s2-user-avatar {
    margin-right: 17px;
  }

  .cb-modal-s2-user-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #262626;
  }

  .cb-modal-s2-user-company {
    font-size: 14px;
    line-height: 22px;
    color: #8c8c8c;
  }

  .cb-modal-s2-text-2 {
    font-size: 16px;
    line-height: 24px;
    color: #595959;
  }

  .cb-modal-s2-text-2-tablet {
    display: none;
  }

  .cb-modal-s3-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 526px;
  }

  .cb-modal-s3-left-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 105px 68px 0 100px;
  }

  .cb-modal-s3-right-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 134px 132px 0 121px;
    background: #f5f5f5;
    border-radius: 0 8px 8px 0;
  }

  .cb-modal-s3-text-1 {
    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    color: #262626;
    margin-bottom: 33px;
  }

  .cb-modal-s3-text-2 {
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    margin-bottom: 23px;
  }

  .cb-modal-s3-text-3 {
    font-size: 16px;
    line-height: 24px;
    color: #595959;
  }

  .cb-modal-s3-form-label {
    font-size: 14px;
    line-height: 22px;
    color: #262626;
    margin-bottom: 2px;
  }

  .cb-modal-s3-form-input {
    height: 40px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    width: 100%;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    padding: 0 12px;
    outline: none !important;
  }

  .cb-modal-s3-form-input:focus {
    -webkit-box-shadow: 0px 0px 4px rgba(24, 144, 255, 0.5);
    box-shadow: 0px 0px 4px rgba(24, 144, 255, 0.5);
  }

  .cb-modal-s3-form-btn {
    background: #4054f9;
    border-radius: 4px;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    height: 40px;
    width: 100%;
    margin-bottom: 15px;
    cursor: pointer;
    border: none;
  }

  .cb-modal-s3-form-btn:hover {
    background-color: #6070fa;
  }

  .cb-modal-s3-form-checkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 14px;
    line-height: 22px;
    color: #595959;
    margin-right: -15px;
    cursor: pointer;
  }

  .cb-modal-s3-form-checkbox input {
    margin-right: 8px;
  }

  .cb-modal-s3-form-checkbox a {
    color: #4054f9;
  }

  .cb-modal-s4-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 526px;
  }

  .cb-modal-s4-left-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 84px 61px 0 100px;
  }

  .cb-modal-s4-right-col {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 112px 34px;
    background: #f5f5f5;
    border-radius: 0 8px 8px 0;
  }

  .cb-modal-s4-text-1 {
    font-weight: 500;
    font-size: 30px;
    line-height: 38px;
    color: #262626;
    margin-bottom: 21px;
  }

  .cb-modal-s4-text-2 {
    font-size: 14px;
    line-height: 22px;
    color: #595959;
    margin-bottom: 35px;
  }

  .cb-modal-s4-btn {
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    background: #4054f9;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
  }

  .cb-modal-s4-btn:hover {
    background-color: #6070fa;
  }

  .cb-modal-s4-video {
    width: 507px;
    height: 286px !important;
    min-height: auto !important;
    max-height: none !important;
  }
}

@media (max-width: 1200px) and (min-width: 568px) {
  .cb-modal {
    width: 710px;
    height: auto;
    position: relative;
    margin: auto;
    background: #fff;
    border-radius: 8px;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-name: cb-scale-show;
    animation-name: cb-scale-show
  }

  .cb-modal-close {
    position: absolute;
    right: -24px;
    top: -24px;
    cursor: pointer;
  }

  .cb-modal-close-mobile {
    display: none;
  }

  .cb-modal-s1-left-col {
    background: -o-linear-gradient(98.25deg, #97A8FF 2.5%, #525BEF 98.62%);
    background: linear-gradient(351.75deg, #97A8FF 2.5%, #525BEF 98.62%);
    border-radius: 8px 8px 0 0;
    height: 194px;
    padding: 27px 220px 26px 44px;
  }

  .cb-modal-s1-right-col {
    padding: 77px 44px 30px;
  }

  .cb-modal-s1-book {
    position: absolute;
    width: 198px;
    top: 21px;
    right: 44px;
  }

  .cb-modal-s1-text-1-mobile {
    display: none;
  }

  .cb-modal-s1-text-1 {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    text-transform: uppercase;
    color: #FFFFFF;
  }

  .cb-modal-s1-text-2 {
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    margin-bottom: 13px;
  }

  .cb-modal-s1-text-2 br {
    display: none;
  }

  .cb-modal-s1-text-3 {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
  }

  .cb-modal-s1-text-3 br {
    display: none;
  }

  .cb-modal-s1-text-4 {
    font-size: 14px;
    line-height: 22px;
    color: #8c8c8c;
    margin-bottom: 15px;
  }

  .cb-modal-s1-text-5 {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #262626;
    margin-bottom: 20px;
  }

  .cb-modal-s1-text-6 {
    font-size: 16px;
    line-height: 24px;
    color: #595959;
    margin-bottom: 32px;
  }

  .cb-modal-s1-btn {
    background: #4054f9;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    width: 100%;
    border: none;
    cursor: pointer;
  }

  .cb-modal-s2-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .cb-modal-s2-left-col {
    padding: 78px 44px 30px;
  }

  .cb-modal-s2-right-col {
    background: -o-linear-gradient(98.25deg, #97A8FF 2.5%, #525BEF 98.62%);
    background: linear-gradient(351.75deg, #97A8FF 2.5%, #525BEF 98.62%);
    height: 194px;
    border-radius: 8px 8px 0 0;
  }

  .cb-modal-s2-book {
    position: absolute;
    width: 198px;
    height: auto;
    top: 21px;
    left: 50%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }

  .cb-modal-s2-text-1 {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #262626;
    margin-bottom: 20px;
  }

  .cb-modal-s2-text-1 br {
    display: none;
  }

  .cb-modal-s2-form__inner {
    margin-bottom: 15px;
  }

  .cb-modal-s2-form__inner.underline {
    padding-bottom: 20px;
    border-bottom: 1px solid #F5F5F5;
    margin-bottom: 20px;
  }

  .cb-modal-s2-form-item {
    margin-bottom: 14px;
  }

  .cb-modal-s2-form-item:last-child {
    margin-bottom: 0;
  }

  .cb-modal-s2-form__inner {
    margin-bottom: 15px;
  }

  .cb-modal-s2-form-item.dgr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 10px;
    width: 234px;
  }

  .cb-modal-s2-form-approval {
    margin-bottom: 20px;
  }

  .cb-modal-s2-form-approval a {
    display: block;
  }

  .cb-modal-s2-form-submit {
    background: #4054F9;
    border-radius: 4px;
    padding: 8px;
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
  }

  .cb-modal-s2-form-gift,
  .cb-modal-s2-form-arrow {
    display: none;
  }

}

@media (max-width: 568px) {
  .cb-modal {
    position: relative;
    background: #fff;
    overflow: auto;
    margin-top: 30px !important;
  }

  .cb-modal-close {
    display: none;
  }

  .cb-modal-close-mobile {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .cb-modal-s1-left-col {
    min-height: 105px;
    padding: 18px 147px 15px 18px;
    background: -o-linear-gradient(3.79deg, #97A8FF -3.6%, #525BEF 74.83%);
    background: linear-gradient(86.21deg, #97A8FF -3.6%, #525BEF 74.83%);
  }

  .cb-modal-s1-right-col {
    padding: 52px 15px 30px;
  }

  .cb-modal-s1-book {
    position: absolute;
    top: 14px;
    right: 15px;
    width: 102px;
    height: 113px;
  }

  .cb-modal-s1-text-1 {
    display: none;
  }

  .cb-modal-s1-text-2 {
    display: none;
  }

  .cb-modal-s1-text-3 {
    display: none;
  }

  .cb-modal-s1-text-1-mobile {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
  }

  .cb-modal-s1-text-4 {
    width: calc(100% - 102px);
    font-size: 14px;
    line-height: 22px;
    color: #8c8c8c;
    margin-bottom: 15px;
  }

  .cb-modal-s1-text-5 {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #262626;
    margin-bottom: 16px;
  }

  .cb-modal-s1-text-6 {
    font-size: 14px;
    line-height: 22px;
    color: #595959;
    margin-bottom: 20px;
  }

  .cb-modal-s1-btn {
    background: #4054f9;
    border-radius: 4px;
    padding: 5px 16px;
    font-size: 14px;
    line-height: 22px;
    color: #ffffff;
    width: 100%;
    border: none;
    cursor: pointer;
  }

  .cb-modal-s2-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .cb-modal-s2-left-col {
    padding: 52px 15px 30px;
  }

  .cb-modal-s2-right-col {
    background: -o-linear-gradient(3.79deg, #97A8FF -3.6%, #525BEF 74.83%);
    background: linear-gradient(86.21deg, #97A8FF -3.6%, #525BEF 74.83%);
    padding: 12px 15px;
    height: 98px;
  }

  .cb-modal-s2-book {
    width: 102px;
    height: auto;
    position: absolute;
    top: 7px;
    left: 50%;
    -webkit-transform: translate(-50%);
    -ms-transform: translate(-50%);
    transform: translate(-50%);
  }

  .cb-modal-s2-text-1 {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #262626;
    margin-bottom: 20px;
  }

  .cb-modal-s2-form__inner {
    margin-bottom: 15px;
  }

  .cb-modal-s2-form__inner.underline {
    padding-bottom: 20px;
    border-bottom: 1px solid #F5F5F5;
    margin-bottom: 20px;
  }

  .cb-modal-s2-form-item {
    margin-bottom: 14px;
  }

  .cb-modal-s2-form-item:last-child {
    margin-bottom: 0;
  }

  .cb-modal-s2-form-item.dgr {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0 10px;
    width: 234px;
  }

  .cb-modal-s2-form-approval {
    margin-bottom: 20px;
  }

  .cb-modal-s2-form-approval a {
    display: block;
  }

  .cb-modal-s2-form-submit {
    background: #4054F9;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    width: 100%;
  }

  .cb-modal-s2-form-gift,
  .cb-modal-s2-form-arrow {
    display: none;
  }

}