.pnr-list-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  background-color: #f8f9fa;
}

.table-container {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.simple-table {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  
  th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
  }
  
  th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    position: sticky;
    top: 0;
    z-index: 1;
  }
  
  tbody tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
    
    &:hover {
      background-color: #f8f9fa;
    }
    
    &.selected {
      background-color: #e3f2fd;
    }
  }
}

// Styles spécifiques aux cellules
.pnr-code-cell {
  font-family: 'Courier New', monospace;
  color: #0066cc;
  font-weight: 600;
}

.itinerary-cell {
  .route {
    font-weight: 500;
    color: #495057;
  }
  
  .return {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
  }
}

.airline-cell {
  .airline {
    font-weight: 500;
    color: #495057;
  }
  
  .flight-number {
    font-size: 12px;
    color: #6c757d;
    font-family: 'Courier New', monospace;
  }
}

.booking-class {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  
  &.economy {
    background-color: #e3f2fd;
    color: #1976d2;
  }
  
  &.business {
    background-color: #f3e5f5;
    color: #7b1fa2;
  }
  
  &.first {
    background-color: #fff3e0;
    color: #f57c00;
  }
}

.passenger-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  
  mat-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #6c757d;
  }
}

.amount-cell {
  text-align: right;
  font-weight: 500;
  color: #28a745;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 12px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.actions-cell {
  text-align: center;
  width: 120px;
  
  button {
    margin: 0 2px;
  }
}

// État vide
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #6c757d;
  
  mat-icon {
    font-size: 64px;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #dee2e6;
  }
  
  h3 {
    margin: 0 0 10px 0;
    color: #495057;
  }
  
  p {
    margin: 0 0 20px 0;
    font-size: 14px;
  }
}

// Responsive design
@media (max-width: 768px) {
  .pnr-list-container {
    padding: 12px;
  }
  
  .data-table {
    font-size: 14px;
    
    th, td {
      padding: 8px;
    }
  }
  
  .itinerary-cell,
  .airline-cell {
    max-width: 150px;
    
    .return,
    .flight-number {
      display: none;
    }
  }
  
  .actions-cell {
    width: 80px;
    
    button {
      padding: 4px;
      
      mat-icon {
        font-size: 18px;
        width: 18px;
        height: 18px;
      }
    }
  }
}

@media (max-width: 480px) {
  .data-table {
    font-size: 12px;
    
    .airline-cell,
    .booking-class {
      display: none;
    }
    
    .passenger-count {
      display: none;
    }
  }
}


