* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.mts-wrap {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  width: 100%;
  padding: 32px;
  background: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}
.mts-wrap h4 {
  color: #444;
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.mts-wrap select {
  border-radius: 12px;
  border: 1px solid #4e4e4e;
  padding: 24px 24px;
  color: #444;
  font-family: Inter;
  font-size: 24px;
  font-weight: 400;
  cursor: pointer;
}
.mts-wrap #price {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 12px;
  border: 1px solid #4e4e4e;
  color: #444;
  font-size: 24px;
  font-weight: 700;
  padding: 24px;
  text-align: center;
}
#trainSearchForm {
  width: 100%;
  /* display: flex;
  flex-wrap: wrap;
  gap: 10px; */
}
#trainSearchForm .form-group {
  width: 100%;
  margin-bottom: 15px;
  background: #fff;
  padding: 16px 13px;
  border-radius: 6px;
  border: 1px solid #f9fafa;
}
#trainSearchForm .form-group:last-child {
  width: 100%;
  margin-bottom: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
}
#trainSearchForm input,
#trainSearchForm select {
  width: 100%;
  display: block;
  background: transparent;
  color: #142342;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  border-radius: 6px;
  border: none;
  padding: 0;
  outline: 0;
}
#trainSearchForm label {
  color: #b5b6cb;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.24px;
  display: block;
  margin-bottom: 7px;
}
#trainSearchForm input[type="submit"] {
  background: #025c3f;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border: 1px solid #4d645d;
  border-radius: 50px;
  cursor: pointer;
  padding: 13px;
}
#trainSearchForm input[type="submit"]:hover {
  border-radius: 6px;
  border: 1px solid #4d645d;
  background: #025c3f;
  color: #fff;
}
.ui-autocomplete {
  background-color: #ffffff;
  border: 1px solid #cecece;
  border-radius: 2px;
  z-index: 1000;
  list-style: none;
  width: 200px;
}

.ui-menu-item {
  color: #4b4b4b;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  padding: 10px 13px;
  cursor: pointer;
  border-radius: 0px 0px 6px 6px;
  transition: background-color 0.2s ease;
}

.ui-menu-item:hover {
  background: #079d49;
  color: #fff;
  font-weight: 400;
}
.ui-menu-item-wrapper {
  background: transparent;
  border-color: transparent;
}
.ui-menu-item:hover .ui-menu-item-wrapper {
  background: transparent;
  color: #fff;
  border-color: transparent;
}

.ui-datepicker {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px;
  z-index: 10000 !important;
}

.ui-datepicker-header.ui-widget-header.ui-helper-clearfix.ui-corner-all {
  background: #079d49 !important;
  color: #fff;
  font-weight: bold;
  padding: 5px;
  border-radius: 5px 5px 0 0;
}

.ui-datepicker-calendar td {
  padding: 5px;
  text-align: center;
  cursor: pointer;
}

.ui-datepicker-calendar td:hover {
  background-color: #f0f0f0;
}
select.ui-datepicker-month,
select.ui-datepicker-year {
  background: transparent;
  border: none;
  color: #fff;
}
select.ui-datepicker-month option,
select.ui-datepicker-year option {
  color: #000;
}

.date-wrap {
  position: relative;
  width: 100%;
}
.date-wrap .date-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}
a.ui-datepicker-next.ui-corner-all {
  border: 1px solid transparent;
}
a.ui-datepicker-next.ui-corner-all:hover {
  background: transparent;
  border-color: transparent;
  top: 2px;
  right: 2px;
}

#date_of_journey {
  padding-right: 35px; /* space for icon */
}

.ui-datepicker td a {
  background: transparent !important;
  border: none !important;
  font-size: 16px;
  font-weight: 500;
}
span.ui-state-default {
  border: none !important;
  background: transparent !important;
}
a.ui-state-default.ui-state-highlight:hover {
  background: #079d49 !important;
}
a.ui-state-default.ui-state-highlight {
  background: #079d49 !important;
  color: #fff;
}
a.ui-state-default:hover {
  background: #079d49 !important;
  color: #fff;
}
table.ui-datepicker-calendar span {
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 768px) {
  #trainSearchForm {
    gap: 0;
  }
  #trainSearchForm .form-group {
    width: 100%;
  }
}
