.modal__custom {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
}

.modal__custom.open {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__custom-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.5);
}

.modal__custom-wrapper {
  width: 60rem;
  height: auto;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  background-color: #f4f4f4;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.modal__custom-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 15px;
}

.modal__custom-head-title {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}

.modal__custom-head-close {
  min-width: 25px;
  max-width: 25px;
}

.modal__custom-head-steps {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  column-gap: 2px;
}

.modal__custom-head-step {
  display: flex;
  width: 100%;
  height: 3px;
  background: #c8ccd4;
}

.modal__custom-head-step.active {
  background: #1e5d9d99;
}

.modal__custom-head-step.passed {
  background: #1e5d9d;
}
.modal__custom-step {
  border: none;
}
.modal__custom-steps {
  margin-top: 40px;
}

.modal__custom-step {
  display: none;
  width: 100%;
}

.modal__custom-step.active {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.modal__custom-step-label {
  display: flex;
  flex-direction: column;
  row-gap: 15px;
}

.modal__custom-step-label label {
  cursor: pointer;
}

.modal__custom-step-label label.checkbox-disabled {
  cursor: default;
}

.modal__custom-step-label-title {
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
  color: #4d4d4d;
}

.modal__custom-step-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal__custom-step-input {
  width: 100%;
}

.modal__custom-step-input.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.modal__custom-step-input-w-50 {
  width: calc((100% - 10px) / 2);
}

.modal__custom-step-input-checkbox-swipe {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal__custom-step-input-checkbox-swipe.checkbox-swipe-disabled {
  cursor: not-allowed;
}

.modal__custom-step-input-checkbox-swipe input {
  display: none;
}

.modal__custom-step-input-checkbox-swipe-wrapper {
  display: inline-block;
  position: relative;
  width: 40px;
  height: 24px;
  background-color: #c8ccd4;
  border-radius: 87px;
  -webkit-border-radius: 87px;
  -moz-border-radius: 87px;
  -ms-border-radius: 87px;
  -o-border-radius: 87px;
  transition: background 0.3s ease-in-out;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  -ms-transition: background 0.3s ease-in-out;
  -o-transition: background 0.3s ease-in-out;
}

.modal__custom-step-input-checkbox-swipe-round_icon {
  display: block;
  position: absolute;
  left: 2px;
  top: 2px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transition: transform 0.3s ease-in-out;
  -webkit-transition: transform 0.3s ease-in-out;
  -moz-transition: transform 0.3s ease-in-out;
  -ms-transition: transform 0.3s ease-in-out;
  -o-transition: transform 0.3s ease-in-out;
}

.modal__custom-step-input-checkbox-swipe-text {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: #595959;
}

.modal__custom-step-input-checkbox-swipe-text-active {
  display: none;
}

input:checked ~ .modal__custom-step-input-checkbox-swipe-wrapper {
  background-color: #e1e5ed;
}

input:checked
  ~ .modal__custom-step-input-checkbox-swipe-wrapper
  .modal__custom-step-input-checkbox-swipe-round_icon {
  transform: translateX(16px);
  -webkit-transform: translateX(16px);
  -moz-transform: translateX(16px);
  -ms-transform: translateX(16px);
  -o-transform: translateX(16px);
}

input:checked
  ~ .modal__custom-step-input-checkbox-swipe-text
  .modal__custom-step-input-checkbox-swipe-text-active {
  display: block;
}

input:checked
  ~ .modal__custom-step-input-checkbox-swipe-text
  .modal__custom-step-input-checkbox-swipe-text-unactive {
  display: none;
}

.modal__custom-step-input-checkbox {
  display: block;
}

.modal__custom-step-input-checkbox input {
  display: none;
}

.modal__custom-step-input-checkbox-content {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.modal__custom-step-input-checkbox-content-consent {
  align-items: flex-start;
}

.modal__custom-step-input-checkbox-icon {
  display: flex;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid #1e5d9d;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.modal__custom-step-input.error .modal__custom-step-input-checkbox-icon {
  border-color: #f60000;
  box-shadow: 0px 0px 4px 1px rgba(246, 0, 0, 0.5);
  -webkit-box-shadow: 0px 0px 4px 1px rgba(246, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 4px 1px rgba(246, 0, 0, 0.5);
}

.modal__custom-step-input-checkbox-icon-consent {
  min-width: 20px;
  max-width: 20px;
  height: 20px;
}

.checkbox-disabled .modal__custom-step-input-checkbox-icon {
  border-color: #c8ccd4;
}

.modal__custom-step-input-checkbox-icon svg {
  display: none;
}

.modal__custom-step-input-checkbox-text {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: #4d4d4d;
}

.checkbox-disabled .modal__custom-step-input-checkbox-text {
  color: #c4c4c4;
}

.modal__custom-step-input-checkbox-text-consent {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  color: #8a8a8a;
}

.modal__custom-step-input-checkbox-text-consent a {
  color: inherit;
  text-decoration: underline;
}

.modal__custom-step-input-text {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 16px;
  display: flex;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.modal__custom-step-input-text.text-disabled {
  pointer-events: none;
  cursor: not-allowed;
}

.modal__custom-step-input-placeholder {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);

  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  color: #6c6a77;
}

.modal__custom-step-input-placeholder-required {
  color: #d9012a;
}

.text-disabled .modal__custom-step-input-placeholder {
  color: #6c6a77;
}

.text-disabled .modal__custom-step-input-placeholder-required {
  color: #d9012a;
}

.modal__custom-step-input-text input,
.modal__custom-step-input-select input {
  position: relative;
  top: 7px;
  width: 100%;
  border: none;
  outline: unset;
  background: transparent;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

.modal__custom-step-input-select input {
  padding-right: 20px;
}

.modal__custom-step-input.error .modal__custom-step-input-text,
.modal__custom-step-input.error .modal__custom-step-input-select {
  box-shadow: 0px 0px 4px 1px rgba(246, 0, 0, 0.5);
  -webkit-box-shadow: 0px 0px 4px 1px rgba(246, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 4px 1px rgba(246, 0, 0, 0.5);
}

input:checked
  ~ .modal__custom-step-input-checkbox-content
  .modal__custom-step-input-checkbox-icon {
  background-color: #1e5d9d;
}

.checkbox-disabled
  input:checked
  ~ .modal__custom-step-input-checkbox-content
  .modal__custom-step-input-checkbox-icon {
  background-color: #c8ccd4;
}

input:checked
  ~ .modal__custom-step-input-checkbox-content
  .modal__custom-step-input-checkbox-icon
  svg {
  display: block;
}

input.focused ~ .modal__custom-step-input-placeholder,
input.has-value ~ .modal__custom-step-input-placeholder {
  /* display: none; */
  top: 18px;
  font-size: 11px;
}

.modal__custom-step-info {
  display: flex;
  align-items: center;
  padding: 15px;
  column-gap: 15px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  background-color: #ffffff;
}

.modal__custom-step-info-icon {
  max-width: 24px;
  min-width: 24px;
}

.modal__custom-step-info-text {
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  color: #6c6a77;
}

.modal__custom-step-info-text-important {
  font-weight: 600;
  color: #1e5d9d;
}

.modal__custom-step-prev-content {
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
}

.modal__custom-step-button-prev {
  cursor: pointer;

  display: flex;
  align-items: center;
  column-gap: 5px;

  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #595959;
}

.modal__custom-step-prev-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal__custom-step-prev-link {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  background-color: #e6e6e6;
  color: #272727;
  transition:
    color 0.3s ease-in-out,
    background 0.3s ease-in-out;
  -webkit-transition:
    color 0.3s ease-in-out,
    background 0.3s ease-in-out;
  -moz-transition:
    color 0.3s ease-in-out,
    background 0.3s ease-in-out;
  -ms-transition:
    color 0.3s ease-in-out,
    background 0.3s ease-in-out;
  -o-transition:
    color 0.3s ease-in-out,
    background 0.3s ease-in-out;
}

.modal__custom-step-prev-link:hover {
  background-color: #1e5d9d;
  color: #ffffff;
}

.button.modal__custom-button {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
}

.modal__custom-button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button .modal__custom-button-icon svg {
  width: 100%;
  display: block;
  margin: 0;
}

.modal__custom-step-button,
.modal__custom-step-button.button {
  cursor: pointer;
  height: auto;
  padding: 20px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.modal__custom-step-input-radios {
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 10px;
}

.modal__custom-step-input-radio {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.modal__custom-step-input-radio input {
  display: none;
}

.modal__custom-step-input-radio-icon {
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  position: relative;
  border: 1px solid #1e5d9d;
  overflow: hidden;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.modal__custom-step-input-radio-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: #4d4d4d;
}

input:checked ~ .modal__custom-step-input-radio-icon {
  background-color: #1e5d9d;
}

input:checked ~ .modal__custom-step-input-radio-icon:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  background-color: #fff;
}

.modal__custom-step-input-select {
  position: relative;
}

.modal__custom-step-input-select-preview {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  padding: 18px 20px;

  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.modal__custom-step-input-select-preview-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.modal__custom-step-input-select-values {
  display: none;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 230px;
  top: calc(100% + 10px);
  left: 0;
  box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 9%);
  background-color: #ffffff;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
  overflow-y: auto;
}

.modal__custom-step-input-select-value {
  cursor: pointer;
  padding: 12px 20px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  background-color: #ffffff;
  color: #272727;
  transition: background-color 0.3 ease-in-out;
  -webkit-transition: background-color 0.3 ease-in-out;
  -moz-transition: background-color 0.3 ease-in-out;
  -ms-transition: background-color 0.3 ease-in-out;
  -o-transition: background-color 0.3 ease-in-out;
}

.modal__custom-step-input-select-value.hide {
  display: none;
}

.modal__custom-step-input-select-value:hover {
  background-color: #1e5d9d;
  color: #fff;
}

.opened + .modal__custom-step-input-select-values {
  display: block;
}

.additional-pt-10 {
  padding-top: 10px;
}

.modal_custom-add-driver {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 19px;
  border: 1px solid #1e5d9d;
  background-color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  color: #1e5d9d;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
  transition: 0.25s;
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -ms-transition: 0.25s;
  -o-transition: 0.25s;
}

.modal_custom-add-driver:hover {
  background-color: #1e5d9d;
  color: #fff;
}

.modal_custom-add-driver svg {
  stroke: #1e5d9d;
}

.modal_custom-add-driver:hover svg {
  stroke: #fff;
}

.modal_custom-add-driver-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__custom-driver {
  padding-bottom: 20px;
  position: relative;
}

.modal__custom-driver-remove {
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 0;
  min-width: 25px;
  min-height: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__custom-driver + .modal__custom-driver {
  padding-top: 20px;
  border-top: 1px solid #dcdcdc;
}

.modal__custom-driver + .modal__custom-driver .modal__custom-driver-remove {
  top: 20px;
}

.modal__custom-driver:last-child {
  border-bottom: 1px solid #dcdcdc;
}

.modal__custom-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
  margin-bottom: 80px;
}

.modal__custom-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.modal__custom-success-title {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
}

.modal__custom-success-desc {
  display: block;
  margin-top: 4px;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  padding: 0 60px;
}

@media (max-width: 410px) {
  .modal__custom-step-input-placeholder {
    font-size: 12px;
  }
  .modal__custom-step-input-select-preview-arrow {
    width: 16px;
    height: 16px;
  }
}
