:root {
  --color-1: #3398d4;
  --color-2: #fec32c;
  --color-3: #2bdc82;
  --color-4: #fd1010;
  --bg-main-1: #fff;
  --bg-gray-1: #a7a7a7;
  --bg-black-1: #2c303b;
  --bg-black-1-active: #3d3f55;
  --bg-black-2: #22232a;
  --bg-black-2-active: #5b5d6c;
  --border-gray-1: #e3e5ed;
  --border-gray-2: #e6ecf233;
  --border-gray-3: #e0e0e0;
  --text-main-1: #fff;
  --text-gray-1: #a7a7a7;
  --text-gray-2: #e0e0e0;
  --text-gray-3: #bbbcc4;
  --text-black-1: #222;
  --text-black-1-less: #3d3e56;
  --module-width-1: 720px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Roboto";
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

li::marker {
  content: none;
}

button {
  outline: 0;
  border: 0;
  cursor: pointer;
}

textarea {
  outline: 0;
  border: 0;
}

.spin-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--bg-main);
}

.spin-wrapper .spinner {
  position: absolute;
  height: 60px;
  width: 60px;
  border: 3px solid transparent;
  border-top-color: var(--color-1);
  top: 50%;
  left: 50%;
  margin: -30px;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.spin-wrapper .spinner::before, .spin-wrapper .spinner::after {
  content: "";
  position: absolute;
  border: 3px solid transparent;
  border-radius: 50%;
}

.spin-wrapper .spinner::before {
  border-top-color: var(--color-1);
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  animation: spin 3s linear infinite;
}

.spin-wrapper .spinner::after {
  border-top-color: var(--color-1);
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.scrollbar {
  overflow: overlay;
}

.scrollbar::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

.scrollbar.not_mobile::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.scrollbar::-webkit-scrollbar-track {
  background: var(--bg-black-1);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.scrollbar::-webkit-scrollbar-thumb {
  background: var(--color-1);
  border-radius: 8px;
  transition: background-color 0.2s ease;
  border: 2px solid var(--bg-black-1);
}

.scrollbar-white {
  overflow: overlay;
}

.scrollbar-white::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

.scrollbar-white.not_mobile::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.scrollbar-white::-webkit-scrollbar-track {
  background: var(--bg-main-1);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.scrollbar-white::-webkit-scrollbar-thumb {
  background: var(--color-1);
  border-radius: 8px;
  transition: background-color 0.2s ease;
  border: 2px solid var(--bg-main-1);
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  line-height: 52px;
  font-weight: 800;
  margin: 0 0 40px 0;
}

h2 {
  font-size: 25px;
  font-weight: bold;
  line-height: 35px;
  color: var(--bg-black-1);
  margin: 0 0 30px 0;
}

h3 {
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
  color: var(--bg-black-1);
  margin: 0 0 16px 0;
}

h4 {
  font-size: 18px;
  font-weight: bold;
  line-height: 26px;
  color: var(--bg-black-1);
  margin: 0 0 10px 0;
}

.tooltip {
  position: fixed;
  text-align: center;
  color: var(--text-black-1);
  background: var(--bg-main-1);
  z-index: 10000;
  pointer-events: none;
  margin-top: 10px;
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 4px 4px 8px 0px #223c5033;
  max-width: 400px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  cursor: auto;
}

.modal.active {
  display: flex;
}

.modal__bg {
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #00000066;
  z-index: -1;
}

.modal__body {
  max-width: 800px;
  width: 100%;
  background: var(--bg-main-1);
  position: relative;
  border-radius: 30px;
  padding: 30px 0 0 0;
  margin: 0 30px;
  overflow: hidden;
}

.modal__content {
  display: flex;
  flex-direction: column;
  max-height: 70vh;
  overflow: auto !important;
  padding: 0 30px 30px 30px;
}

.modal__cross {
  position: absolute;
  font-size: 24px;
  top: auto;
  right: 24px;
  cursor: pointer;
}

.modal__title {
  display: flex;
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
  color: var(--bg-black-1);
  margin: 0 30px 16px 30px;
}

.modal__item {
  display: flex;
  border-top: 1px solid #eaebf2;
}

.modal__item-name {
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  width: 200px;
  padding: 18px 20px;
  font-weight: 700;
  color: var(--text-black-1);
  font-size: 15px;
  flex-shrink: 0;
  background: #f8f8fb;
}

.modal__item-name-text {
  display: flex;
  margin-top: 4px;
}

.modal__buttons {
  display: flex;
  padding: 18px 20px;
  border-top: 1px solid #eaebf2;
}

.modal__button {
  padding: 8px 12px;
  background-color: var(--color-1);
  margin: 0 16px 0 0;
  color: var(--text-main-1);
  border-radius: 8px;
  cursor: pointer;
}

.modal__edit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: -6px -6px 0 0;
  padding: 10px;
  font-size: 16px;
  margin-left: auto;
  color: var(--color-1);
  cursor: pointer;
}

.modal__cancel {
  color: var(--text-black-1);
  background: #eaebf2;
}

.modal__delete {
  margin: 0;
  margin-left: auto;
  color: var(--text-black-1);
  background: var(--text-main-1);
  border: solid 1px #eaebf2;
}

.modal .specialists__item .modal__content {
  padding: 0 !important;
}

@media (max-width: 767px) {
  .modal__item {
    flex-direction: column;
    position: relative;
  }
  .modal__item-name {
    width: 100%;
  }
  .modal__item-name-text {
    margin-top: 0;
  }
  .modal__body {
    margin: 0 15px;
  }
  .modal__title {
    margin: 16px;
  }
  .modal__edit {
    position: absolute;
    height: 54px;
    width: 54px;
    right: 0;
    top: 0;
    margin: 0;
    padding: 0;
  }
  .modal__content {
    max-height: 45vh;
  }
  .modal__buttons {
    flex-direction: column;
  }
  .modal__button {
    margin: 0 0 16px 0;
    text-align: center;
  }
  .modal__delete {
    margin: 0;
  }
}

.input__wrap > input {
  display: flex;
  align-items: center;
  height: 44px;
  outline: 0;
  border: 1px solid var(--border-gray-1);
  color: var(--bg-black-1);
  font-size: 16px;
  line-height: 24px;
  padding: 9px 16px;
  border-radius: 8px;
}

.input__wrap {
  display: flex;
  position: relative;
}

.input__wrap > input {
  transition: all 0.2s ease;
}

.input__wrap > span {
  color: var(--text-gray-1);
  position: absolute;
  pointer-events: none;
  font-size: 16px;
  left: 16px;
  top: calc(50% - 9px);
  background: transparent;
  transition: all 0.2s ease;
}

.input__wrap > span.active,
.input__wrap > input:hover + span,
.input__wrap > input:focus + span,
.input__wrap > input:focus-within + span {
  background: var(--bg-main-1);
  color: var(--color-1);
  font-size: 12px;
  top: -6px;
  border-radius: 3px;
  padding: 0 3px;
}

.input__wrap > input:hover,
.input__wrap > input:focus,
.input__wrap > input:focus-within {
  border-color: var(--color-1);
}

.checkbox__wrap {
  display: flex;
  align-items: center;
  position: relative;
}

.checkbox__wrap > input {
  display: none;
  position: absolute;
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}

.checkbox__wrap > label {
  font-size: 16px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: var(--bg-black);
}

.checkbox__wrap
.checkbox__wrap > label::before {
  content: "";
  display: flex;
  flex-shrink: 0;
  height: 16px;
  width: 16px;
  margin: 0 16px 0 0;
  background: var(--button-gray-1);
  border-radius: 4px;
  border: solid 1px black;
}

.checkbox__wrap > input:checked + label::before {
  background: var(--color-1);
  border: solid 1px var(--color-1);
}

.checkbox__wrap > input:checked + label::after {
  border: solid 1px var(--color-1);
  content: "";
  display: flex;
  position: absolute;
  height: 16px;
  width: 16px;
  left: 0;
  flex-shrink: 0;
  border-radius: 4px;
  background: no-repeat center/75% url(./img/checkmark.svg);
}

.textarea__wrap {
  display: flex;
  position: relative;
}

.textarea__wrap > textarea {
  border: 1px solid var(--border-gray-1);
  background: var(--bg-main-1);
  display: flex;
  min-width: 100%;
  min-height: 100px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--bg-black-1);
  transition: all 0.2s ease;
}

.textarea__wrap > span {
  color: var(--text-gray-1);
  position: absolute;
  pointer-events: none;
  font-size: 16px;
  left: 16px;
  top: 54px;
  background: transparent;
  transition: all 0.2s ease;
}

.textarea__wrap > span.active,
.textarea__wrap > textarea:hover + span,
.textarea__wrap > textarea:focus + span,
.textarea__wrap > textarea:focus-within + span {
  background: var(--bg-main-1);
  color: var(--color-1);
  font-size: 12px;
  top: -6px;
  border-radius: 3px;
  padding: 0 3px;
}

textarea:hover,
textarea:focus,
textarea:focus-within {
  border-color: var(--color-1);
}

.textarea__wrap > textarea.not_mobile::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.textarea__wrap > textarea::-webkit-scrollbar-track {
  background: var(--bg-main-1);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.textarea__wrap > textarea::-webkit-scrollbar-thumb {
  background: var(--color-1);
  border-radius: 8px;
  transition: background-color 0.2s ease;
  border: 2px solid var(--bg-main-1);
}

.form__add,
.form__remove,
.form__restore {
  align-self: center;
  background: var(--color-1);
  color: var(--text-main-1);
  font-size: 16px;
  transition: color 0.1s ease-in;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.form__add i,
.form__remove i {
  transform: rotate(45deg);
}

.form__add {
  flex-shrink: 0;
  order: 9999;
  margin: auto 0 0 16px;
}

.form__remove,
.form__restore {
  margin-left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  flex-shrink: 0;
}

.form__remove > span {
  display: flex;
  transform: rotate(45deg);
}

.form__blank {
  width: 60px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .form__add {
    position: absolute;
    top: 60px;
    right: 0;
  }
  .form__remove {
    position: absolute;
    top: 0;
    right: 0;
  }
}

.form__upload-button {
  display: flex;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 33%;
  background: var(--color-1);
  cursor: pointer;
  border-radius: 20px;
}

@media (max-width: 991px) {
  .form__upload-button {
    padding: 25%;
  }
}

.form__upload-button > input {
  display: none;
}

.form__upload-button > span {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: solid 5px var(--bg-main-1);
}

.form__upload-button > span > i {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.form__upload-button > span > i::before,
.form__upload-button > span > i::after {
  content: "";
  height: 50%;
  width: 5px;
  background-color: var(--bg-main-1);
}

.form__upload-button > span > i::after {
  transform: rotate(90deg);
  margin-left: -5px;
}

.alert {
  display: flex;
  position: fixed;
  z-index: 100000;
  background-color: #000000cc;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  cursor: auto;
  overflow: auto;
}

.alert__container {
  box-sizing: border-box;
  padding: 20px 20px;
  background: #fff;
  border-radius: 20px;
  max-width: 380px;
  width: 100%;
  margin: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.alert__container > i {
  display: none;
  font-size: 96px;
  font-weight: 300;
}

.alert__text {
  font-size: 21px;
  margin: 20px 0 25px 0;
  text-align: center;
}

.alert__buttons {
  display: flex;
  margin-top: auto;
  justify-content: space-around;
  width: 100%;
}

.alert__button {
  display: flex;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  background-color: var(--color-1);
  color: var(--text-main-1);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 100px;
}

.alert__yes {
  order: 2;
}

.alert__no {
  order: 1;
  background-color: #687b87;
}

.alert__options {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.alert__options .alert__button {
  width: auto;
  height: auto;
  margin-bottom: 16px;
  padding: 5px 20px;
  text-align: center;
}

.alert__options .alert__button:last-child {
  margin-bottom: 0;
}

.alert__option1 {
  background-color: var(--bg-main-1);
  color: var(--color-1);
  border: solid 1px var(--color-1);
}

@media (max-width: 767px) {
  /* .alert__container > i {
		font-size: 64px;
	}
	.alert__text {
		font-size: 26px;
	} */
}

.no-highlight {
  -webkit-tap-highlight-color: #00000000;
}

.rating {
  color: #ffaa30;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-right: 6px;
  word-break: normal;
}

.rating > i {
  display: flex;
  flex-shrink: 0;
  margin-left: 6px;
  font-size: 12px;
}

input.invalid {
  border-color: var(--color-4) !important;
}

input.invalid + span {
  color: var(--color-4) !important;
}

.requests__value > img,
.mod__value > img {
  max-height: 250px;
  max-width: 250px;
}
