.map-container {
  display: flex;
  justify-content: center;
  width: 100%;
}
.map {
  width: 75%;
  height: 800px;
}

.info-box {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  padding: 10px 15px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 60%;
  min-width: 200px;
  max-height: 40%;
  overflow: hidden;
  text-align: center;
}

.info-box strong {
  font-size: 16px;
  color: #333;
  display: block;
  margin-bottom: 8px;
}

.info-box .lines {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  margin-bottom: 10px;
  padding: 0 5px;
  width: 100%;
  box-sizing: border-box;
}

.info-box .line-badge {
  background-color: #eee;
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mhd-marker-icon {
  width: 30px;
  height: 30px;
  background: #ffffff;
  border: 3px solid #ee0000;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}


.mhd-symbol {
  font-size: 18px;
  line-height: 1;
  color: #ee0000;
}


.mhd-marker:hover .mhd-marker-icon {
  background: #ffeca1;
  border-color: #ffcd00;
  transform: translateY(-4px) scale(1.05);
}

.marker-selected .mhd-marker-icon {
  background: #ffeca1;
  border-color: #ffcd00;
  transform: translateY(-4px) scale(1.05);
}

.mhd-marker:hover .mhd-symbol {
  color: #000000; 
}

.station-picker {
  position: absolute; 
  top: 20px; 
  left: 55%; 
  z-index: 2000; 
  width: 300px; 
  background: transparent;
}

input {
  width: 100%;
  min-height: 40px;
  border-radius: 16px !important;
  border: none;
  padding: 0 20px;

  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  color: #333;

  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); 
  outline: none; 
  box-sizing: border-box;
}

input::placeholder {
  color: #6e7a8a;
  font-weight: 500;
}

.search-items-container {
  position: absolute;
  top: calc(10px+40px+2%);
  left: 0;
  right: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  max-height: 150px;
  overflow-y: auto;
  background-color: white;
  border-radius: 13px;
}

.search-items {
  list-style: none;
  margin: 0;
  padding: 0;
}


.search-items li {
  padding: 0.6em 1em;
  background-color: transparent;
  color: #333;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #eee;
}


.search-items li:hover {
  background-color: #ffe5e5;
  color: #b10000;
}

.hidden {
  display: none;
}
.station-picker {
  position: absolute;
  width: 30%;
  height: 10%;
  background-color: transparent;
  z-index: 5;
}
.search-items-container {
  z-index: 5;
}
.search-items {
  z-index: 5;
}
@media screen and (min-width: 701px) {
  .info-box {
    max-width: 20%;
	
  }
  .station-picker{
		z-index: 1000;
	  left: 68.5%;
  }
  .map-container {
        width: 100%;
        padding: 20px;
        background: #FFECA1;
        max-height: 100%;
        border-radius: 13px;
  }
	
	#map{
		height: 500px;
        width: 100%;
        border-radius: 13px;
	}
}

@media screen and (min-width: 300px) and (max-width: 700px) {
  .station-picker {
    width: 70%;
    top: 20px;
    left: 25%;
  }
  .map-container {
      width: 100%;
      padding: 20px;
      background: #FFECA1;
      max-height: 100%;
      border-radius: 13px;
  }
  #map {
	 border-radius: 13px;
	z-index: 0 !important;
    width: 100% !important;
    height: 500px !important;
  }
}
