@font-face {
  font-family: "Poppins-Regular";
  src: url("../fonts/poppins/Poppins-Regular.ttf");
}
@font-face {
  font-family: "Poppins-Medium";
  src: url("../fonts/poppins/Poppins-Medium.ttf");
}
*,
*::after,
*::before {
  box-sizing: border-box;
}

button,
span {
  letter-spacing: normal;
}

iframe {
  height: calc(100dvh - 105px);
}
@media screen and (max-width: 1280px) {
  iframe {
    height: calc(100dvh - 56px);
  }
}

header {
  position: relative;
  z-index: 100000;
}

.container {
  padding-left: 32px;
  padding-right: 32px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.legend__wrapper {
  position: absolute;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #999;
  bottom: 24px;
  left: 32px;
  width: 100%;
  max-width: 328px;
  background-color: white;
  z-index: 9999;
  font-size: 0.7rem;
  padding: 16px;
  border-radius: 8px;
  line-height: 1.5;
  transition: all 0.3s ease;
}
@media screen and (max-width: 1080px) {
  .legend__wrapper {
    max-width: 280px;
  }
}
@media screen and (max-width: 767px) {
  .legend__wrapper {
    max-width: 100%;
    opacity: 0;
    visibility: hidden;
  }
}

.legend__close {
  position: absolute;
  right: 5px;
  background: none;
  border: none;
  color: grey;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.legend__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: Poppins;
  font-weight: 500;
  font-size: 18px;
  color: #353535;
  margin-bottom: 16px;
}

.legend__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Poppins;
  font-weight: 400;
  font-size: 14px;
  color: #232323;
}
.legend__item img {
  object-fit: contain;
}

.gmaps-button-wrapper {
  position: absolute;
  bottom: 292px;
  left: 32px;
  z-index: 10;
  max-width: 200px;
  width: 100%;
  overflow: hidden;
  letter-spacing: normal;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.3215686275);
  border-radius: 4px;
}
@media screen and (max-width: 1080px) {
  .gmaps-button-wrapper {
    bottom: 392px;
  }
}
.gmaps-button-wrapper.apple-maps {
  bottom: 379px;
  left: 32px;
}
@media screen and (max-width: 1080px) {
  .gmaps-button-wrapper.apple-maps {
    bottom: 479px;
    left: 32px;
  }
}
@media screen and (max-width: 767px) {
  .gmaps-button-wrapper {
    max-width: 135px;
  }
  .gmaps-button-wrapper {
    left: 16px;
    bottom: 208px;
  }
  .gmaps-button-wrapper.apple-maps {
    left: 16px;
    bottom: 282px;
  }
}

.gmaps-description {
  font-family: Poppins;
  font-weight: 400;
  font-size: 10px;
  color: #9c9c9c;
  padding: 2px 10px;
  background: rgba(128, 128, 128, 0.07);
  letter-spacing: normal;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .gmaps-description {
    font-family: Poppins;
    font-weight: 400;
    font-size: 8px;
    line-height: 100%;
    text-align: center;
    padding: 2px 12px;
  }
}

.gmaps-button {
  background-color: #ffffff;
  color: white;
  border: none;
  padding: 0px;
  border-radius: 6px 6px 4px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  letter-spacing: normal;
}
.gmaps-button:hover {
  background-color: #ffffff;
}
.gmaps-button:hover span {
  opacity: 1;
  transform: none;
}

.gmaps-button__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}
.gmaps-button__icon-wrapper img {
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .gmaps-button__icon-wrapper {
    min-height: 40px;
    width: 100%;
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.2509803922);
    border-radius: 4px;
  }
}

.gmaps-button__icon {
  margin-right: 10px;
}

.gmaps-button__text {
  display: inline-flex;
  align-items: center;
  font-family: Poppins;
  font-weight: 500;
  font-size: 18px;
  color: #232323;
  letter-spacing: normal;
}
@media screen and (max-width: 767px) {
  .gmaps-button__text {
    font-family: Poppins;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
  }
}

.gmaps-button__arrow {
  margin-left: 8px;
  font-size: 16px;
}

.start-point-wrapper {
  position: relative;
}
.start-point-wrapper::after {
  content: "";
  position: absolute;
  background: rgba(73, 36, 205, 0.3294117647);
  width: 100%;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}
.start-point-wrapper:hover::after {
  transform: scaleX(1.2);
}

.start-point {
  background: #3108c5;
  width: 12px;
  height: 12px;
  border-radius: 100%;
}

.sidebar-form .close-btn {
  position: absolute;
  right: 2px;
  top: 2px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: fit-content;
}
@media screen and (max-width: 767px) {
  .sidebar-form .close-btn {
    justify-content: flex-end;
    position: sticky;
    top: 0;
    padding: 0;
  }
}

#toggleFormBtn {
  position: absolute;
  top: -16px;
  right: 0;
  width: 40px;
  height: 40px;
  z-index: 10000;
  background: #fff;
  border-radius: 4px;
  border: none;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.3215686275);
  cursor: pointer;
  transform: translateY(-100%);
}
@media screen and (max-width: 767px) {
  #toggleFormBtn {
    top: -16px;
  }
}

.setting__sidebar {
  position: absolute;
  bottom: 28px;
  right: 32px;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 10001;
  max-width: 415px;
  width: 100%;
  border-radius: 18px;
  padding: 0px 16px 16px;
  box-shadow: none;
  transform: translateX(calc(100% + 32px));
  transition: transform 0.3s ease;
}
.setting__sidebar.active {
  transform: translateX(0%);
}
@media screen and (max-width: 767px) {
  .setting__sidebar {
    transform: translateY(100%);
    bottom: 0;
    right: 0;
    max-width: 100%;
    border-radius: 0px;
    height: calc(100dvh - 56px);
  }
}
@media screen and (max-width: 767px) and (max-width: 767px) {
  .setting__sidebar {
    overflow: auto;
  }
}
@media screen and (max-width: 767px) {
  .setting__sidebar.active {
    transform: translateY(0%);
  }
}

.setting__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  margin-bottom: 8px;
}
@media screen and (max-width: 767px) {
  .setting__header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
  }
}

.setting__title {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 18px;
  color: #353535;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0px;
}

.setting__wrapper {
  background: #fafafa;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 560px;
  overflow: auto;
  padding: 0;
}
@media screen and (max-height: 800px) {
  .setting__form {
    max-height: calc(70vh - 105px);
  }
}
@media screen and (max-width: 767px) {
  .setting__form {
    overflow: hidden;
    max-height: 10000px;
    height: max-content;
  }
}

.setting__inputWrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.setting__typesMap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.setting__titleSection {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 18px;
  margin: 0;
  margin-bottom: 8px;
  letter-spacing: normal;
  text-transform: none;
  color: #000000;
}
.setting__mapTypeWrapper {
  text-align: center;
  font-family: "Poppins-Regular";
  font-weight: 400;
  font-size: 16px;
  text-align: center;
  color: #a5a5a5;
  transition: color 0.3s ease;
}
.setting__mapTypeWrapper.disabled {
  pointer-events: none;
}
.setting__mapTypeWrapper img {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  transition: border-color 0.3s ease;
  object-fit: cover;
  width: 100%;
}
.setting__mapTypeWrapper:hover {
  color: #232323;
}
.setting__mapTypeWrapper:hover img {
  border-color: #9c9c9c;
}
.setting__mapTypeWrapper.selected {
  color: #232323;
}
.setting__mapTypeWrapper.selected img {
  border-color: #9c9c9c;
}

.setting__label {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 16px;
  color: #232323;
}

.setting__input {
  width: 100%;
  border: 1px solid #a5a5a5;
  border-radius: 4px;
  min-height: 44px;
  font-family: "Poppins-Regular";
  font-weight: 400;
  font-size: 14px;
  color: #353535;
  padding: 0 16px;
}
.setting__input::placeholder {
  color: #a5a5a5;
}

.setting__stopButton {
  background: transparent;
  border: none;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #66666d;
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 16px;
}
.setting__stopButton:hover {
  background-color: transparent;
}
.setting__stopButton:disabled {
  background-color: transparent;
}

.setting__checkboxLabel span {
  width: 18px;
  height: 18px;
  border: 1px solid #8c8c8c;
  background-color: #fff;
  margin-right: 3px;
}

.setting__checkbox p {
  transform: translateY(2.5px);
}

.setting__checkboxWrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.setting__checkbox {
  padding-left: 26px;
}

.setting__btnSubmit {
  border: none;
  height: 48px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #d63b54;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #d63b54;
  color: #fff;
  font-family: "Poppins-Medium";
  font-size: 16px;
  padding: 16px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

#stopsContainer {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.remove-stop-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 0px;
}
.remove-stop-btn:hover {
  background-color: transparent;
}

.stop-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.suggestions {
  max-height: 150px;
  overflow-y: auto;
  position: absolute;
  width: 100%;
  z-index: 1000;
  top: 100%;
  overflow: hidden;
}
.suggestions::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  top: 0;
  left: 0;
  z-index: -1;
}

.suggestion-item {
  padding: 10px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-gif {
  width: 10%;
  min-width: 100px;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #ef3f5a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.stats {
  position: absolute;
  bottom: 28px;
  right: 32px;
  width: 383px;
  z-index: 11;
}
@media screen and (max-width: 767px) {
  .stats {
    width: calc(100% - 32px);
    right: 0;
    left: 0;
    bottom: 21px;
    margin: 0 auto;
  }
}
.stats .custom-select-wrapper {
  height: 34px;
  transition: opacity 0.1s ease, visibility 0.1s ease;
}
.stats .custom-select-trigger {
  padding: 6px 40px 6px 11px;
  height: 34px;
}
.stats__close {
  position: absolute;
  right: 8px;
  cursor: pointer;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.stats__content {
  position: relative;
  transition: opacity 0.4s ease;
  opacity: 1;
  border-radius: 8px;
  padding: 16px;
  background-color: #fff;
}

.fade-out {
  opacity: 0;
}

.fade-in {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.pill {
  background: #eee;
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 5px;
}

.danger {
  background: #fdd;
  color: #d00;
}

button {
  background: #d33;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.tabs {
  margin-bottom: 10px;
}

.tab {
  padding: 8px 12px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 6px;
  margin-right: 5px;
}

.tab.active {
  background: #d33;
  color: white;
}

.turn,
.risk {
  background: #f7f7f7;
  margin-bottom: 5px;
  padding: 10px;
  border-radius: 8px;
}

.info__titleWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
}
.info__title {
  font-family: "Poppins-Medium";
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .info__title {
    font-family: Poppins;
    font-weight: 500;
    font-size: 18px;
  }
}
.info__typeRouteSelect {
  max-width: 180px;
}
.info__list {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.info__item {
  font-family: "Poppins-Regular";
  background-color: #eee;
  padding: 6px 10px;
  border-radius: 15px;
  font-size: 14px;
  color: #333;
}
@media screen and (max-width: 767px) {
  .info__item {
    font-size: 12px;
  }
}
.info__item__danger {
  background-color: #fce5d6;
  color: #eb7e2a;
  font-weight: 500;
}
.info__button {
  border: none;
  height: 48px;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #d63b54;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #d63b54;
  color: #fff;
  font-family: "Poppins-Medium";
  font-size: 16px;
  padding: 16px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}
.info__tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .info__tabs {
    flex-direction: column;
    width: 100%;
  }
}
.info__tabsContentWrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  max-height: 34px;
}
.info__tabsContentWrapper:first-child {
  flex: 1;
}
.info__tabsContentWrapper:last-child {
  flex-shrink: 0;
}
@media screen and (max-width: 767px) {
  .info__tabsContentWrapper {
    width: 100%;
  }
}
.info__tab {
  padding: 8px 14px;
  background-color: transparent;
  border: 1px solid #a5a5a5;
  cursor: pointer;
  font-family: "Poppins-Regular";
  font-weight: 400;
  font-size: 12px;
  color: #9c9c9c;
  transition: background-color 0.3s ease;
  border-radius: 1000px;
  padding-top: 4px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  min-height: 34px;
  height: auto;
}
.info__tab:hover {
  background-color: transparent;
}
.info__tab_active {
  background-color: #d63b54;
  border-color: #d63b54;
  color: #fff;
}
.info__tab_active:hover {
  background-color: #d63b54;
}
.info__tabContent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  max-height: 360px;
}
.info__turn {
  border-radius: 8px;
  padding: 8px;
  background-color: #fafafa;
  display: flex;
  align-items: center;
  gap: 18px;
}
.info__turnArrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}
.info__turnContent {
  display: flex;
  flex-direction: column;
  font-family: "Poppins-Regular";
  font-weight: 400;
  font-size: 14px;
  color: #353535;
}
.info__turnDistance {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 24px;
  color: #353535;
}
.info__risk {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #353535;
  min-height: 79px;
  border-radius: 8px;
  padding: 8px;
  background-color: #fafafa;
}
.info__riskSymbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: #fce5d6;
  flex-shrink: 0;
}
.info__riskContent {
  font-family: "Poppins-Regular";
  font-weight: 400;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}
.info__riskDisatance {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 24px;
}
.info__noRisks {
  font-family: "Poppins-Medium";
  font-weight: 500;
  font-size: 18px;
  color: #353535;
  text-align: center;
}

.hide {
  opacity: 0;
  visibility: hidden;
}

.show {
  opacity: 1;
  visibility: visible;
}

.transparent-contents {
  display: contents;
}

/*# sourceMappingURL=map.css.map */
