/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Estilos para el autocompletado de ubicación */

/* Menú de autocompletado */
.ubicacion-autocomplete-menu {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 9999;
}

.ubicacion-autocomplete-menu .ui-menu-item {
    padding: 0;
}

.ubicacion-autocomplete-menu .ui-menu-item-wrapper {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ubicacion-autocomplete-menu .ui-menu-item-wrapper:hover,
.ubicacion-autocomplete-menu .ui-state-active {
    background-color: #f5f5f5;
}

/* Campo de búsqueda */
.elementor-field-textual {
    position: relative;
}

/* Botón de limpiar */
.clear-ubicacion {
    color: #999;
    font-size: 16px;
    z-index: 10;
    user-select: none;
}

.clear-ubicacion:hover {
    color: #333;
}

/* Wrapper del formulario de búsqueda personalizado */
.ubicacion-search-form .search-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ubicacion-search-form .ubicacion-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.ubicacion-search-form .search-button {
    padding: 10px 20px;
    background-color: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.ubicacion-search-form .search-button:hover {
    background-color: #005a87;
}

/* Responsive */
@media (max-width: 768px) {
    .ubicacion-search-form .search-wrapper {
        flex-direction: column;
    }
    
    .ubicacion-search-form .ubicacion-input,
    .ubicacion-search-form .search-button {
        width: 100%;
    }
}