body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

body {
  font-family: 'Helvetica', 'Arial', sans-serif;
}

.cursor-pointer{
  cursor: pointer !important;
}

/* Bus Tracking Loading Animation */
.loading-container {
  max-width: 300px;
  padding: 2rem;
}

.bus-loading-animation {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bus-icon-loading {
  font-size: 3rem;
  animation: busBounce 2s ease-in-out infinite;
}

.tracking-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tracking-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #007bff;
  animation: trackingPulse 1.5s ease-in-out infinite;
}

.tracking-dots span:nth-child(1) {
  animation-delay: 0s;
}

.tracking-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.tracking-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes busBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes trackingPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.loading-text h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.loading-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}
/* amenities start*/
.amenities a:hover {
    text-decoration: none;
  }
  .ezeeicon-amenities {
    font-size: 18px;
    color: #000;
    padding-left: 5px;
    margin-top: 50px;
  }
  .ezeeicon-amenities[data-amenities="AMEF1QG68"]:before {
    content: "\e973";
  } /* video */
  .ezeeicon-amenities[data-amenities="AMEE55J8"]:before {
    content: "\e92e";
  } /* gps */
  .ezeeicon-amenities[data-amenities="AMEE55B6"]:before {
    content: "\e908";
  } /* wifi */
  .ezeeicon-amenities[data-amenities="AMEF18G67"]:before {
    content: "\e976";
  } /* water bottles */
  .ezeeicon-amenities[data-amenities="AMEE55B5"]:before {
    content: "\e976";
  } /* water bottle */
  .ezeeicon-amenities[data-amenities="AMEK7AC36522"]:before {
    content: "\e979";
  } /* Sanitizer  */
  .ezeeicon-amenities[data-amenities="AMEG74D55512"]:before {
    content: "\e97c";
  } /* camera  */
  .ezeeicon-amenities[data-amenities="AMEHBDIE517"]:before {
    content: "\e92c";
  } /* Earphone  */
  .ezeeicon-amenities[data-amenities="AMEE55B7"]:before {
    content: "\e9d2";
  } /* Mobile Charger  */
  .ezeeicon-amenities[data-amenities="AMEF18G66"]:before {
    content: "\e925";
  } /* Blankets  */
  .ezeeicon-amenities[data-amenities="AMEHBDIE518"]:before {
    content: "\e911";
  } /* Customer Service Call  */
  .ezeeicon-amenities[data-amenities="AMEK58I53519"]:before {
    content: "\e988";
  } /* Social Distancing */
  .ezeeicon-amenities[data-amenities="AMEH5PGC514"]:before {
    content: "\e975";
  } /*Personal TV */
  .ezeeicon-amenities[data-amenities="AMEF6QMJA74"]:before {
    content: "\e98e";
  } /* Urinal Toilet */
  .ezeeicon-amenities[data-amenities="AMEF18G65"]:before {
    content: "\e990";
  } /* Pillow */
  .ezeeicon-amenities[data-amenities="AMEI7K8V521"]:before {
    content: "\e927";
  } /* Fire Extinguisher*/
  .ezeeicon-amenities[data-amenities="AMEHB4I5516"]:before {
    content: "\e994";
  } /* Soft drink*/
  .ezeeicon-amenities[data-amenities="AMEHB4I4515"]:before {
    content: "\e997";
  } /* Snacks */
  .ezeeicon-amenities[data-amenities="AMEG82E50513"]:before {
    content: "\e99b";
  } /* Fan */
  .ezeeicon-amenities[data-amenities="AMEHB4I4515"]:before {
    content: "\e996";
  } /* Snacks */
  .ezeeicon-amenities[data-amenities="AMEI7K8U519"]:before {
    content: "\e971";
  } /* Hammer */
  .ezeeicon-amenities[data-amenities="AMEI7K8U520"]:before {
    content: "\e98a";
  } /* Emergency exit */
  .ezeeicon-amenities[data-amenities="AMEF2GIA69"]:before {
    content: "\e97f";
  } /* Headset */
  .ezeeicon-amenities[data-amenities="AMEL4OA551"]:before {
    content: "\e99c";
  } /* Newspaper */
  .ezeeicon-amenities[data-amenities="AMEN9MJA2"]:before {
    content: "\e9bc";
  } /* Reading Light */
  .ezeeicon-amenities[data-amenities="AMENBAC553"]:before {
    content: "\e9ca";
  } /* M ticket */
  .ezeeicon-amenities[data-amenities="AMENBAC584"]:before {
    content: "\e9f4";
  } /* Emergency Contact number */
  .ezeeicon-amenities[data-amenities="AMENBAD15"]:before {
    content: "\e9d0";
  } /* USB Port */
  .ezeeicon-amenities[data-amenities="AMENBAD26"]:before {
    content: "\e9d4";
  } /* Deep cleaned Buses */
  .ezeeicon-amenities[data-amenities="AMENBAD77"]:before {
    content: "\e9dc";
  } /* Washroom */
  .ezeeicon-amenities[data-amenities="AMEO7QG51"]:before {
    content: "\e9fe";
  } /* Boarding Crew */
  .ezeeicon-amenities[data-amenities="CCTVSRVLCE"]:before {
    content: "\e97c";
  }/*CCTV Surveillance*/
  /* to -add */
  /* 
  Reading Light - icon-icon-05 */
  /* amenities end*/
.map-card-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 600px;
  /* Adjust as needed, or make it responsive with aspect-ratio */
}

.map-card-container .leaflet-container {
  height: 100%;
  width: 100%;
  z-index: 1;
}



/* Custom locate control */
.leaflet-control-locate {
  position: absolute;
  top: calc(50% + 40px);
  /* Position below zoom controls */
  right: 10px;
  z-index: 1000;
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaflet-control-locate:hover {
  background-color: #f4f4f4;
}

.leaflet-control-locate svg {
  width: 18px;
  height: 18px;
}

/* Custom vehicle location control */
.leaflet-control-vehicle {
  position: absolute;
  top: calc(50% + 70px);
  /* Position below locate control */
  right: 8px;
  z-index: 1000;
  background: white;
  width: 31px;
  height: 31px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaflet-control-vehicle:hover {
  background-color: #f4f4f4;
}

.leaflet-control-vehicle svg {
  width: 18px;
  height: 18px;
}


/* Top Info Card */
.map-top-info-card {
  /* position: absolute; */
  /* top: 10px;
    left: 10px;
    right: 10px; */
  background: white;
  padding: 12px;
  margin-bottom: 5px;
  border-radius: 6px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-top-info-card .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 14px;
}

.map-top-info-card .title {
  font-weight: 600;
  font-size: 16px;
}

.map-top-info-card .subtitle {
  font-weight: bold;
  color: #333;
}

.map-top-info-card .time {
  font-size: 12px;
  color: #252525;
  text-align: right;
  font-weight: bolder;
}

.map-top-info-card .status-bar {
  /* display: flex;
  align-items: center; */
  /* margin-top: 4px; */
  gap: 8px;
  width: 350px;
}

.map-top-info-card .status-text {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  text-align: right;
}

.map-top-info-card .status-text.reverse{
  text-align: left;
}

.map-top-info-card .progress-container {
  position: relative;
  /* For absolute positioning of bus icon */
  flex-grow: 1;
  height: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
  overflow: visible;
  /* Allow bus icon to overflow */
}

.map-top-info-card .progress-bar {
  /* width: 40%;  */
  height: 100%;
  background-color: #509bf8;
  border-radius: 2px;
}

.map-top-info-card .bus-icon-track {
  position: absolute;
  top: -20px;
  /* Center vertically on the progress bar */
  transform: translateX(-50%);
  /* Center horizontally on the position */
  transition: left 0.5s ease-in-out;
  z-index: 10;
  pointer-events: none;
  /* Prevent interfering with clicks */
}

.map-top-info-card .bus-icon-track img {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}


/* Bottom Info Card */
.map-bottom-info-card {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: white;
  padding: 12px;
  border-radius: 12px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #f0f0f0;
}

.map-bottom-info-card .location-section {
  display: flex;
  gap: 12px;
  align-items: center;
}

.map-bottom-info-card .location-icon {
  width: 32px;
  height: 32px;
  background: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-bottom-info-card .location-icon svg {
  width: 18px;
  height: 18px;
  color: #1976d2;
}

.map-bottom-info-card .location-text {
  flex: 1 1;
  min-width: 0;
}

.map-bottom-info-card .location-text .address {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  word-wrap: break-word;
}

.map-bottom-info-card .location-text .timestamp {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}

.map-bottom-info-card .eta-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-top: 1px solid #e9e9e9;
  margin-top: 6px;
  padding-top: 6px;
}

.map-bottom-info-card .eta-section .time {
  font-weight: bold;
  font-size: 18px;
  color: #000;
  line-height: 1;
}

.map-bottom-info-card .eta-section .distance-time {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.map-bottom-info-card .eta-section .boarding-point {
  color: #28a745;
  font-weight: 500;
  font-size: 13px;
  text-align: right;
  line-height: 1.3;
}

/* .map-bottom-info-card .eta-section .next-station {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  margin-top: 4px;
  text-align: right;
} */


/* Custom Icons */
.user-location-icon {
  background-color: #4a8af4;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #4a8af4;
  width: 18px;
  height: 18px;
}

.bus-icon-container {
  background: #d9534f;
  padding: 5px;
  border-radius: 8px;
  transform: rotate(-45deg);
}

.bus-icon-container svg {
  fill: white;
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
}


/* Station progress styles */
.current-station {
  font-size: 0.7rem;
  color: #0d6efd;
  font-weight: 500;
  margin-top: 2px;
}

.station-progress {
  font-size: 0.65rem;
  color: #6c757d;
  margin-top: 4px;
  text-align: center;
}

.next-station {
  font-size: 0.7rem;
  color: #198754;
  font-weight: 900;
}

/* Enhanced progress bar */
.progress-container {
  background-color: #e9ecef;
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  /* margin: 4px 0; */
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* Status text enhancements */
.status-text {
  font-weight: 600;
  font-size: 0.75rem;
}

/* Map card layout improvements */
.map-top-info-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  /* padding: 12px 16px;
  margin: 8px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-bottom-info-card {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-radius: 12px;
  /* padding: 12px 16px;
  margin: 8px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.location-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.location-text {
  flex: 1 1;
}

.address {
  font-weight: 600;
  font-size: 0.85rem;
  color: #212529;
  margin-bottom: 2px;
}

.timestamp {
  font-size: 0.7rem;
  color: #6c757d;
}

/* ETA section styles */
.eta-section {
  /* border-top: 1px solid #e9ecef;
  padding-top: 8px; */
  font-size: 0.75rem;
  color: #495057;
}

.eta-section .time {
  font-weight: 600;
  color: #0d6efd;
  margin-right: 8px;
}

.boarding-point {
  color: #198754;
  font-weight: 600;
}


@media (max-width: 768px) {
  .map-top-info-card .status-bar {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .map-top-info-card .bus-icon-track img {
    width: 24px;
    height: 24px;
  }

  .map-top-info-card .bus-icon-track {
    top: -16px;
  }
}

@media (max-width: 480px) {
  .map-top-info-card .status-bar {
    width: 150px;
  }

  .map-top-info-card .bus-icon-track img {
    width: 20px;
    height: 20px;
  }

  .map-top-info-card .bus-icon-track {
    top: -14px;
  }
}

/* Bus marker popup */
.map-bus-popup {
  min-width: 200px;
  font-size: 13px;
  line-height: 1.35;
  color: #212529;
}

.map-bus-popup__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.map-bus-popup__row--stack {
  flex-direction: column;
  align-items: flex-start;
}

.map-bus-popup__label {
  color: #6c757d;
  font-size: 12px;
}

.map-bus-popup__value {
  font-weight: 600;
}

.map-bus-popup__divider {
  height: 1px;
  background: #e9ecef;
  margin: 6px 0 8px;
}

.map-bus-popup__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.map-bus-popup__badge--off {
  background: #fde8e8;
  color: #c92a2a;
}

.map-bus-popup__badge--idle {
  background: #fff3bf;
  color: #e67700;
}

.map-bus-popup__badge--running {
  background: #d3f9d8;
  color: #2b8a3e;
}

.map-bus-popup__eta {
  font-weight: 700;
  font-size: 14px;
}

.map-bus-popup__eta-sub {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: #6c757d;
  margin-top: 2px;
}

.map-bus-popup__dist {
  font-size: 12px;
  color: #495057;
}

.map-user-popup {
  font-size: 13px;
  font-weight: 600;
}

.map-bus-popup__eta--done {
  color: #16a34a;
}

.boarding-point-card {
    box-sizing: border-box;
    padding: 16px 16px 22px 15px;
    background: white; /* Card background */
    border-radius: 24px 24px 0 0; /* Optional: Adjusts the card's border radius */
}

.station-details-container {
    box-sizing: border-box;
    width: 100%;
}

.station-address {
    text-align: left; /* Left-align the address text */
}

.boarding-message-text-style {
    font-size: 12px; /* Adjusts font size */
    color: #797979; /* Gray color for the message */
}

/* Customize the alert for bus captain notification */
.alert-primary {
    background-color: #368ee0; /* Custom background color */
    border-color: #368ee0; /* Border color matches */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .boarding-point-card {
        width: 100%; /* Full width on smaller screens */
    }
}
.busmapcont {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.layout {
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    margin: 2px 0;
    padding: 5px 5px 5px 25px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
}

div.lay-type {
    font-weight: 200;
    font-size: 18px;
    position: relative;
    left: 10px;
    display: block;
    transform: rotate(270deg);
}

.seat-r {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 2px;
    gap: 2px;
    justify-content: center;
    margin: 1px 0;
}

.seat-clo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 30px;
    position: relative;
    border-radius: 5px;
    transition: 0.3s;
    font-size: xx-small;
    font-weight: 100;
}

.seat-clo:hover {
    transform: scale(1.05);
    cursor: default;
}

.slpr {
    background: url(/static/media/slpr.5f1d959ed0e212c5d236.svg) no-repeat center center;
    background-size: contain;
}

.slpr.pnr.female {
    background: url(/static/media/slpr-pnr-f.873578729df8c52014ee.svg) no-repeat center center;
    background-size: contain;
}

.slpr.pnr.male {
    background: url(/static/media/slpr-pnr-m.785f4977a3830eb38c85.svg) no-repeat center center;
    background-size: contain;
}

.str {
    background: url(/static/media/str.e7240e3985bea1e197d8.svg) no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    margin: auto;
}

.str.pnr.female {
    background: url(/static/media/str-pnr-f.9f0695dfa8eccf4f03b3.svg) no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    margin: auto;
}

.str.pnr.male {
    background: url(/static/media/str-pnr-m.5c23cb7a6e5288b5d03b.svg) no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    margin: auto;
}

.seat.vh {
    transform: rotate(90deg);
    width: 30px;
    height: 30px;
}

.empty-seat {
    visibility: hidden;
}
/* Boarding Point Timeline Container */
.boarding-timeline-container {
    /* padding: 20px; */
    /* background: #f8f9fa; */
    min-height: -webkit-fit-content;
    min-height: fit-content;
}

.timeline-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Timeline Vertical Line */
.timeline-line {
    position: absolute;
    left: 28px;
    /* top: 0;
    bottom: 0; */
    top: 105px; /* Start from the center of first icon */
    bottom: 105px; /* End at the center of last icon */
    width: 3px;
    /* background: linear-gradient(180deg, #509bf8 0%, #e0e0e0 100%); */
    background: #509bf8;
    z-index: 1;
}

/* Timeline Steps */
.timeline-step {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    min-height: 120px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

/* Step Icon Wrapper */
.step-icon-wrapper {
    position: relative;
    z-index: 2;
    width: 56px;
    min-width: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Step Icon */
.step-icon {
    width: 56px;
    height: 56px;
    background: #509bf8;
    border-radius: 50%;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(80, 155, 248, 0.3);
    transition: all 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(80, 155, 248, 0.4);
}

.step-icon-active {
    background: #509bf8;
}

.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: white;
}

/* Step Number */
.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 2px solid #509bf8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #509bf8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Step Content */
.step-content {
    flex: 1 1;
    margin-left: 20px;
    padding-top: 8px;
}

/* Step Cards */
.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Step Titles */
.step-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
}

/* Distance Card Specific Styles */
.distance-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.distance-display {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.distance-value {
    font-size: 48px;
    font-weight: 700;
    color: #509bf8;
    line-height: 1;
}

.distance-unit {
    font-size: 18px;
    font-weight: 500;
    color: #6c757d;
    margin-left: 4px;
}

.distance-description {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    font-weight: 400;
}

/* Navigation Card Specific Styles */
.navigation-card {
    background: linear-gradient(135deg, #509bf8 0%, #368ee0 100%);
    color: white;
}

.navigation-card .step-title {
    color: white;
}

.navigation-description {
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.direction-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.direction-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.direction-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Boarding Card Specific Styles */
.boarding-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.boarding-details {
    margin-top: 12px;
}

.boarding-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.boarding-address {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

.boarding-time {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #509bf8;
    background: rgba(80, 155, 248, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .boarding-timeline-container {
        padding: 16px;
    }
    
    .timeline-wrapper {
        padding: 16px 0;
    }
    
    .timeline-line {
        left: 24px;
        top: 85px;
        bottom: 100px;
    }
    
    .step-content {
        margin-left: 16px;
    }
    
    .step-card {
        padding: 16px;
    }
    
    .distance-value {
        font-size: 36px;
    }
    
    .step-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .timeline-line {
        left: 24px;
        /* top: 24px;
        bottom: 24px; */
        top: 90px;
        bottom: 110px;
    }
    
    .step-icon-wrapper {
        width: 48px;
        min-width: 48px;
    }
    
    .step-icon {
        width: 48px;
        height: 48px;
    }
    
    .icon-container {
        width: 24px;
        height: 24px;
    }
    
    .step-content {
        margin-left: 12px;
    }
    
    .step-card {
        padding: 12px;
    }
    
    .distance-value {
        font-size: 32px;
    }
}

.boarding-dropping-card {
  margin-bottom: 120px;
  position: relative;
  z-index: 1;
}

/* Ensure the dropping point section is visible */
.boarding-dropping-card .card-body {
  padding-bottom: 20px;
}
.boarding-dropping-card .row{
  margin-top: 5px;
}
/* Responsive adjustments */
@media (max-width: 767px) {
  .boarding-dropping-card {
    margin-bottom: 140px;
  }
}

@media (min-width: 768px) {
  .boarding-dropping-card {
    margin-bottom: 100px;
  }
}

/* Custom styles for header that aren't covered by Bootstrap */
.header {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  padding: 10px 6px;;
  /* Higher than Bootstrap's default z-index for fixed elements */
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.navbar-brand {
  font-weight: 600;
  color: #333;
}

.header-svg {
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
}
/* Custom styles for footer that aren't covered by Bootstrap */
.footer {
  width: 100%;
  background-color: #f5f5f5;
  /* padding: 1rem 0; */
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1030; /* Higher than Bootstrap's default z-index for fixed elements */
  /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
} 
.bg-default {
    background-color: #368ee0 !important;
}

.bg-default-light {
    background-color: #bee0f9 !important;
}

.w-80 {
    width: 80% !important;
}

.w-max-cnt {
    width: -webkit-max-content !important;
    width: max-content !important;

}

.g-5 {
    gap: 5px !important;
}

.bg-light-grey {
    background-color: #fcfcfc !important;
}

.br-25 {
    border-radius: 25px !important;
}

.br-tl-25 {
    border-top-left-radius: 25px !important;
}

.br-tr-25 {
    border-top-right-radius: 25px !important;
}

.br-br-25 {
    border-bottom-right-radius: 25px !important;
}

.br-bl-25 {
    border-bottom-left-radius: 25px !important;
}
.timeline-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 25px;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  min-height: 56px;
  max-height: 1vh;
  transition: max-height 0.3s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
  z-index: 1000;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.timeline-drawer.expanded {
  max-height: 80vh;
  transition: max-height 0.3s cubic-bezier(.4, 0, .2, 1);
  /* overflow-y: auto; */
}

.drawer-handle {
  width: 48px;
  height: 6px;
  background: #dee2e6;
  border-radius: 3px;
  margin: 8px auto 0px auto;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s ease;
}

.drawer-handle:hover {
  background: #adb5bd;
}

.drawer-handle:active {
  background: #6c757d;
}

.timeline-content {
  padding-top: 0;
  padding-bottom: 0;
  overflow-y: hidden;
}

.timeline-drawer.expanded .timeline-content {
  max-height: 80vh;
  overflow-y: auto;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding-bottom: 1rem;
}

.timeline-left {
  width: 55px;
  /* Fixed width for time + "Departure" text */
  flex-shrink: 0;
  text-align: left;
  padding-right: 15px;
}

.timeline-middle {
  position: relative;
  width: 40px;
  /* Fixed width for dot/icon */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-shrink: 0;
  margin: 0 10px;
}

.timeline-right {
  flex: 1 1;
  /* Take remaining space */
  min-width: 0;
  /* Allow text to wrap */
  padding-right: 15px;
  word-wrap: break-word;
  /* Ensure text wraps */
}

.timeline-eta {
  width: 80px;
  /* Fixed width for ETA time */
  flex-shrink: 0;
  text-align: right;
}

.timeline-list {
  position: relative;
}

/* Continuous timeline line positioned over the dot container */
.timeline-list::before {
  content: '';
  position: absolute;
  left: calc(50.3px + 15px + 20px);
  /* timeline-left width + padding + half of timeline-middle */
  top: 15px;
  width: 3px;
  background: #e9e9e9;
  transform: translateX(-50%);
  z-index: 0;
  height: calc(100% - 15px);
  /* Ensure smooth gradient transition */
  background: linear-gradient(to bottom, #5ea5e6 0%, #bee0f9 0%, #e9e9e9 0%, #e9e9e9 100%);
  background: linear-gradient(to bottom, #5ea5e6 0%, #bee0f9 var(--departed-height, 0%), #e9e9e9 var(--departed-height, 0%), #e9e9e9 100%);
}

.timeline-dot-container {
  position: relative;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

#timeLineDrawer .dot {
  width: 12px;
  height: 12px;
  border: 3px solid #368ee0;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  z-index: 2;
  /* Ensure perfect centering */
  margin: 0 auto;
}

#timeLineDrawer .dot.departed {
  background: #bee0f9;
}

#timeLineDrawer .dot.current {
  /* Current is an icon now, but keeping for fallback */
  background: #fff;
  border: 3px solid #adb5bd;
}

#timeLineDrawer .dot.upcoming {
  background: #fff;
  border: 3px solid #d9d9d9;
}

/* Add styles for departed timeline items */
#timeLineDrawer .timeline-item.departed {
  opacity: 0.8;
}

#timeLineDrawer .timeline-middle.departed {
  /* Ensure departed stations are visually distinct */
  position: relative;
}

/* Remove individual timeline lines since we have a continuous one */
#timeLineDrawer .timeline-line {
  display: none;
}

/* Vehicle icon positioning */
#timeLineDrawer .bus-icon {
  position: absolute;
  left: calc(50.2px + 15px + 20px);
  /* Same position as timeline line */
  transform: translateX(-50%);
  z-index: 3;
  transition: top 1s linear;
}

/* Remove the old departed class styling since we're using gradient */
.timeline-list.departed::before {
  /* Gradient is already applied above */
}

#timeLineDrawer .rest-stop-icon {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  /* Ensure perfect centering */
  display: flex;
  align-items: center;
  justify-content: center;
  /* css style for backbround */

}

#timeLineDrawer .timeline-line.first {
  top: 19px;
  height: calc(100% - 19px);
}

#timeLineDrawer .timeline-line:not(.first):not(.last) {
  height: calc(100% - 15px);
}

#timeLineDrawer .timeline-line.last {
  height: 0;
}

#timeLineDrawer .timeline-line.departed {
  background: #bee0f9;
  /* Ensure exact same positioning as non-departed */
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  height: calc(100% - 15px);
}

#timeLineDrawer .timeline-line.departed.first {
  top: 19px;
  height: calc(100% - 19px);
}

#timeLineDrawer .timeline-line.departed:not(.first):not(.last) {
  height: calc(100% - 15px);
}

#timeLineDrawer .timeline-line.departed.last {
  height: 0;
}

#timeLineDrawer .timeline-item:last-child #timeLineDrawer .timeline-line {
  display: none;
}

#timeLineDrawer .tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
  margin-top: 4px;
}

#timeLineDrawer .new-day {
  position: relative;
  left: 2px;
  background: #368ee0;
  border-radius: 0px 25px 25px 0px;
  color: #fff;
  padding: 0px 9px 0px 6px;
  font-weight: bold;
  font-size: 14px;
  width: -webkit-fit-content;
  width: fit-content;
}

#timeLineDrawer .start-point,
#timeLineDrawer .end-point {
  background-color: #bee0f9;
  color: #368ee0;
}


#timeLineDrawer .boarding-point {
  background-color: #58bb5a;
  color: #fff;
}

#timeLineDrawer .dropping-point {
  background-color: #db5252;
  color: #fff;
}

#timeLineDrawer .amenities-list {
  margin-top: 8px;
}

#timeLineDrawer .amenities-list .ezeeicon-amenities {
  font-size: 16px;
  color: #6c757d;
  margin-right: 8px;
}

#timeLineDrawer .day-marker {
  background-color: #e9ecef;
  padding: 4px 12px;
  border-radius: 16px;
  font-weight: bold;
  margin: 16px auto;
  display: table;
}

@media (min-width: 768px) {
  #timeLineDrawer .timeline-drawer {
    left: 0;
    right: 0;
    width: 100%;
    /* max-width: 85%; */
    margin: 0 auto;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.18);
    bottom: 15px;
  }
}

/* Ensure main content has enough bottom padding on mobile */
@media (max-width: 767px) {
  /* .main-content {
    padding-bottom: 160px !important;
  } */
}
.highlight {
    border: 2px solid red;
    transition: border-color 0.3s ease;
}

.emoji-hlt {
    border: 2px solid blue; /* Example border for highlighting */
    border-radius: 5px;
}


/*# sourceMappingURL=main.32c43df2.css.map*/