  .from-dropdown {
  position: relative;
  width: 100%;
}
.fromList {
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  width: 100%;
  z-index: 1000;
  display: none;
}

.tofromList{
  max-height: 400px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  width: 100%;
  z-index: 1000;
  display: none;
}

.port-item {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  border-bottom: 1px solid #eee;
}
.port-item:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}
.map-btn {
  background: none;
  border: none;
  color: blue;
  cursor: pointer;
}
.all-ports {
  color: gray;
  font-size: 12px;
}
.parent-category {
  padding: 10px;
  background: #f9f9f9;
  font-weight: bold;
}





.passenger-selector {
  position: relative;
  max-width: 250px;
}

.passenger-popup {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.passenger-popup .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.passenger-popup button {
  width: 30px;
  height: 30px;
}



/* Search Result Page */

.progress-steps span {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  background: #eee;
  margin-right: 8px;
}

.progress-steps .active {
  background-color: #007bff;
  color: #fff;
}

.alert {
  padding: 15px;
  margin-top: 20px;
  border-radius: 5px;
}

.alert-warning {
  background-color: #fff3cd;
  color: #856404;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
}


/* search page css */


    .ticket-card {
  border: 1px solid #ddd;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 20px;
  margin: 20px auto;
  max-width: 800px;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.ticket-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.ticket-header h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.seats-left {
  background: #d1f7e2;
  color: #0f8f4f;
  padding: 4px 8px;
  font-size: 13px;
  border-radius: 5px;
  margin-top: 5px;
}

.price {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  text-align: right;
}

.price small {
  display: block;
  font-size: 12px;
  color: #007bff;
}

.btn {
  background: #0d47a1;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 5px;
}

.ticket-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #ccc;
  padding-top: 15px;
}

.location {
  text-align: center;
}

.location h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.time {
  font-size: 24px;
  font-weight: bold;
}

.date {
  font-size: 13px;
  color: #666;
}

.duration {
  text-align: center;
}

.duration-time {
  font-size: 13px;
  color: #666;
  margin-bottom: 4px;
}

.dashed-line {
  border-top: 2px dashed #007bff;
  width: 80px;
  margin: 0 auto;
}

.direct {
  font-size: 12px;
  color: #007bff;
  margin-top: 4px;
}

.boat-img img {
  width: 100px;
  height: auto;
  border-radius: 10px;
}

.ticket-footer {
  background: #f0f8ff;
  margin-top: 20px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.shuttle {
  color: #0f8f4f;
}

.details-link {
  color: #007bff;
  cursor: pointer;
}
    


