/* --- RIDESHARE ROUTE UI --- */

/* The main wrapper that holds the relative positioning for the line */
.route-container {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: transparent; 
  padding: 8px 0;
}

/* The clickable rows for Origin and Destination */
.route-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  background: none;
  border: none;
  width: 100%;
  font-family: inherit;
}

/* Adds a subtle divider line between the two locations */
.route-row:first-of-type {
  border-bottom: 1px solid #d4cbb8; /* Match your app's border color */
}

/* Ensures the icons sit on top of the connecting line and have a solid background */
.route-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  z-index: 2;
  background-color: #f3efe4; /* MUST match the exact background color of the app body behind it */
}

/* The vertical connecting line */
.route-connecting-line {
  position: absolute;
  left: 11px; /* Centers the line behind the 24px wide icon wrapper */
  top: 36px;
  bottom: 36px;
  width: 2px;
  background-color: #d4cbb8; /* Match your app's border color */
  z-index: 1;
}

/* CSS Shapes for the markers (Origin = Dot, Destination = Square) */
.route-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #332d27; /* Dark app text color */
}

.route-square {
  width: 8px;
  height: 8px;
  background-color: #332d27; /* Dark app text color */
}

/* The container holding the text and chevron */
.route-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  cursor: pointer;
}

/* Text styles */
.route-text-active {
  font-size: 1rem;
  color: #332d27;
  text-align: left;
}

.route-text-placeholder {
  font-size: 1rem;
  color: #8c8273; /* Muted placeholder color */
  text-align: left;
}

.chevron {
  width: 20px;
  height: 20px;
  color: #332d27;
  flex-shrink: 0;
}
