.transport-search-results {
  padding: 40px 0;
}

.progress-bar-container {
  margin-bottom: 40px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  color: #718096;
  font-weight: 600;
}

.step.completed {
  color: #48bb78;
}

.step.active {
  color: #2b6cb0;
  background: #ebf8ff;
  border: 2px solid #2b6cb0;
}

.step-text {
  white-space: nowrap;
}

.transport-results-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
  width: 100%;
}

.transport-item {
  transition: transform 0.3s ease;
}

.transport-item:hover {
  transform: translateY(-5px);
}

.transport-card {
  padding-top: 0px;
  display: grid;
  grid-template-columns: 250px 1fr 200px 180px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  align-items: center;
  position: relative;
}

.transport-hours {
  position: absolute;
  top: 10px;
  right: 20px;
  background: #fff;
  padding: 8px 15px;
  border: 2px solid #00ff00;
  border-radius: 5px;
  z-index: 2;
  font-weight: 600;
  color: #2d3748;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.transport-passengers-selected {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #4a5568;
  font-size: 0.95rem;
  margin: 15px 0;
  padding: 12px 16px;
  background-color: #f7fafc;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.transport-passengers-selected .passenger-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transport-passengers-selected .passenger-count {
  font-weight: 600;
  color: #2b6cb0;
}

.transport-passengers-selected .passenger-type {
  color: #718096;
}

.transport-passengers-selected .separator {
  color: #cbd5e0;
  margin: 0 5px;
}

.transport-card > div {
  padding: 20px;
  background: #fff;
}

.transport-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 15px;
}

.transport-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.transport-info {
  flex: 1;
  min-width: 250px;
}

.transport-price-section {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-left: 1px solid #e2e8f0;
}

.transport-price {
  font-size: 1rem;
  font-weight: 700;
  color: #2c5282;
  text-align: right;
  margin-bottom: 15px;
}

.btn-select {
  width: 100%;
  max-width: 180px;
}

.transport-card .btn-select {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2b6cb0;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 15px;
  cursor: pointer;
}

.transport-card .btn-select:hover {
  background-color: #2c5282;
}

.transport-image img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.transport-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.transport-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.transport-date,
.transport-passengers {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #4a5568;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.transport-date i,
.transport-passengers i {
  color: #2b6cb0;
}

.transport-title a {
  color: #333;
  text-decoration: none;
}

.transport-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.price-note {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  font-weight: normal;
}

.transport-time {
  color: #4a5568;
  font-size: 0.9rem;
}

.transport-time i {
  margin-right: 5px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.features-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #4a5568;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #48bb78;
  font-weight: bold;
}

.transport-capacity {
  font-size: 0.9rem;
}

.transport-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn.btn-primary {
  display: inline-block;
  padding: 8px 20px;
  background-color: #2c5282;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn.btn-primary:hover {
  background-color: #1a365d;
}

.search-summary {
  margin-bottom: 30px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .transport-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .transport-title {
    order: -2;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 10px 15px;
    text-align: center;
  }

  .transport-image {
    order: -1;
    width: 100%;
    height: auto;
    min-height: 200px;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .transport-details {
    padding: 0;
    margin-bottom: 15px;
  }

  .transport-date-passengers {
    padding: 15px 0;
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .transport-price-section {
    border-left: none;
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
    margin: 0;
    width: 100%;
  }

  .transport-hours {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
  }
}
