/* Flight cards on the ticket settings pages (src/views/partials/flightCards.ejs),
   shared by the v3 pages (settings, Simple pay) and the round-trip Pro / Simple v2 pages of the Auto Search flow.
   Moved out of tickets_v3.css so the v2 page does not need the whole v3 sheet.
   .pnr-flight-row in tickets_v3.css reuses .flight-card__row / __arrow. */
.flights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .flight-card {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
  }
  
  .flight-card__bar {
    width: 6px;
    background-color: #3b82f6;
  }

  .flight-card__not-available {
    opacity: 1 !important;
    pointer-events: all;
  }

  .flight-card__bar__disabled {
    background-color: gray !important;
  }
  
  .color-0 { background-color: #3b82f6; }
  .color-1 { background-color: #facc15; }
  
  .flight-card__content {
    padding: 16px;
    flex-grow: 1;
    width: 100%;
  }

  .flight-card.disabled {
    opacity: 0.6;
    pointer-events: none;
  }
  
  .flight-card__not-available {
    background: #FFF3CD;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #5c5c5c;
  }
  
  .back-to-pro-link {
    color: #3B82F6;
    text-decoration: underline dotted;
    pointer-events: auto;
  }
  
  
  .flight-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #D4D4D4;
  }
  
  .flight-card__row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }
  
  .flight-card__arrow {
    padding: 0 12px;
    font-size: 20px;
    line-height: 2;
  }
  
  .delete-flight {
    background: none;
    border: none;
    color: #ef4444;
    font-weight: bold;
    cursor: pointer;
  }

/* direction label on round-trip cards */
.flight-card__leg {
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9299A2;
}

/* the Simple v2 page puts its notice right under the list */
.flights-list + .attention {
    margin-top: 20px;
}

/* pay pages (Pro v3, Simple v3) put the settings heading right under the list */
.flights-list + .form__subtitle {
    margin-top: 16px;
}
