.form-select {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 5px;
}
.form-select.active .form-select__field {
  border-color: #636363;
}
.form-select.active .form-select__field_icon {
  transform: rotate(180deg);
}
.form-select.active .form-select__data {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
@media (min-width: 768px) {
  .form-select.active .form-select__data {
    max-height: 260px;
  }
}
.form-select.disabled .form-select__field {
  pointer-events: none;
  border-color: #eaeaea;
  background-color: #f6f6f6;
}
.form-select.disabled .form-select__field_value {
  color: #959595;
}
.form-select.error .form-select__error {
  opacity: 1;
  visibility: visible;
}
.form-select__input {
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  z-index: -1;
  border: none;
  margin: 0;
  padding: 0;
}
.form-select__label {
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.32;
  color: #3f4041;
  margin-bottom: 5px;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .form-select__label {
    font-size: 15px;
  }
}
.form-select__wrap {
  position: relative;
}
.form-select__field {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 13px 10px 13px 14px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  transition: border-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), background-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .form-select__field {
    padding: 18px 10px 18px 14px;
  }
}
.form-select__field:hover {
  border-color: #636363;
}
.form-select__field_value {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.36;
  color: #3f4041;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .form-select__field_value {
    font-size: 15px;
  }
}
.form-select__field_icon {
  flex: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .form-select__field_icon {
    flex: 0 0 10px;
  }
}
.form-select__field_icon svg {
  width: 10px;
  height: 7px;
  color: #3f4041;
}
.form-select__error {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  font-weight: 400;
  line-height: 1.24;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
  font-size: 11px;
  color: #e0252f;
}
@media (min-width: 768px) {
  .form-select__error {
    font-size: 13px;
  }
}
.form-select__swipe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  z-index: 5;
  touch-action: none;
}
.form-select__swipe::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 3px;
  width: 40px;
  background-color: #c6c6c6;
  border-radius: 25px;
}
@media (min-width: 768px) {
  .form-select__swipe {
    display: none;
  }
}
.form-select__placeholder {
  margin-top: 20px;
  padding: 14px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.24;
  color: #3f4041;
}
@media (min-width: 768px) {
  .form-select__placeholder {
    display: none;
  }
}
.form-select__data {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  transform: translateY(100%);
  border: 1px solid #eaeaea;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 20px 0 rgba(0, 0, 0, 0.08);
  background: #fff;
  padding: 0 4px 16px 4px;
  opacity: 0;
  visibility: hidden;
  z-index: 4;
  transition: visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), margin-top 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), margin-bottom 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), max-height 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), transform 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
@media (min-width: 768px) {
  .form-select__data {
    bottom: auto;
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transform: none;
    max-height: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .form-select__data::-webkit-scrollbar {
    width: 2px;
  }
  .form-select__data::-webkit-scrollbar-track {
    background-color: #eaeaea;
  }
  .form-select__data::-webkit-scrollbar-thumb {
    background-color: #ff7100;
  }
}
@media (max-width: 768px) {
  .form-select__list {
    margin-top: 40px;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    max-height: 300px;
  }
}
.form-select__placeholder + .form-select__list {
  margin-top: 0;
}
.form-select__item {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border-radius: 8px;
  padding: 8px 14px;
  overflow: hidden;
  transition: background-color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.form-select__item:hover {
  background-color: #f6f6f6;
}
.form-select__item.selected .form-select__item_label {
  color: #ff7100;
}
.form-select__item.selected .form-select__item_icon {
  opacity: 1;
  visibility: visible;
}
.form-select__item.disabled {
  pointer-events: none;
  user-select: none;
}
.form-select__item.disabled .form-select__item_label {
  color: #c6c6c6;
}
.form-select__item_label {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.36;
  color: #636363;
  transition: color 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
  white-space: nowrap;
}
.form-select__item_icon {
  flex: 0 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.3, 0.1, 0.26, 1), visibility 0.3s cubic-bezier(0.3, 0.1, 0.26, 1);
}
.form-select__item_icon svg {
  width: 14px;
  height: 14px;
  color: #ff7100;
}