.departure-filter {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: end;
}

.departure-filter select {
  appearance: none;
  padding: 10px 14px;
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239CA3AF'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.departure-filter select:focus,
.departure-filter select:hover {
  border-color: var(--primary);
  outline: none;
}
.departure-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.departure-month {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.departure-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.departure-table thead {
  background: var(--primary);
}
.departure-table th {
  padding: 14px 12px;
  color: #ffffff;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.departure-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #374151;
}
.departure-table tbody tr:last-child td {
  border-bottom: none;
}
.departure-table tbody tr:nth-child(even) {
  background: #f9fafb;
}
.departure-table tbody tr:hover {
  background: color-mix(in srgb, var(--primary) 5%, white);
  transition: background 0.2s ease;
}
.departure-table td:last-child {
  font-weight: 600;
  color: #047857;
}
.departure-table td:last-child::before {
  content: "●";
  margin-right: 6px;
  color: #10b981;
}
@media (max-width: 567px) {
  .departure-filter {
    flex-direction: column;
  }

  .departure-table,
  .departure-table thead,
  .departure-table tbody,
  .departure-table th,
  .departure-table td,
  .departure-table tr {
    display: block;
    width: 100%;
  }

  .departure-table thead {
    display: none;
  }

  .departure-table tr {
    background: #ffffff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .departure-table td {
    border: none;
    padding: 10px 0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    font-size: 14px;
    position: relative;
  }

  .departure-table td::after {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-weight: 500;
    left: 0;
    color: var(--primary);
  }
  .departure-table td:nth-child(1)::after {
    content: "Start Date:";
  }
  .departure-table td:nth-child(2)::after {
    content: "Price:";
  }
  .departure-table td:nth-child(3)::after {
    content: "Seats:";
  }
  .departure-table td:nth-child(4)::after {
    content: "Discount:";
  }
  .departure-table td:nth-child(5)::after {
    content: "Option:";
  }
}