 .dropdown-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
}

.dropdown-group {
    position: relative;
    min-width: 120px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f3f3f3;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a76ba;
    cursor: pointer;
    transition: background 0.2s;
}

.dropdown-toggle:hover {
    background: #e6e6e6;
}

.dropdown-toggle svg {
    width: 8px;
    height: 5px;
    transition: transform 0.3s;
}

.dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    background: white;
    border-radius: 6px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    margin-top: 0.25rem;
    padding: 0;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu li {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a76ba;
    cursor: pointer;
    list-style: none;
}

.dropdown-menu li:hover {
    background: #f1f1f1;
    color: #1a37ba;
}

.passenger-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
}

.passenger-count p {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a76ba;
    margin: 0;
}

.passenger-count p span {
    font-size: 0.75rem;
    color: #6e7a83;
    display: block;
}

.passenger-count-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.passenger-count-btn {
    width: 24px;
    height: 24px;
    background: #e6f0ff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a76ba;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.passenger-count-btn:hover {
    background: #d1e4ff;
}

.passenger-count-btn:disabled {
    background: #f3f3f3;
    color: #b0b0b0;
    cursor: not-allowed;
}

.flight-search-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.new-flight-search-input {
    height: 48px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: #1f2a44;
    position: relative;
}

.new-flight-search-input img {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
}

.new-flight-search-input span.hidden {
    font-weight: 600;
    color: #1f2a44;
    margin-right: 0.5rem;
}

.new-flight-search-input input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    color: #1f2a44;
}

.new-flight-search-input input[type="date"] {
    color: #1f2a44;
}

.toggle-airport-icon {
    background: url('https://via.placeholder.com/24x24?text=Swap') no-repeat center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    margin-left: 0.5rem;
}

.search-button {
    background: linear-gradient(to right, #1a76ba, #28a745);
    color: white;
    border: none;
    padding: 0 1.5rem;
    height: 48px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.search-button:hover {
    opacity: 0.9;
}

.error {
    color: #dc2626;
    font-size: 0.75rem;
    margin: 0.5rem 0;
    text-align: center;
}

.error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    margin: 0.25rem 0 0 0;
    padding: 0;
}

.autocomplete-suggestions li {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #1f2a44;
    cursor: pointer;
    list-style: none;
}

.autocomplete-suggestions li:hover {
    background: #f1f1f1;
}

.multi-city-segments {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.segment {
    position: relative;
}

.remove-segment-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.remove-segment-btn:hover {
    background: #b91c1c;
}

.add-segment-btn {
    background: #1a76ba;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.add-segment-btn:hover {
    background: #155e9a;
}

@media (min-width: 768px) {
    .flight-search-box h1 {
        font-size: 2rem;
        padding: 2rem 0;
    }

    .input-row {
        flex-direction: row;
        gap: 0.75rem;
    }

    .new-flight-search-input {
        flex: 1;
    }

    .new-flight-search-input span.hidden {
        display: block !important;
    }

    .new-flight-search-input img {
        display: none;
    }

    .search-button {
        flex: 0 0 auto;
        margin-top: 0;
    }

    .multi-city-segments .input-row {
        align-items: center;
    }

    .remove-segment-btn {
        margin-top: 0;
        margin-left: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .flight-search-hero-section {
        min-height: 40vh;
    }

    .flight-search-box {
        max-width: 1000px;
    }
}
       .toast-container {
    z-index: 1050;
    position: fixed;
    top: 1rem;
    right: 1rem;
    max-width: 320px;
    width: 100%;
    pointer-events: none;
}

.toast {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 1rem;
    animation: slideInRight 0.5s ease forwards;
    pointer-events: auto;
}

.toast-header {
    background: #dc2626;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 0.5rem;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast-body {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #333;
}

.toast-body ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.toast-body ul li {
    font-size: 0.875rem;
    color: #dc2626;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
}

.toast-body ul li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
.invalid-field {
    border: 2px solid #dc2626 !important;
}