body,
main {
  min-height: 100dvh;
}

#map {
  height: 100vh;
  width: 100%;
}
.pulse-animation {
  animation: pulse-red 1s infinite;
}
@keyframes pulse-red {
  0% {
    stroke-width: 2;
    stroke-opacity: 1;
  }
  100% {
    stroke-width: 15;
    stroke-opacity: 0;
  }
}

/**Home*/
.home_container {
  display: flex;
}
/* Info section*/
.info_section {
  width: 40%;
  height: 100dvh;
  padding: 10px;
  gap: 15px;
  display: flex; /* Ensure this is present */
  flex-direction: column; /* Ensure this is present */
  overflow: hidden; /* Prevents the whole sidebar from scrolling */
}

.info_section_div {
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
}

.train_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
  min-height: 0;
}

/* Map */
.map_section {
  width: 60%;
}

/*** Common ***/
.w-50 {
  width: 50%;
}

.w-90 {
  width: 90%;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}
/* Gap*/
.gap-5 {
  gap: 5px;
}

.gap-10 {
  gap: 10px;
}

.gap-15 {
  gap: 15px;
}
/* Margins*/
.mb-n10 {
  margin-bottom: -10px;
}

.p-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}
/* Colors*/
.text_blue {
  color: #0d6efd;
}

.text_red {
  color: #d22b2b;
}

.text_green {
  color: #56b048;
}

.text_green_deep {
  color: #065654 !important;
}
.text_white {
  color: white;
}

.color_green_light {
  background-color: lab(98.1563% -5.60117 2.75915);
}

.color_green_deep {
  background-color: #065654;
}

/* Other */
hr {
  margin-bottom: 2px;
  margin-top: 2px;
}

.h-inherit {
  height: inherit;
}

.bold {
  font-weight: bold;
}

.spinner_icon {
  font-size: 25px;
  margin-top: -10px;
}
/* Responsive */
@media (min-width: 600px) and (max-width: 1000px) {
  .home_container {
    flex-direction: column;
  }

  .info_section {
    width: 100%;
    padding: 10px;
    height: 50vh;
    gap: 15px;
  }

  #map-container {
    height: 50vh;
    width: 100%;
  }
}
