.widget {
	position: fixed;
	z-index: 99;
	bottom: 0;
	right: 0;
	width: fit-content;
}

.widget.active {
	width: 100%;
}

@media (min-width: 601px) {
	.widget {
			left: inherit;
			right: 24px;
			bottom: 24px;
	}
	.widget.active {
		width: fit-content;
	}
}

.widget .widget__icon {
  display: flex;
  flex: 0 0 auto;
  max-width: 74px;
  margin-right: 16px;
  margin-bottom: 16px;
  cursor: pointer;
}

@media (min-width: 601px) {
  .widget .widget__icon {
      max-width: 100px;
      margin-right: 0;
      margin-bottom: 0;
  }
}

.widget .widget__box {
  box-shadow: 0 4px 32px 0 rgba(150, 150, 150, 0.32);
  width: 100%;
  display: none;
}

@media (min-width: 601px) {
  .widget .widget__box {
      max-width: 400px;
  }
}

.widget .widget__head {
  border-radius: 12px 12px 0 0;
  padding: 16px;
  background: #4650f1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  height: 100%;
}

@media (min-width: 601px) {
  .widget .widget__head {
      border-radius: 16px 16px 0 0;
      padding: 20px 16px;
      min-height: 76px;
  }
}

.widget .widget__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.widget .widget__logo img {
  max-width: 30px;
  flex: 0 0 auto;
  display: flex;
  display: none;
}

.widget .widget__logo span {
  font-weight: 600;
  font-size: 18px;
  line-height: 133%;
  color: #fff;
}

@media (min-width: 601px) {
  .widget .widget__logo img {
      max-width: 35px;
  }
  .widget .widget__logo span {
      font-size: 22px;
      line-height: 109%;
  }
}

.widget .widget__close {
  display: flex;
  flex: 0 0 auto;
  cursor: pointer;
  max-width: 30px;
  margin-top: -6px;
}

@media (min-width: 601px) {
  .widget .widget__close {
      max-width: 35px;
  }
}

.widget .widget__body {
  padding: 20px 16px;
  background: #fff;
}

.widget .widget__body h3 {
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #2e2e2e;
  margin-bottom: 20px;
  margin-top: 0;
  border: none;
}

@media (min-width: 601px) {
  .widget .widget__body h3 {
      font-size: 16px;
      line-height: 125%;
  }
}

.widget .widget__body ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  margin: 0;
}

.widget .widget__body ul li {
  border: 1px solid #DCDCEA;
  border-radius: 8px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.widget .widget__body ul li.single {
  grid-column: span 2;
}

.widget .widget__body ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: inherit;
  height: 100%;
  width: 100%;
  justify-content: center;
}

.widget .widget__body ul li img {
  display: flex;
  flex: 0 0 auto;
}

.widget .widget__body ul li span {
  font-weight: 500;
  font-size: 12px;
  line-height: 133%;
  color: #2e2e2e;
}

.widget .widget__form ::-webkit-input-placeholder {
  color: #a7a7a7;
}

.widget .widget__form ::-moz-placeholder {
  color: #a7a7a7;
}

.widget .widget__form ::-ms-input-placeholder {
  color: #a7a7a7;
}

.widget .widget__form ::placeholder {
  color: #a7a7a7;
}

.widget .widget__form :-ms-input-placeholder {
  color: #a7a7a7;
}

.widget .widget__form {
  display: none;
}

.widget .widget__form .widget__form-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.widget .widget__form .widget__form-item {
  width: 100%;
  display: flex;
  max-width: 100%;
  height: 100%;
}

.widget .widget__form .widget__form-input {
  width: 100%;
  padding-left: 16px;
  -webkit-appearance: none;
  outline: 0;
  border: 1px solid #DCDCEA;
  border-radius: 8px;
  color: #2e2e2e;
  font-weight: 500;
  font-size: 14px;
  line-height: 129%;
  height: 48px;
  background: #f8f8fa;
}

.widget .widget__form .widget__form-footer {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 25px;
}

.widget .widget__form .widget__form-checkbox {
  position: absolute;
  cursor: pointer;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: #4650f1;
  border-radius: 3px;
  border: none;
}

.widget .widget__form .widget__form-checkbox input {
  display: none;
}

.widget .widget__form .widget__form-icon {
  line-height: 0;
  font-size: 0;
}

.widget .widget__form .widget__form-icon::before {
  display: none;
  content: url('../img/widget/check.svg');
}

.widget .widget__form input:checked + .widget__form-icon:before {
  display: block;
}

.widget .widget__form .widget__form-text {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: #2e2e2e;
}

.widget .widget__form .widget__form-link {
  color: inherit;
}

.widget .widget__form-button {
  background: #4650f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 8px;
  height: 48px;
  font-weight: 500;
  font-size: 14px;
  line-height: 129%;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: 0;
  -webkit-appearance: none;
}

.widget .widget__thanks {
  display: none;
}

.widget .widget__thanks .widget__thanks-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex: 0 0 auto;
}
