/* 검색 결과 */
.search-results {
    margin-top: 1rem;
    max-height: 300px;
    margin-bottom: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: none;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 3px;
}

.search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f8f9fa;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    overflow: hidden;
    align-items: center;
    gap: 12px;
}

.search-result-item:hover {
    background-color: #f8f9fa;
    transform: translateX(2px);
}

.search-result-item.selected {
    background-color: #e3f2fd;
    border-left: 3px solid #2196f3;
}

.search-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.search-result-icon.build {
    background-color: #e3f2fd;
    color: #1976d2;
}

.search-result-icon.addr {
    background-color: #e8f5e8;
    color: #388e3c;
}

.search-result-icon.under {
    background-color: #fff3e0;
    color: #f57c00;
}

.search-result-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    color: #1f2937;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-type {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
}

.search-results-header {
    padding: 10px 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
}

.search-results-header .btn {
    padding: 4px;
    line-height: 1;
    font-size: 12px;
    border: none;
    background: transparent;
}

.search-results-header .btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.no-results {
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
}

.search-results-body {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}
