/* Listeo Custom Search Widget Styles */

/* Loading animation for location button */
.main-search-input-item.location a.loading {
    pointer-events: none;
    opacity: 0.6;
}

.main-search-input-item.location a.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom cursor animation */
.custom-cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Google Places autocomplete container positioning */
#autocomplete-container {
    position: relative;
}

#autocomplete-container .pac-container {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Custom date picker styling */
.search-input-icon {
    position: relative;
}

.search-input-icon i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .main-search-input {
        flex-direction: column;
    }
    
    .main-search-input-item {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

