/**
 * Street Lookup - Minimal CSS
 * Designed to not interfere with Elementor styles
 * Only essential dropdown styles
 */

/* Container - minimal positioning only */
.street-lookup-container {
    position: relative;
}

/* Dropdown - only essential styles */
#street-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 2px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    box-sizing: border-box;
}

/* Dropdown items */
.street-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    font-size: inherit;
    color: inherit;
    background: #ffffff;
    transition: background-color 0.15s ease;
}

.street-item:last-child {
    border-bottom: none;
}

/* Hover and active states */
.street-item:hover,
.street-item.street-active {
    background-color: #f8f9fa;
}

/* Empty state */
.street-item.street-empty {
    color: #999999;
    cursor: default;
    text-align: center;
}

.street-item.street-empty:hover {
    background-color: #ffffff;
}

/* Hint text - minimal */
.street-lookup-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #666666;
    font-style: italic;
}

/* Mobile optimization */
@media (max-width: 768px) {
    #street-dropdown {
        max-height: 220px;
    }
    
    .street-item {
        padding: 12px 14px;
        font-size: 16px; /* Prevents iOS zoom */
    }
}

/* Scrollbar styling (optional, minimal) */
#street-dropdown::-webkit-scrollbar {
    width: 6px;
}

#street-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#street-dropdown::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#street-dropdown::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
