/* Multi-City Flight Form Custom Styles */
.multi-city-segment {
    transition: all 0.3s ease-in-out;
}

.multi-city-segment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.multi-city-segment h6 {
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.multi-city-segment h6 i {
    margin-right: 8px;
    font-size: 18px;
}

/* Add some visual separation between segments */
.multi-city-segment + .multi-city-segment {
    position: relative;
}

.multi-city-segment + .multi-city-segment::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #232767, transparent);
}

/* Enhanced form styling for better visual hierarchy */
.multi-city-segment .form-group label {
    font-weight: 600;
    color: #232767;
    margin-bottom: 8px;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .multi-city-segment {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .multi-city-segment h6 {
        font-size: 16px;
        text-align: center;
    }
    
    /* Stack form fields vertically on mobile */
    .multi-city-segment .row > div {
        margin-bottom: 1rem;
    }
    
    /* Full width button on mobile */
    #add-segment {
        width: 100% !important;
        margin-bottom: 1rem;
    }
    
    /* Better spacing for passenger box on mobile */
    .passenger-box {
        margin-top: 1rem;
    }
    
    /* Adjust remove button for mobile */
    .remove-segment {
        width: 100%;
        margin-top: 1rem;
    }
}

/* Tablet Responsive Improvements */
@media (min-width: 769px) and (max-width: 991px) {
    .multi-city-segment {
        padding: 2rem;
    }
    
    /* Ensure proper spacing on tablets */
    .multi-city-segment .row > div {
        margin-bottom: 1rem;
    }
}

/* Desktop Enhancements */
@media (min-width: 992px) {
    .multi-city-segment:hover {
        transform: translateY(-3px);
    }
    
    /* Better button alignment on desktop */
    .w-lg-auto {
        width: auto !important;
    }
}