/* * */
/* GENERAL LAYOUT */

#stops-explorer .section-body {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* * */
/* TOOLBAR */

#stops-explorer .toolbar {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 15px;
}

/* * */
/* GEOCODER */

#stops-explorer .toolbar .geocoder {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#stops-explorer .toolbar .geocoder .address_search_container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 15px;
  width: 100%;
}

#stops-explorer .toolbar .geocoder .address_search_container input {
  padding: 10px 15px;
  font-size: 18px;
  width: 100%;
  border-radius: 5px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  line-height: 1;
}

#stops-explorer .toolbar .geocoder .address_search_container button {
  padding: 5px 15px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: rgba(0, 0, 0, 0.05);
  transition: all 300ms ease;
  cursor: pointer;
}

#stops-explorer .toolbar .geocoder .address_search_container button:hover {
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.08);
  border-color: #000000;
  background-color: rgba(0, 0, 0, 0.1);
}

#stops-explorer .toolbar .geocoder .error_message {
  display: none;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
}

/* * */
/* MAP SETTINGS */

#stops-explorer .toolbar .map-settings .map-style {
  display: flex;
  flex-direction: row;
  gap: 0;
}

#stops-explorer .toolbar .map-settings .map-style button {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-right: none;
  background-color: rgba(0, 0, 0, 0.05);
  transition: all 300ms ease;
  cursor: pointer;
}

#stops-explorer .toolbar .map-settings .map-style button:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#stops-explorer .toolbar .map-settings .map-style button:last-child {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
}

#stops-explorer .toolbar .map-settings .map-style button:hover {
  background-color: rgba(0, 0, 0, 0.15);
}

#stops-explorer .toolbar .map-settings .map-style button.selected {
  background-color: rgba(0, 0, 0, 0.15);
}

/* * */
/* MAP */

#results-map {
  width: 100%;
  height: 600px;
}

/* * */
/* MAP POPUPS */

#stops-explorer .map-infowindow .mapboxgl-popup-content .header {
  padding-bottom: 8px;
  border-bottom: 1px solid rgb(200 200 200);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

#stops-explorer .map-infowindow .mapboxgl-popup-content .header h2 {
  color: #000000;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 3px;
}

#stops-explorer .map-infowindow .mapboxgl-popup-content .header .stop_info {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

#stops-explorer .map-infowindow .mapboxgl-popup-content .header .stop_info .stop_id,
#stops-explorer .map-infowindow .mapboxgl-popup-content .header .stop_info .stop_location {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(80, 80, 80, 1);
  font-size: 10px;
  letter-spacing: 0.5px;
  padding: 4px 7px;
  background-color: rgba(0, 0, 0, 0.08);
  font-family: 'Menlo', Courier, monospace;
  line-height: 1;
  border-radius: 999px;
}

#stops-explorer .map-infowindow .mapboxgl-popup-content .routes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#stops-explorer .map-infowindow .maplibregl-popup-close-button {
  padding: 5px;
}

/* * */
/* STOP SCHEDULES */

#stops-explorer .stop-schedules {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#stops-explorer .stop-schedules .options {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

#stops-explorer .stop-schedules .options .date-select-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

#stops-explorer .stop-schedules .options .date-select-container input {
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  padding: 10px 15px;
}

#stops-explorer .stop-schedules .options .date-select-container label,
#stops-explorer .stop-schedules .options .date-select-container input {
  line-height: 1;
  font-size: 16px;
  font-weight: 600;
}

#stops-explorer .stop-schedules .header,
#stops-explorer .stop-schedules .content .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* justify-content: space-between; */
  gap: 2px;
}

#stops-explorer .stop-schedules .content {
  display: flex;
  flex-direction: column;
}

#stops-explorer .stop-schedules .content .row {
  padding: 10px;
  padding-right: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

#stops-explorer .stop-schedules .content .row:last-child {
  border-bottom: none;
}

#stops-explorer .stop-schedules .content .row:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

#stops-explorer .stop-schedules .header .column,
#stops-explorer .stop-schedules .content .row .column {
  width: 100%;
}

#stops-explorer .stop-schedules .header .time,
#stops-explorer .stop-schedules .content .time {
  text-align: center;
  max-width: 200px;
}

#stops-explorer .stop-schedules .header .column {
  padding: 4px 5px;
  background-color: #000000;
  color: #ffffff;
  font-weight: 600;
}

#stops-explorer .stop-schedules .header .column:first-child {
  padding-left: 15px;
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

#stops-explorer .stop-schedules .header .column:last-child {
  padding-left: 7px;
  padding-right: 10px;
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}
