.product-search-dropdown {
    position: relative;
}

.search-input-container {
    position: relative;
}

.selected-product-info {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    font-size: 0.875rem;
    font-weight: 500;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #374151;
}

.dropdown-items {
    max-height: 250px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

.dropdown-item:hover {
    background-color: #f9fafb;
}

.dropdown-item.selected {
    background-color: #dbeafe;
    border-left: 3px solid #3b82f6;
}

.dropdown-item.disabled {
    cursor: not-allowed;
    color: #9ca3af;
    background-color: #f9fafb;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-name {
    font-weight: 500;
    color: #111827;
}

.product-details {
    font-size: 0.875rem;
    color: #6b7280;
}