/* Airport Autocomplete Styles */
.airport-input-wrapper {
    position: relative;
}

.airport-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: none;
    margin-top: 5px;
}

.airport-results.show {
    display: block;
}

.airport-result-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    position: relative;
}

.airport-result-item:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateX(5px);
    border-left: 3px solid #667eea;
    padding-left: 12px;
}

.airport-result-item:active {
    background: #667eea;
    color: white;
}

.airport-result-item:active .airport-code,
.airport-result-item:active .airport-name,
.airport-result-item:active .airport-city {
    color: white;
}

.airport-result-item:last-child {
    border-bottom: none;
}

.airport-code {
    font-weight: bold;
    color: #667eea;
    font-size: 14px;
}

.airport-name {
    color: #333;
    font-size: 13px;
    margin-top: 2px;
}

.airport-city {
    color: #999;
    font-size: 12px;
    margin-top: 2px;
}

.airport-loading {
    padding: 12px 15px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

.airport-no-results {
    padding: 12px 15px;
    text-align: center;
    color: #999;
    font-size: 13px;
}

/* Valid selection indicator */
.airport-input-wrapper input.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Helper text styles */
.airport-input-wrapper small {
    margin-left: 5px;
}

.airport-input-wrapper small .fa-info-circle {
    color: #667eea;
}
