﻿#airportSelector {
    max-width: 100%;
    border-top: 1px solid #dbdbdb;
    position: relative;
}

.dropdown-container {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 20px;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid #dbdbdb;
    padding-top: 15px;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.dropdown-item {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.select2-container {
    width: 100% !important;
}

.toggle-button {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #dbdbdb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.toggle-button i {
    color: #666;
    transition: transform 0.3s ease;
    transform: rotate(-90deg);
}

#airportSelector:not(.collapsed) .toggle-button i {
    transform: rotate(90deg);
}

.collapsed .toggle-button i {
    transform: rotate(-90deg);
}

.collapsed .dropdown-container {
    display: none;
}

@media (max-width: 768px) {
    .dropdown-container {
        flex-direction: column;
    }
    
    .dropdown-item {
        width: 100%;
        max-width: 100%;
    }
}
