/**
 * Flight Search Styles - ESCAPADE TOURS
 * Styles pour les résultats de recherche de vols Amadeus
 */

/* Container des résultats */
.flight-results-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
    min-height: 200px;
}

/* Carte de vol */
.flight-card {
    border: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.flight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.flight-card .card-body {
    padding: 1.5rem;
}

/* Logo compagnie aérienne */
.airline-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 5px;
}

/* Ligne de vol */
.flight-path {
    position: relative;
}

.flight-path .flight-line {
    position: relative;
}

.flight-path .flight-line hr {
    border-top: 2px dashed #dee2e6;
    margin: 0.5rem 0;
}

.flight-path .flight-line i {
    color: var(--bs-primary, #0d6efd);
    font-size: 1rem;
}

/* Section prix */
.price-section h3 {
    font-size: 1.5rem;
}

/* Hover shadow utility */
.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Animation de chargement */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.flight-card.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .flight-card .card-body {
        padding: 1rem;
    }
    
    .flight-path {
        margin: 1rem 0;
    }
    
    .price-section {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #dee2e6;
    }
    
    .airline-logo {
        width: 40px;
        height: 40px;
    }
}

/* Badge escales */
.flight-path .text-success {
    font-weight: 600;
}

.flight-path .text-warning {
    font-weight: 500;
}

/* Bouton sélection */
.flight-card .btn-primary {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 8px;
}

/* Alert personnalisée */
.flight-results-container .alert {
    border-radius: 12px;
    border: none;
}

/* Titre section résultats */
.flight-results-container h3 {
    color: #212529;
}

.flight-results-container h3 i {
    font-size: 1.2em;
}
