.search-section {
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 1250px;
}

.search-wrapper {
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.input-group {
    flex: 1;
    min-width: 200px;
}

.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #fff;
    border-radius: 4px;
    background-color: white;
    font-size: 16px;
    color: #555;
    cursor: pointer;
}

.submit-group {
    flex: 0.5;
    min-width: 200px;
}

.btn-buscar {
    width: 100%;
    padding: 10px;
    height: 50px;
    background-color: #e68a35; /* Naranja del botón */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-buscar:hover {
    background-color: #cf762a;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .search-wrapper {
        flex-direction: column;
    }
    .input-group, .submit-group {
        width: 100%;
    }
}

/* Ajustar la altura y el diseño de Select2 para que combine con el botón */
.select2-container--default .select2-selection--single {
    height: 46px; /* Altura similar a tu botón */
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    color: #555;
    padding-left: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

/* Estilo para el buscador dentro del desplegable */
.select2-search__field {
    padding: 8px !important;
}

@media (min-width: 992px) {
    /* Seleccionamos el div que contiene al select de destino */
    .search-wrapper .input-group:has(#destino,#origen) {
        border-right: 1px solid #e6e6e6;
        padding-right: 10px;
    }
}

.select2-container--default .select2-selection--single {
    border: 1px solid #fff !important;
}

.select2-selection__placeholder {
    color: #000 !important;
}